summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change deprecated curses function to new equivalent.blymn2001-12-063-9/+9
|
* Replace some misuses of "then" with "than".wiz2001-12-042-2/+2
|
* Replace deprecated curses call with supported equivalent.blymn2001-12-041-3/+3
|
* Convert old deprecated curses call to new equivalent.blymn2001-12-041-3/+3
|
* Presence looks better with a 'c' instead of an 's'.wiz2001-11-211-1/+1
|
* remove a spurious .include <bsd.own.mk>perry2001-11-191-3/+1
|
* Update to the new t_agetstr() API.christos2001-11-023-37/+29
|
* Undo indentation glitch in previous.wiz2001-10-281-4/+4
|
* improve random number seedingproff2001-10-281-5/+12
|
* Add one.mjl2001-10-221-0/+6
|
* Fortune is not moribund.proff2001-10-202-4/+1862
| | | | | | | | | | | | | | | | | | | | | | Add Farberisms from Prof. Dave Farber. From: David Farber <dave@farber.net> To: proff@iq.org (Julian Assange) Date: Sat, 20 Oct 2001 03:29:08 -0400 Subject: Re: farberisms Fine with me At 02:27 PM 10/20/2001 +1000, you wrote: >Hi Dave, > >I've just come accross your list of `Farberisms', which had me in >stiches. As these are deliciously `fortune'esqe, I'd like to add >them to the NetBSD distribution. Do you have any objections? > >Cheers, >Julian.
* Rename com#.c to command#.c to avoid conflicts with those file basenamestv2001-10-198-16/+17
| | | on certain Microsoft host OS's.
* va_{start,end} audit:wiz2001-09-242-6/+7
| | | | | | | | | | | | | Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD.
* if we're going to quote the movie, let's at least get it *right*lukem2001-09-191-3/+6
|
* Give initiali[sz]e all the "i"s it deserves.wiz2001-09-182-6/+6
|
* Spell 'occurred' with two 'r's.wiz2001-09-162-4/+4
|
* More quote cleanup. Remove a fortune that also is in -o.mjl2001-09-012-107/+125
| | | Add a couple of fortunes I had lying around.
* Some more quotes removed. Corrected errors noticed by Andrew Brownmjl2001-09-011-110/+108
| | | <atatat@atatdot.net>.
* Fix typos and spelos. Add and correct some attributions. Add amjl2001-09-011-1072/+997
| | | | | couple of fortunes. Canonize quotes. Remove duplicate fortunes. Correct author names. Mostly from FreeBSD and OpenBSD.
* Always lseek back to the beginning of the file in post(), which may bejsm2001-08-311-3/+5
| | | | called twice in a game if a bonus occurs. Patch from Malcolm Parsons <malcolm@ivywell.screaming.net>.
* Ensure that the random hop delta does make the cave connected. Basedjsm2001-08-311-4/+23
| | | on bug report and patch from <afghan@afghanhound.org.uk>.
* Keep track of visible worm length. If nowhere is available for thejsm2001-08-311-2/+13
| | | | new prize, have the player win rather than hanging. Bug reported by Malcolm Parsons <malcolm@ivywell.screaming.net>.
* Match quotes.simonb2001-08-311-1/+1
|
* Remove duplicate fortunes.mjl2001-08-311-7/+0
|
* Check for screen sizes that are too small. Fix off-by-one error injsm2001-08-301-4/+13
| | | | trying to place the prize. Position the score appropriately for screens that may not be 80 columns wide.
* Remove documented bug with long worm lengths, and improve handling ofjsm2001-08-292-15/+18
| | | non-standard screen sizes. From OpenBSD.
* Include <time.h> for declarations the Single Unix Specification saysjsm2001-08-293-5/+8
| | | are there but not in <sys/time.h>.
* Ensure trailing newline is present on error and warning messages (lostjsm2001-08-292-6/+6
| | | in previous conversion from <err.h> functions to ISO C ones).
* "wierd" is weird.wiz2001-08-201-1/+1
|
* Change -a to mean all files, as opposed to just a few more files.atatat2001-08-151-43/+71
| | | | | | | | | | | | | | | | Modify the regex handling so that we can match fortunes in rot13'ed databases (rot13 the pattern and maintain a second compiled pattern) and rot13 the rot13'ed fortune before output. Move the rot13 code to a function since it's now used in three places instead of just one. Initialize posfile in one place since it appears to get used without being initialized when using debugging. Make a *slight* improvement to the random seeding by squaring the pid and then xor'ing against the current time, since just xor'ing the time with the pid will not change if they both advance by one from "odd" to "even".
* Fix pasto. From FreeBSD.wiz2001-08-091-2/+2
|
* Fix for FreeBSD/13278, from FreeBSD:wiz2001-08-091-3/+3
| | | | | | | When a game ends that makes the top 10, the function insert_score in score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file.
* seperate -> separatewiz2001-07-225-13/+13
|
* Formatting improvements (from OpenBSD)wiz2001-07-111-4/+7
|
* Typo fixes. From OpenBSD.wiz2001-07-102-4/+4
|
* s/Upon you knees if you appear/Upon your knees if you appear/mason2001-06-242-2/+2
| | | Confirmed against <http://www.alcyone.com/max/lit/devils/>.
* `existent', not `existant'wiz2001-06-192-6/+6
|
* receive, not recievewiz2001-06-124-9/+9
|
* fix building of phantasia ($FILES dependency on $PROG broke things)lukem2001-06-061-2/+2
|
* fix building of cards.pcklukem2001-06-061-2/+2
|
* Remove unnecessary quotes in Dt.wiz2001-06-051-2/+2
|
* No argument for .Os.wiz2001-06-051-2/+2
|
* Overhaul error handling and reporting for regular expressions.christos2001-06-041-15/+22
| | | | | Provide a RE_OK() macro that tests if the current compiled pattern works and a RE_ERROR() macro that prints what went wrong as well as the particular RE implementation can handle.
* Bail out when regex pattern is invalid if using regcomp or regcmp.aymeric2001-06-041-7/+7
| | | | | Remove trailing \n's also. Addresses PR#13109
* don't deref -1.christos2001-06-021-3/+3
|
* Its is Dr. Elizabeth Dehner, not Dehaver.abs2001-05-021-1/+1
| | | From the vast and bewildering trek trivia of norm@sandbox.org.uk
* Spell occurred correctly.simonb2001-04-251-3/+3
|
* NetBSD: You choose the hardware, we'll bring the OS.pooka2001-04-211-33/+35
| | | | | | from David Brownlee on netbsd-advocacy While I'm in here, sort the file using tools/do_sort to get the recently added fortunes into order.
* Some entries from Richard Rauch, posted on netbsd-advocacy.hubertf2001-04-211-0/+8
|
* Negative exit code cleanup: Replace exit(-x) with exit(x).wiz2001-04-062-6/+6
| | | As seen on tech-userlevel.