summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* \@ is not a valid escape sequence.joerg2009-04-091-2/+2
|
* Avoid hardcoded "too large" constant that caused FPE on the vax.christos2009-03-315-13/+19
| | | XXX: Should pullup to 5.0
* Simplify previous; suggested by Paul Goyettedholland2009-03-151-4/+4
|
* Fix sign-compare problem that crept in due to working from an old tree.dholland2009-03-151-3/+4
| | | Whoops. won't happen again...
* grammar fixjnemeth2009-03-151-1/+1
|
* Rework curses handling.dholland2009-03-1512-133/+688
| | | | | | | | | The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once. Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
* Move newturn() from pl_7 to pl_2.dholland2009-03-153-64/+89
| | | | pl_7 was mostly curses/display stuff, is going to be all display stuff. pl_2 is where the main loop lives.
* Move all curses bits to pl_7.c.dholland2009-03-153-43/+64
|
* Fix usage messagedholland2009-03-141-3/+3
|
* chdir to /var/games/sail while running, to simplify name handling.dholland2009-03-143-19/+54
|
* Don't crosswire the two kinds of path names, and don't croak ondholland2009-03-141-4/+4
| | | scenario numbers > 99.
* Turns out the W_FILE message wasn't ever used.dholland2009-03-142-19/+4
|
* Create some abstraction for sending messages.dholland2009-03-1416-341/+843
| | | | | Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
* Don't use perror()dholland2009-03-143-12/+10
|
* constify the version stringdholland2009-03-142-5/+5
|
* Sprinkle some "bool". And don't use '\0' to mean 'false'.dholland2009-03-145-20/+22
|
* Use \a instead of \7 for BEL.dholland2009-03-142-7/+7
|
* Prune a comment referring to objects that (AFAICT) didn't even exist in -r1.1.dholland2009-03-141-6/+2
|
* Don't cast the return value of calloc().dholland2009-03-142-6/+6
|
* Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.dholland2009-03-1418-192/+253
| | | No functional change.
* Remove some unnecessary casts.dholland2009-03-144-17/+17
|
* String buffer cleanup. sprintf bad.dholland2009-03-147-48/+53
|
* Don't use char for random state variables; use int or bool.dholland2009-03-141-6/+7
|
* Fix list markup. Use .Ic for key as suggested by wiz.joerg2009-03-111-15/+16
|
* Fix preamblejoerg2009-03-111-1/+2
|
* Remove redundant .brjoerg2009-03-111-2/+1
|
* Fix markupjoerg2009-03-111-2/+2
|
* Fix preamblejoerg2009-03-111-1/+2
|
* Fix markupjoerg2009-03-112-5/+6
|
* sprintf -> snprintfdholland2009-03-091-5/+8
|
* Move HISTORY to proper place.dholland2009-03-021-57/+58
|
* Edit. Sync with reality, at least partway. Bump date.dholland2009-03-021-129/+173
|
* Sort options. End sentence with a dot.wiz2009-03-021-8/+7
|
* mdocify. Partly merged from OpenBSD. Not by any means perfect yet.dholland2009-03-021-410/+527
|
* More fixes from OpenBSD: use err instead of perror, don't hork on EOFdholland2009-03-021-11/+15
| | | during the initial setup questions.
* Check for failure of fgets when reading the captain's name, and don'tdholland2009-03-021-4/+5
| | | allow it to be empty. From OpenBSD.
* Use errx() to send fatal error messages. From OpenBSD.dholland2009-03-021-4/+4
|
* Use errx/warnx instead of printing to stderr. From OpenBSD.dholland2009-03-021-5/+5
|
* Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD.dholland2009-03-021-6/+5
|
* Braces around a nested if, for clarity; suggested by diffing against OpenBSD.dholland2009-03-021-4/+4
|
* Fix bogus conditional caught by today's make. It looks as if MKHIDEGAMEdholland2009-01-181-2/+2
| | | | | | | has never worked since it was introduced in 2002... clearly a lot of people care about that. It should work now, but because it's evidently never been tested it may also require setlist adjustments.
* use %zu to print size_ttnn2009-01-181-3/+3
|
* fix -Wsign-compare issueslukem2009-01-183-9/+9
|
* Fix fiance/fiancee confusion. Fix another typo.wiz2008-12-021-3/+3
| | | Jason McIntyre <jmc@kerhand.co.uk>.
* Fix insure -> ensure confusion. From Jason McIntyre <jmc@kerhand.co.uk>.wiz2008-12-021-6/+6
|
* PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpcchristos2008-11-141-3/+6
| | | | On systems where char is unsigned the number of black holes can end up being very large (instead of negative).
* more MKSHARE == no fixes:mrg2008-10-301-1/+5
| | | | | | | - move installation of atf pkg-config files out of share/atf/ - don't install spell or ching share files - update some directory entries to not have 'share' tag now my MKLINT=no MKSHARE=no MKPROFILE=no builds work again.
* Use uint32_t and include <stdint.h>, instead of using u_int32_tapb2008-10-191-7/+7
| | | and including <sys/types.h>.
* Make this build on Mac OS X.agc2008-09-291-2/+3
|
* Install unstr:apb2008-09-263-4/+6
| | | | | | * in games/fortune/Makefile, add unstr to SUBDIR; * in games/fortune/unstr/Makefile, include ../../Makefile.inc; * in games/fortune/strfile/Makefile, add MLINKS for unstr man page; * in distrib/sets/lists/games/mi, add new files.