summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2000-08-20correct Bloom County quotePaul Janzen
2000-08-05Remove a little redundant and slightly wrong codePaul Janzen
2000-08-05typo; cheddar@yakko.cs.wmich.eduTheo de Raadt
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-07-24Rename move() to moveplayer() to avoid clashing with curses;Paul Janzen
from mycroft@netbsd.org
2000-07-24printf() and %s pedantry, from itojun channelling kris@freebsdPaul Janzen
2000-07-23Handle EOF on stdin.Paul Janzen
2000-07-23curses.c is all ifdef'ed out, so there's no reason to compile it.Paul Janzen
2000-07-23oopsPaul Janzen
2000-07-23Die more cleanly if stdin can't be read from.Paul Janzen
2000-07-23Code cleanups (some from NetBSD), typo fix.Paul Janzen
Don't barf if stdin hits EOF. Install cfscores in /var/games if one isn't already there.
2000-07-23Avoid calling functions that can call the exit-on-error handler from thePaul Janzen
handler; use STD*_FILENO rather than 0-2.
2000-07-05nanosleep() no longer returns earlyPaul Janzen
2000-07-03Remove duplicate and correct original: Anton Berezin <tobez@tobez.org>Paul Janzen
and Martin J. Laubach <mjl@netbsd.org>
2000-07-03A little more select() reinitialization.Paul Janzen
2000-07-03Finding bugs in battlestar is like shooting fish in a barrel.Paul Janzen
Don't overflow beenthere[]. Add "verbose" option. Fix spelling (including embedded hyphens in descriptions) and grammar. "Kill" will now use the laser if you have no cutting implements. Formatting. You can do more things to the bathing goddess. A little less guess-the-word. Occasionally better error messages, particularly with "all" when nothing applies. "kick door" no longer segfaults. Nor does "kill door". More bugs remain...
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