Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-23 | if both stdout and stderr are redirected to a non-tty, pledge(2) will kill | Ricardo Mestre | |
ncurses applications, e.g.: /usr/games/worms 2>&1 | cat solve this by only calling pledge(2) after initscr(3) is set and done, or whatever function that calls it. since pledge(2) is called later now the promises might be reduced, but this a diff for another day. found by naddy@ almost a year ago, discussed with him deraadt@ and tb@ ok tb@ | |||
2018-08-06 | Drop "rpath" from pledge(2) after ncurses initialization. | Ricardo Mestre | |
Discussed with and OK tb@ OK cheloha@ on previous version | |||
2016-03-05 | KNF: wrap three overly long lines. No binary change. | tb | |
2016-03-04 | - Convert atoi(3) to strtonum(3) | mestre | |
- Replace hardcoded program string by getprogname(3) - Remove '?' from getopt(3)'s switch default case (but still keep 'h') OK tb@ after his suggestions | |||
2016-02-27 | Untangle a mess of nested ternary operators. | tb | |
ok mestre@ | |||
2016-01-07 | Some basic code maintenance in games/ | tb | |
- in main() replace exit with return - drop some /* NOTREACHED */ lint comments along the way. - make more use of standard CFLAGS, esp. -Wimplicit-function-declaration - add and sort some headers when needed - add straightforward pledges to some programs used at compile time discussed with and ok mestre@ | |||
2016-01-04 | More cleanup and sorting on header section | mestre | |
OK tb@ and he also pointed out that for consistency with rest of the tree we should include termios.h instead of sys/ttydefaults.h, where applicable | |||
2015-11-21 | pledge the wyrms | Theo de Raadt | |
2015-02-18 | don't cast function arguments; use reallocarray in one place | Ted Unangst | |
2013-08-29 | replace srandomdev()+random() with the arc4random*() family | Christian Weisgerber | |
tweaks and ok millert@, ok deraadt@ | |||
2012-05-27 | make both -d options format the same, and zap that annoying full stop | Jason McIntyre | |
2012-05-27 | Use an en-dash for 20-200, escape - used as arithmetic symbol. | Stuart Henderson | |
Same as jmc's tweaks for rain(6). | |||
2011-04-25 | Fix "-d delay" option and convert to use strtonum() | Todd C. Miller | |
OK martynas@ a while ago. | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2004-11-29 | ansi. ok deraadt@ | Jonathan Gray | |
2004-01-12 | sort options; add args to options description; | Jason McIntyre | |
2004-01-08 | Adjust delay based on terminal speed; ok tedu@ | Todd C. Miller | |
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-12-06 | Replace things like srandom(time(NULL)) with srandomdev(3). random(3) | Todd C. Miller | |
good enough for games but we should at least use a decent seed. pjanzen@ OK | |||
2002-05-31 | de-register | Paul Janzen | |
2002-05-31 | No dm -> no need to revoke setegid. | Paul Janzen | |
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-08-18 | Formatting | Paul Janzen | |
2000-01-25 | use only non-deprecated curses (i.e., no termcap) and tidy a little; mostly | Paul Janzen | |
from jsm@netbsd.org | |||
1999-10-29 | srandom() for variety. | Paul Janzen | |
1999-07-07 | The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os. | Aaron Campbell | |
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one. | |||
1999-03-21 | -lcurses, not termcap/termlib | Paul Janzen | |
1999-03-20 | Add some .El 's at the end of lists. From NetBSD | Paul Janzen | |
1998-12-15 | Always provide an argument to .Nm in SYNOPSIS section | Paul Janzen | |
1998-11-29 | Don't capitalize game names at the beginning of sentences. | Paul Janzen | |
1998-08-19 | tags, formatting, ANSI-fication, prototypes, de-typos, and the occasional | Paul Janzen | |
initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD. | |||
1998-03-12 | OpenBSD ID (changed from NetBSD) | Paul Janzen | |
1998-02-26 | cleanup efforts care of pjanzen@foatdi.harvard.edu | Theo de Raadt | |
1998-02-22 | repairs from pjanzen@foatdi.harvard.edu | Theo de Raadt | |
1998-02-14 | further fixes from pjanzen@foatdi.harvard.edu | Theo de Raadt | |
1997-09-21 | $OpenBSD$ | Theo de Raadt | |
1997-07-23 | tabify | kstailey | |
1997-01-15 | getopt(3) returns -1 when out of args, not EOF, whee! | Todd C. Miller | |
1996-12-22 | proper gid revoke | Theo de Raadt | |
1996-12-19 | setgid games, not setuid games. closes a neat set of holes | Theo de Raadt | |
1996-06-02 | Always use -ltermlib when linking with -lcurses | Thorsten Lockert | |
Depend on LIBTERMCAP and LIBTERMLIB as appropriate | |||
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |