Commit Graph

322 Commits

Author SHA1 Message Date
jnemeth
df4822d1f0 Correct The Hitchhiker's Guide to the Galaxy entry about dolphins as per
page 119 of the book.
2006-02-20 03:00:27 +00:00
mjl
7c7f1fe0ab Typos, duplicate words, consistent formatting. 2005-10-29 22:49:36 +00:00
mjl
4866f93355 Remove trailing spaces, double spaces between words, fix some typos. 2005-10-29 22:35:41 +00:00
mjl
6b25b3147c Correct typos. 2005-10-29 17:04:10 +00:00
cjs
24b202fa43 Comment from Al. 2005-07-23 08:01:38 +00:00
kleink
e039a7f675 Otto Von Bismarck -> Otto von Bismarck. 2005-05-10 18:41:53 +00:00
bad
b09ec2a25b It is Bismarck not Bismark. 2005-05-10 17:47:33 +00:00
rillig
4f6457e756 Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.
2005-04-19 20:14:29 +00:00
atatat
460d82b8cc A few minor spelling, grammar, and formatting fixes. 2005-04-09 02:00:27 +00:00
jsm
a4dab13a3b Correct typos in German fortune. Reported by Charles Senger, csenger at UCSD.
Reviewed by <hubertf>.
2005-01-30 13:49:28 +00:00
dsl
49f7d8a9b1 Add (unsigned char) cast to ctype functions 2004-11-05 21:30:31 +00:00
wiz
f4d1c39625 Indent header description (from jmc@openbsd).
Sort sections and remove a trailing space.
2004-09-09 22:03:21 +00:00
wiz
8dab296315 Some improvements from jmc@openbsd:
sort option descriptions, add argument to -m, mention strfile
and add some xrefs.
2004-09-09 22:01:08 +00:00
mjl
d2da97557b Fix typo 2004-08-20 11:23:47 +00:00
mjl
3cb55d86f4 Had fun with a spell checker.
Also, try to canonize attributions.
2004-05-22 14:33:50 +00:00
simonb
9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
snj
e2462f3ddb It's "its". 2004-03-29 07:59:39 +00:00
snj
a7b3f75db2 Spell "political" correctly and capitalize a last name. 2004-03-29 02:00:41 +00:00
wiz
dc4cc98b15 becuase -> because. From Peter Postma. 2004-02-24 15:05:53 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
jsm
10b61a7cca Mark unused parameters, nonreturning functions and format functions in
the few cases not already marked.
2004-02-08 22:23:50 +00:00
jsm
cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
jsm
b974cbaba0 Include <sys/endian.h> instead of <machine/endian.h>. Include
<stdlib.h>.
2004-01-27 20:25:07 +00:00
jsm
a3b9fbcc3a Include <sys/endian.h>. 2004-01-27 20:24:32 +00:00
mjl
70bd83f0c5 Typo fixes. 2004-01-01 20:00:38 +00:00
jsm
23e0e03d00 Return proper fortune length from fortlen for fortune files without
STR_RANDOM or STR_ORDERED rather than comparing it to SLEN.  Bug
reported by Simon Williams <simon@no-dns-yet.org.uk>.
2004-01-01 16:02:07 +00:00
jsm
cdce4b2c55 Show residual probability rather than non-residual in "No place to put
residual probability" error message.  Distribute residual probability
correctly rather than all to one file.  Patch from Mike Castle
<dalgoda@ix.netcom.com>.
2004-01-01 16:01:25 +00:00
jmc
4d9cb8213a Hobbes was misspelled. PR#23301 2003-10-29 04:53:39 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem
ddff99b7f4 rework to use the newer _MKMSGCREATE (et al) macros 2003-10-19 04:45:01 +00:00
lukem
2b8c8463a6 Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages) 2003-10-19 01:01:44 +00:00
jdolecek
330f3d1e19 sort recently added entries
pointed out by Valeriy E. Ushakov on source-changes
2003-09-20 18:57:28 +00:00
jdolecek
1f4caa5ecd add mine:
``NetBSD - no propaganda in the default system, in more than 10 years!''
2003-09-20 09:21:25 +00:00
salo
f7f6feea75 Add missing ". From Tim Goodwin via PR misc/22843. 2003-09-18 11:25:00 +00:00
uwe
6d126df0a6 M-x sort-paragraphs 2003-09-14 21:36:51 +00:00
uwe
e1775b35e0 "NetBSD - We sell rope." 2003-09-14 21:34:51 +00:00
agc
e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
mjl
e1da921bcf Remove double spaces between words 2003-05-08 18:12:24 +00:00
mjl
ffc1b6dbc9 uniq. 2003-05-08 17:51:12 +00:00
mjl
46e0a4e1f1 Move limericks to limerick file. Sort that and uniq. 2003-05-08 17:25:48 +00:00
mjl
386e6f0451 Move limericks to limerick file. Sort that and uniq. 2003-05-08 17:01:04 +00:00
mjl
7acf0f4592 Sort and remove duplicates. 2003-05-08 16:37:45 +00:00
mjl
844a2d0e52 Pull in corrections from Free/OpenBSD.
Also move limericks to limerick file.
2003-05-08 16:20:25 +00:00
mjl
d6bcb9629a Pull in corrections from Free/OpenBSD. 2003-05-08 14:53:08 +00:00
mjl
8c2a9c1fcb Merge in corrections/additions from Free/OpenBSD. 2003-05-08 14:27:10 +00:00
mjl
cf844e8134 Merge in corrections from Free/OpenBSD. 2003-05-08 14:14:32 +00:00
mjl
b7a00e9b8a Typo fix. From FreeBSD PR/51909. 2003-05-07 19:00:13 +00:00
jdolecek
50162d1023 add a fortune contributed by Petter "Nosfisk" Lindquist in PR misc/21070
a nice one - thanks!
2003-04-08 19:41:08 +00:00
briggs
50f21b17a9 Some might call them the Wright Bothers, but I prefer Wright Brothers. 2003-03-20 13:46:40 +00:00
mjl
9e1556de76 My god, it's full of typos (still is). 2003-01-18 11:44:11 +00:00
wiz
a3213b9aee bandwidth, not bandwith. 2003-01-17 23:58:55 +00:00
christos
9b564aed06 Fix bogon in compat re code. 2002-11-24 18:03:14 +00:00
hubertf
c2a9a1e356 NetBSD - love all, serve all.
-- Silke Mueller
2002-11-21 15:06:14 +00:00
drochner
d8d514fbfc fix duplicate limerick-o in CLEANFILES 2002-10-22 16:14:04 +00:00
wiz
c91d8d6b9b Lots of minor fixes resulting from reading these man pages in detail. 2002-09-26 18:31:58 +00:00
wiz
875690e96c Ispell. 2002-09-26 16:29:25 +00:00
lukem
bcf4617b61 some makefile de-linting 2002-09-18 06:16:39 +00:00
grant
6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
grant
8584a77223 add the following quote from elric@.. (with permission, of course)
I held off from Uni until NetBSD came out.
I decided, ``if there's no NetBSD then I'll just flip burgers''
		-- Roland Dowdeswell
2002-07-08 02:34:20 +00:00
itojun
2f9ca37900 backout previous (arc4random), per request from sommerfeld 2002-07-01 20:55:30 +00:00
itojun
e9e21a77eb use arc4random 2002-07-01 14:51:52 +00:00
pooka
ca3913421d remove the attributions from my slogans. they kept popping up in
awkard places
2002-05-18 10:17:32 +00:00
uwe
7c7d2ceb59 NetBSD/toaster: we wish the toaster to be happy too.
(Idea by Rafal, though he denies that)
2002-05-17 02:21:20 +00:00
hubertf
de06b5e706 #netbsd - where monks recite their internal dialogue while debugging.
-- Bernhard Riedel
2002-05-17 00:20:01 +00:00
pooka
ffbee2115d Raiders of the Lost Arch 2002-05-12 16:27:59 +00:00
christos
4733c0cfff PR/15878: Ed Ravin: fortune all frees junk pointers. Fixed, free structure
members before freeing the structure itself.
2002-03-12 15:20:14 +00:00
wiz
37e458fa45 strategy should have an 'r'. Inspired by similar change in OpenBSD. 2002-02-19 17:09:40 +00:00
tv
5061395b91 Don't put [] around the strings passed to tr -- those can be interpreted
by shells.  Just quote 'em.
2002-01-30 19:41:39 +00:00
pooka
b3714941a4 few entries more 2002-01-10 15:31:04 +00:00
soren
dc53bf3cba Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
tv
a2291b79c0 MKfoo=no -> NOfoo= 2001-12-12 00:07:45 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz
1f1e26bd6d Presence looks better with a 'c' instead of an 's'. 2001-11-21 19:01:31 +00:00
wiz
a58e0c8a53 Undo indentation glitch in previous. 2001-10-28 19:52:53 +00:00
proff
20d62e03c5 improve random number seeding 2001-10-28 19:47:48 +00:00
mjl
ccc06ff4fc Add one. 2001-10-22 00:55:00 +00:00
proff
1c37cc593d Fortune is not moribund.
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.
2001-10-20 09:33:39 +00:00
mjl
e854950bda More quote cleanup. Remove a fortune that also is in -o.
Add a couple of fortunes I had lying around.
2001-09-01 22:30:54 +00:00
mjl
30e1428afa Some more quotes removed. Corrected errors noticed by Andrew Brown
<atatat@atatdot.net>.
2001-09-01 21:28:28 +00:00
mjl
a486f7fbc9 Fix typos and spelos. Add and correct some attributions. Add a
couple of fortunes. Canonize quotes. Remove duplicate fortunes.
Correct author names.
Mostly from FreeBSD and OpenBSD.
2001-09-01 19:35:32 +00:00
simonb
ba96ebc2fd Match quotes. 2001-08-31 00:17:45 +00:00
mjl
7312906ef0 Remove duplicate fortunes. 2001-08-31 00:10:17 +00:00
wiz
c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
atatat
60564f8ed0 Change -a to mean all files, as opposed to just a few more files.
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".
2001-08-15 17:25:42 +00:00
wiz
a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
mason
8b7b300873 s/Upon you knees if you appear/Upon your knees if you appear/
Confirmed against <http://www.alcyone.com/max/lit/devils/>.
2001-06-24 23:25:19 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
christos
ebe68eb4f9 Overhaul error handling and reporting for regular expressions.
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.
2001-06-04 21:21:42 +00:00
aymeric
37e6eb8fe5 Bail out when regex pattern is invalid if using regcomp or regcmp.
Remove trailing \n's also.

