summaryrefslogtreecommitdiff
path: root/games/bcd/bcd.c
AgeCommit message (Collapse)Author
2018-01-23Fix table wrt missing element and `, detailed analysis and diff fromOtto Moerbeek
David Fifield; ok tb@
2016-03-07- General changes:mestre
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable - Replace hardcoded program strings by getprogname(3) - Specific changes: - atc(6): this used -? and -u for usage(), remove both from game and manpage - bcd(6): use __progname instead of getprogname(3), no need to include stdlib.h - hunt(6): replace fputs(3) by fprintf(3) OK tb@ after his suggestions
2016-01-08Straightforward headers cleanupmestre
2016-01-07Some 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@
2015-10-23include err.h for err() calls added with recent pledge commits.Jonathan Gray
2015-10-14Pledge "stdio" for simple games.Doug Hogan
ok semarie@
2014-11-07Split bcd(6), morse(6), and ppt(6) into three separate manualsIngo Schwarze
since most of the text is different. Improve the SYNOPSIS according to suggestions by jmc@, tweaked by me. Delete a few redundant words, applying a patch from jmc@. Intentionally not doing any other text changes in this commit; for further tweaking in the tree. jmc@, tedu@, and millert@ agree with the general direction, and deraadt@ suspects we are "all grey beard fanatics" (in all caps).
2014-11-06fixup argv handling after getopt conversion. oops.Ted Unangst
2014-11-06-l option to create "modern" 80 column cardsTed Unangst
2014-11-06basic decode functionalityTed Unangst
2014-11-04make the long line code work with argv tooTed Unangst
2014-11-04fix another signed char bug. while here, toupper() is now safe to callTed Unangst
on any char value.
2014-11-04allow printing longer lines than fit on a card by spilling onto more cards.Ted Unangst
don't negatively index into the table for signed chars. ok pjanzen
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo 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-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2004-07-09ansi; khalek@linuxgamers.netTheo de Raadt
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-05-31No dm -> no need to revoke setegid.Paul Janzen
2002-02-16Part 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.
1999-09-25Tidying and minor changes from or based on jsm28@cam.ac.uk's work for thePaul Janzen
Linux bsd-games package and NetBSD. Mainly using 'const'.
1998-08-19tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalPaul Janzen
initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
1997-01-17r?index -> strr?chrTodd C. Miller
1996-12-22proper gid revokeTheo de Raadt
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt