summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2000-06-30re-initialize timeout before each invocation of select()Paul Janzen
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-29Prune some obsolete defines, in particular VT100. Eventually curses willPaul Janzen
replace termios. Use system-defined limits for path lengths and usernames. Use strlcpy() for convenience and to avoid a possible buffer overflow or two. Various small tweaks.
2000-06-29use SEEK_SET; improve an error message.Paul Janzen
2000-06-29use errx(), tabify, and add -o option for original, old dodecahedron play.Paul Janzen
(Last feature requested vehemently by Darren Leigh.)
2000-04-25Missing MLINKSMarc Espie
2000-04-21documentation: refer to terminfo, not termcap, where appropriate.Paul Janzen
2000-04-11tidying, accuracy, and duplicate removalPaul Janzen
2000-04-11the the; some occurrences found by soren@NetBSD.orgPaul Janzen
2000-04-08Handle EOF more cleanlyPaul Janzen
2000-04-08Fix the card shuffle/draw algorithm. Patch only slightlyPaul Janzen
modified from that given by John Darrow in NetBSD PR 9651.
2000-04-07Missed a couple corrections from NetBSD last timePaul Janzen
2000-04-07Remove unused ifdef missed previouslyPaul Janzen
2000-04-07Typos and punctuation; most from FreeBSD, one from NetBSD, and a couplePaul Janzen
bonus ones discovered while editing the file.
2000-04-07Alternate (valid) element names from Dan KoranyiPaul Janzen
2000-04-07typoPaul Janzen
2000-04-07Fix operator precedence errors: NetBSD PR 9698.Paul Janzen
2000-02-10stdcDavid Leonard
2000-01-25support arrow keys (cgd@netbsd.org); use select() rather than alarm() forPaul Janzen
timing
2000-01-25use only non-deprecated curses (i.e., no termcap) and tidy a little; mostlyPaul Janzen
from jsm@netbsd.org
2000-01-24parse command line more carefully; watch out for nanosleep() ending aPaul Janzen
little too early; and do some general tidying
2000-01-21Hide cursor if possiblePaul Janzen
2000-01-21Improve score table formatting (partially from malcolm@bits.bris.ac.ukPaul Janzen
via jsm@netbsd.org); remove a terminating \n from a warnx() (jsm@netbsd) and tidy a bit; check score file for corruption to avoid segfault.
2000-01-21Remove unused function; jsm@netbsd.orgPaul Janzen
2000-01-20track seconds more accurately. ok pjanzen@David Leonard
2000-01-03extern rather than linker commons; jsm@netbsd.orgPaul Janzen
2000-01-03.Sh "SEE ALSO" -> .Sh SEE ALSOPaul Janzen
1999-12-18Enable realtime mode, use native curses functions when available, tidy manPaul Janzen
page, and use MAXLOGNAME for scorefile (this makes new scorefiles incompatible with old ones). Realtime idea and some code from d@.
1999-12-18tidy; don't list the game itself in FILESPaul Janzen
1999-12-18Add to FILES; jsm@netbsd.orgPaul Janzen
1999-12-17Berkeley's area code changed a long time ago.Paul Janzen
1999-12-17Spelling and some duplicate removal. I wonder if the "jive" port haters onPaul Janzen
misc@ know this is here.
1999-12-17Fix capital of Monaco; capo@writeme.com vi jsm@netbsd.orgPaul Janzen
1999-12-12sync with answer.c. reviewed by pjanzen@David Leonard
1999-12-12document -D. remove stuff about editing etc/services. accurately describe ↵David Leonard
broadcast behaviour. Va variables. add FILES section. reviewed by pjanzen@
1999-12-12User netdb to get well known port.David Leonard
Remove unused 3rd arg to main(). Revoke any setgid privs (unnecessary?) Add -D for command-line configuration options. Properly handle new, spawning connections. Fix that evil repeated-quit problem in two places. Fix a bug where a server would quit only if it were questioned for stats. Allow port sharing. Clean up havechar(). Don't allow write() to block. reviewed by pjanzen@
1999-12-12better error msg. hook to parse command line options. reviewed by pjanzen@David Leonard
1999-12-12Use socklen_tDavid Leonard
Cope with fragmented reads in the initial cilent connect a lot better/simpler. Check the team name. Caller must free allocated 'spawn' structures. reviewed by pjanzen@
1999-12-12Catch some bad draw characters (like NUL).David Leonard
Use display_beep() instead of write(,"\7",) Report read errors from stdin. reviewed by pjanzen@
1999-12-12Use netdb to find the hunt service port.David Leonard
Use the new probe_drivers(). Better warning messages about the -t option. Correct error message for monitors that find nothing. In the screen where the user has to choose the huntd host, show new hosts as they come in. Check statistics information for 'bad' characters. Allow space to be a team name (same as no team) reviewed by pjanzen@
1999-12-12fix variable name, refer to huntd configs. reviewed by pjanzen@David Leonard
1999-12-12clear an array before filling. reviewed by pjanzen@David Leonard
1999-12-12isplit complicated probe_drivers() out to own file. reviewed by pjanzen@David Leonard
1999-12-12describe the hunt client-server protocol. reviewed by pjanzen@David Leonard
1999-11-29Kill BOOLEAN, just use the curses/c++ bool type instead.Todd C. Miller
1999-11-29Make this actually compile; doesn't anyone do a test build after makingJason Downs
changes anymore?
1999-11-25Allow arguments to games and be more selective when checking for valid games.Paul Janzen
Idea from recent NetBSD change by abs@netbsd.
1999-11-25Fix an obscure bug involving misidentified coup fourres.Paul Janzen
1999-11-25More spellingPaul Janzen
1999-11-25Spelling (confirmed with Webster and OED).Paul Janzen