Addresses PR#13109
2001-06-04 20:56:56 +00:00
abs
d590e6f410 Its is Dr. Elizabeth Dehner, not Dehaver.
From the vast and bewildering trek trivia of norm@sandbox.org.uk
2001-05-02 10:42:34 +00:00
pooka
e1d6858626 NetBSD: You choose the hardware, we'll bring the OS.
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.
2001-04-21 23:11:30 +00:00
hubertf
1bbc6b0055 Some entries from Richard Rauch, posted on netbsd-advocacy. 2001-04-21 14:49:08 +00:00
wiz
8a84240a6e Whitespace and/or punctuation fixes. 2001-04-02 22:47:29 +00:00
cgd
668a4dd967 convert to use getprogname() 2001-02-19 22:39:39 +00:00
pooka
e2ced2d617 kill dupe 2001-02-10 18:14:13 +00:00
simonb
73c32f039c Fix simple typo. From bdc@world.std.com in PR misc/12150. 2001-02-07 22:59:19 +00:00
christos
a2bee8edad fix nested extern and usage message 2001-02-05 00:29:44 +00:00
mjl
bdb00d0bd7 Tyop: foresight, not forsight (FreeBSD PR/24637) 2001-01-30 00:25:30 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
lukem
de3e6adaf6 use more standard %ll_ in favour of %q_ 2001-01-04 17:24:35 +00:00
sommerfeld
83454472f9 ${PRINTOBJDIR}ify 2000-12-30 17:51:26 +00:00
mycroft
9fcf4550a2 Another one that really belongs here... 2000-12-17 10:08:08 +00:00
mycroft
34fedde795 Compress the other entries vertically. 2000-12-17 09:35:21 +00:00
mycroft
562421c4f3 Reformat one entry for vertical space. 2000-12-17 09:25:38 +00:00
mycroft
c1647142f9 Yes, it's about damn time fortune(6) got some new material. 2000-12-17 09:17:51 +00:00
lukem
51ea0cba47 remove unnecessary command name after .Nm 2000-11-07 05:51:54 +00:00
mrg
f601feea40 fix a bug in the call to srandom(): xor time() with getpid(), don't add them!
now fortune(6) run in an unending loop does not appear to show the same
fortunes over and over and over.
2000-10-31 13:27:56 +00:00
hubertf
42f9d6c1e4 NetBSD will put hair on a UNIX admin's chest
-- Jason R. Fink
2000-10-09 00:58:16 +00:00
mjl
b1342ea8af Removed duplicate entry. Fixes FreeBSD PR/21629. 2000-09-29 00:40:40 +00:00
abs
90a84d2445 If we install limerick-o.dat, we should also install limerick-o to make it
usable.
2000-08-17 16:54:28 +00:00
abs
5b783e3f48 Split netbsd fortunes into offensive and non offensive.
Split could be considered somewhat arbitrary.
2000-08-17 16:48:52 +00:00
abs
ad603791f5 NetBSD: A pmap for every occasion 2000-08-17 16:27:38 +00:00
mason
a6cd58daee Corrected quote. It was totally missing its (well-known) equivalent of
a punch line.
2000-08-12 23:04:15 +00:00
ad
689c315829 Add 3 from me. 2000-07-31 11:38:21 +00:00
simonb
38a3de49cd Use a local implementation of htonl() called h2nl(). htonl() is not
available in all cross-compile environments.

Patches from Chris Demetriou.
2000-07-31 11:32:33 +00:00
mjl
d9e9bbbcb4 After weeding out duplicate, modify entry to be mathematically
correct at least. (Yes, both were wrong. People can't integrate
nowadays anymore :)
2000-07-03 18:51:45 +00:00
mjl
217fd277fd Remove duplicate (and incorrect) entry. From Anton Berezin
<tobez@tobez.org> in FreeBSD PR/19670
2000-07-03 17:23:37 +00:00
mason
caa691ec0a Offered horse brutality to a previously incorrect RHPS quote. 2000-06-30 04:04:09 +00:00
scw
eaeb39f657 NetBSD: Ports to * boards. 2000-06-14 08:10:06 +00:00
jwise
7e7d991f01 Remove one of mine that really wasn't very good, and add:
NetBSD: abandon all hype, oh ye who enter here.
2000-06-07 14:04:45 +00:00
pooka
c528cb8edd NetBSD - because Unix isn't just #include <linux.h>, i386, ELF, ...! 2000-05-02 11:41:24 +00:00
simonb
48a5c3efa9 Don't declare 'extern opt*' getopt variables. 2000-04-14 05:58:01 +00:00
simonb
915c06c281 Greatly simplify these by using <bsd.hostprog.mk>. Should do the same
for games/hack and games/monop and a few other places, but that requires
making subdirs for the tools.  One day...
2000-04-14 04:12:18 +00:00
soren
7e6625d720 Missing word. From Paul Janzen. 2000-04-11 03:45:40 +00:00
jwise
b0cbfed510 Tyop fix. 2000-04-06 02:19:23 +00:00
soren
89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
jwise
3626a95b76 fix tyop 2000-02-27 05:40:36 +00:00
pooka
8ef8262b5d NetBSD: We come in peace. We offer reliability.
+ correct a typo
2000-02-15 13:56:02 +00:00
pooka
e287a2d6fa NetBSD: We don't negotiate with terrorists. 2000-02-12 10:12:58 +00:00
pooka
e74bc9575e Add Chris Baird's email address per his request 2000-02-10 13:10:43 +00:00
pooka
022eb906f9 Add NetBSD slogans for fortune database. 2000-02-06 11:59:29 +00:00
mycroft
615ac255bd More .mk file fallout. *sigh* 2000-01-23 22:10:52 +00:00
mycroft
58b54f196f Get the build ordering right for dependall. 2000-01-23 22:10:22 +00:00
jsm
0bd979e6bf Remove unnecessary casts, and add necessary ones for printf arguments. 2000-01-13 16:22:10 +00:00
jsm
f7bce06e2e Change __GCC__ to __GNUC__. 2000-01-13 16:20:27 +00:00
jsm
993c7bf2ac Remove obsolete NO_VOID conditional. 2000-01-13 16:19:36 +00:00
simonb
c3a7361d5d Don't use any NetBSD specific features (<err.h> and friends mainly
- replaiced with local die() and dieperror() routines).  Use ANSI
prototypes (no dependance on the __P() macro).  Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine.  Remove unused unctrl() function.

Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
1999-12-30 01:32:33 +00:00
simonb
f6c35735cd No need to include <sys/endian.h> here - <sys/types.h> includes
<machine/endian.h> which DTRT.
1999-12-30 01:26:44 +00:00
mason
75eb02cdfc Removed someone's personal phone number, including area code, from a "if you
want a good time, call ###-###-####" fortune entry.
1999-12-11 19:13:05 +00:00
jsm
49bc28122f Fix a gcc -W warning (empty body in an else-statement). 1999-12-07 23:07:39 +00:00
drochner
85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
jsm
157087a683 Use macro NAMLEN rather than dirent->d_namlen, for easier portability. 1999-09-22 18:56:32 +00:00
tron
b137d2d602 Remove generated file "limerick-o" in "clean" target. 1999-09-21 16:34:51 +00:00
jsm
20e3305006 Fix -Wsign-compare warnings. 1999-09-18 19:38:46 +00:00
hwr
435463f6cb Split limericks into "normal" and "offensive" ones.
Fixes PR 6202 by Matthias Grutzeck <grut@teco.edu>.
1999-09-12 10:15:46 +00:00
hwr
2abe3ab9b5 These fortunes conatain offensive language.
These were originally unamerican.{fake,real}
Part of the work on PR 6202.
1999-09-12 10:06:21 +00:00
hwr
81dda5dccb Moved to unamerican.real-o 1999-09-12 09:57:50 +00:00
hwr
8d799a73e4 Moved to unamerican.fake-o 1999-09-12 09:54:25 +00:00
jsm
18c51c04de Check for write errors in auxiliary programs used during build of games. 1999-09-10 00:18:20 +00:00
jsm
2b25de3a90 Include <time.h> in various places in the games where time() or time_t
are used.
1999-09-09 17:30:17 +00:00