Commit Graph

761 Commits

Author SHA1 Message Date
eivind
53a6ab26a8 Remove duplicates 2003-03-19 17:55:17 +00:00
eivind
a9cd7fc85f Fix typos 2003-03-19 17:54:22 +00:00
eivind
8e84221316 Refactor two sexual jokes to murphy-o 2003-03-19 17:50:59 +00:00
dcs
04f555afa6 Improved version of Unix sex.
Submitted by: Chris Wasser <cwasser@shaw.ca>
2003-03-17 20:59:50 +00:00
grog
62cc0d370a Add long-term view of astronomy.
Submitted by:	newton

The attribution appears to be correct according to
http://emporium.turnpike.net/C/cs/sagan.htm.  Others have apparently
attributed it to Carl Sagan.
2003-03-15 02:10:53 +00:00
fanf
7ba87a9f79 At the risk of serious physical abuse from markm, add another regex joke,
but s/regex/regular expression/g for terminological consistency.
2003-03-10 19:58:37 +00:00
dcs
b100e85d18 We were low on regex jokes. Now we are *really* low on them. 2003-03-10 13:47:43 +00:00
wollman
07cbda74cc Fix style of recent additions and sort. 2003-02-26 04:41:58 +00:00
mike
92406d0c35 Add a great quote from Linus Torvalds about BDE. 2003-02-26 03:42:10 +00:00
dcs
ab0fc95d65 EMACS joke (no, not EMACS itself). 2003-02-24 18:04:20 +00:00
schweikh
27b8d5c85d Fix a grammar bogon.
Submitted by:	Seth Hieronymus <sethh@principia.edu>
X-MFC after:	4.8 is out the door.
2003-02-24 17:52:02 +00:00
wollman
01c7d91f2d Add a quote from Bob Schieffer's recent book about freedom of the press. 2003-02-23 06:14:04 +00:00
ru
4f5eb5339e Fixed SYNOPSIS.
Expanded stdin/stdout definitions.
Ordered the SEE ALSO references.
Moved some chat from the BUGS section to freebsd-chat@.
Removed ``cvs log'' material from the HISTORY section.
2003-02-23 01:44:14 +00:00
ceri
33432d3e3d "Happiness" is a noun.
PR:		misc/47345
Submitted by:	Ben Rosengart <ben@narcissus.net>
2003-02-18 20:49:12 +00:00
fanf
1b5bb7d461 Add Greenspun's Tenth Rule of Programming. 2003-02-18 20:34:13 +00:00
schweikh
fbcaeafab9 Correct typos.
Submitted by:	Seth Hieronymus <sethh@principia.edu>
X-MFC after:	4.8 is out the door
2003-02-16 18:38:12 +00:00
seanc
37077a6437 flexlint rears its head as well as some style(9) fixes[1]. Fixed a
few bugs for a few corner cases and correctly handle the case where
read(2) is read()'ing from a non-file descriptor and could get fewer
bytes back than the buffer, but it isn't EOF[2].  random(6) extensively
tested and believed to be bug free (save performance for large files).

Submitted by:	mkm [1], tjr[2]
2003-02-15 10:26:10 +00:00
robert
4ac1e02451 Remove the suggestion to try `hangman', because it does not exist
in the base system anymore.
2003-02-15 09:11:25 +00:00
wes
044bfdd6f0 Add Warner Losh quote.
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
2003-02-11 21:38:02 +00:00
seanc
39df9275e1 Update random(6) to have the ability to randomize a file/stdin based
off of lines or words.  See the man page for details.

Reviewed by:	markm
MFC after:	3 days
2003-02-11 19:32:18 +00:00
mike
a403dcb64a Immortalize a Robert Watson quote. 2003-02-10 17:34:32 +00:00
fanf
9297a8ce81 Add an explanation of why indirection is good. Remove an indirection
filk that also appears in fortunes2.
2003-01-23 19:23:52 +00:00
schweikh
ad85b87e34 s/Kank/Kang/ (the klingon)
PR:	misc/45012
Submitted by:	Steve Coltrin <spcoltri@omcl.org>
2003-01-04 17:08:23 +00:00
schweikh
c353aec149 Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
schweikh
28d78933e7 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
ru
abe7c94ab3 mdoc(7) police: Added the missing .Os call; it's not strictly
necessary nowadays, but is documented as "required", and may
become so again in the future.

Approved by:	re
2002-12-11 15:55:29 +00:00
ru
b680afb789 mdoc(7) police: sweep. 2002-11-29 16:21:33 +00:00
schweikh
2765ee439b Fix a typo. Add FreeBSD ID in a %% comment.
MFC after:	3 days
2002-11-17 09:53:11 +00:00
joerg
5b11927e6a set watch in tcsh requires an equal sign after the variable name.
MFC after:	1 day
2002-11-16 13:24:44 +00:00
dcs
a02d37bfca Add gerrold.limerick to the building process. 2002-11-10 23:41:01 +00:00
dcs
4adcf1c7a7 Finished at last. 2002-11-10 23:37:25 +00:00
dcs
d0ccb6c30c Filling this file at last (now check when I first committed it and see how
long certain people take to return books...).

Still more to go.
2002-11-09 22:22:52 +00:00
fanf
41f1fd2a51 The future's bright: the future's Ballard... 2002-10-30 01:00:48 +00:00
phk
b545fc45bc Add a fortune for people who have read their classics. 2002-10-29 10:16:06 +00:00
markm
78fda016f0 Remove old build glue for removed games. 2002-10-21 10:05:14 +00:00
markm
758095d886 Deorbit complete. We dont build these anymore, so into the attic they go. 2002-10-21 07:40:27 +00:00
tom
9feda77f34 Minor grammatical correction 2002-10-20 13:41:44 +00:00
markm
4e5361837a Do not build the majority of the games. Remaining are the
"utility-like" games and everyone's favourite, fortune(6).
2002-10-20 11:18:56 +00:00
blackend
f35ae8ff4d Fix the path to the make.conf example file.
PR:		docs/44278
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
2002-10-19 21:34:50 +00:00
fanf
0e82a660a5 So a positive time zone offset is west, right? or is it east? Um.
What is the standard for this, anyway? Ah, we get to choose. I see.

This commit is brought to you by the numbers 2001 and 2822 and the
letters P, O, S, I, X and R, F, C.
2002-10-19 04:49:10 +00:00
fanf
bb203fb5f4 Last commit was slightly hasty: #include <string.h> is required on
-CURRENT to be WARNS-safe (but not -STABLE for some reason)
2002-10-09 20:42:40 +00:00
fanf
a3313bf87f Kill obsolete #include <memory.h> which I didn't spot earlier because
it's still in the NetBSD version.
2002-10-09 20:30:57 +00:00
fanf
0a558426d5 Mdocify and fix a load of errors dating back to the dawn of time.
Don't mention hard limits for factor(6) since it now has bignum support.

Obtained from:	NetBSD (mdoc only -- their man page is still mostly wrong)
2002-10-09 20:00:25 +00:00
fanf
0791095793 Factorize bignums using the Pollard Rho algorithm. The code comes
from NetBSD, altered to retain the FreeBSD -h feature and various
stylistic improvements and avoid regressions. In the absence of
OpenSSL (and therefore bignums) the old code is used.

PR:		43831
Reviewed by:	kris, markm, obrien
Obtained from:	NetBSD
MFC after:	2 weeks
2002-10-09 19:55:04 +00:00
fanf
ff825208ee Style fixes to: #include ordering; use const and static; ANSI functions;
various usage synopses; bogus and/or unnecessary casting; exit values;
use LINE_MAX instead of magic numbers; declare extern variables in a
header; add $FreeBSD$ where missing.

Reviewed by:    markm, obrien
Obtained from:  NetBSD | fanf
2002-10-09 19:38:55 +00:00
jmallett
6a40ba464b As back-out requests must be followed, back out the removal of wargames(6)
at mike@'s request.
2002-10-09 01:46:37 +00:00
jmallett
571ccae9e7 Remove the wargames(6) novelty [and not the fun kind]:
1) It never was very funny.
	2) It was a N line shell script where N is less than
	   X, where X is the number of lines of the Berkeley
	   copyright and license.
	3) I rewrote it in C with the intention of making it
	   more interactive, ala the movie, but never did.
	4) Because it really is possible for at least some
	   parts of a distribution to shrink between releases.

X-No-MFC:	This game will remain in RELENG_4 and previous.
X-Bikesheds-To:	markm@
Approved by:	The #bsdcode cabal.
Obtained from:	Professor Falken
2002-10-08 20:19:26 +00:00
jmallett
c96e460b47 We're missing none of these games, they just aren't here. 2002-10-08 20:15:30 +00:00
schweikh
23c0a6749a Correct the description of what fortunes get installed (by default, also the
offensive ones). Make it clear that datfiles/Makefile needs to be edited in
case someone wants it otherwise.

PR:		misc/36153
Submitted by:	Nick Jennings <nick@namodn.com>
X-MFC after:	4.7 is out the door.
2002-09-24 19:00:52 +00:00
schweikh
dd86e6792b s/seems to thing/seems to think
X-MFC after:	4.7 is out the door
2002-09-21 16:13:20 +00:00
tg
da0df40e61 Fix spelling of Bismarck's name and remove duplicate
Bertrand Russell quotations.
2002-09-11 11:21:36 +00:00
jmallett
9878f0eb0e Add a tip about using sed(1)'s FreeBSD-specific -i option.
MFC after:	42 days
2002-09-04 23:28:35 +00:00
dwmalone
8e06166a98 Spell Ken Olsen's name the same way everywhere.
PR:		7434
2002-08-31 23:15:41 +00:00
jmallett
b5dabb1bbc Rewrite wargames(6) in C. A program in C in the public domain is better than
a shell script with a big copyright.  Or maybe just a good way to spend an hour
after watching a Matthew Broderick flick.
2002-08-30 07:14:42 +00:00
jmallett
77037b0dd1 Wargames was PG-13, not PGP 13. I just watched it with my girlfriend, and
there was no mention of PGP, despite what the manpage said!  Total let down!

MFC After:	65456665556666545666655654 DTMF tones.
2002-08-29 04:07:20 +00:00
charnier
06afb62b3c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
schweikh
e98f885b38 Fix typos (s/seperat/separat/ et al); add FreeBSD ID.
Suggested by:	bde
MFC after:	3 days
2002-08-12 10:04:32 +00:00
fanf
86ac9c0394 Remove some Dijkstra quotes from fortunes that are duplicated in fortunes2.
Move the single remaining one across to fortunes2 to join its friends.
Spell his name consistently. Remove a couple of other duplicate fortunes.
2002-08-09 20:37:01 +00:00
fanf
7d12add921 Re-sort. 2002-08-09 19:54:11 +00:00
fanf
b07f3a0a55 Remove spurious quotes. 2002-08-09 19:31:27 +00:00
fanf
5f7c47f1e3 Correctly sort previous addition. 2002-08-09 19:30:20 +00:00
fanf
f74837b232 Some more advice from Dijkstra. 2002-08-09 19:08:02 +00:00
fanf
151f2668c5 Fix a couple of typos in a Dijkstra quote. 2002-08-09 19:00:10 +00:00
ru
34de99cd26 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
ru
0438f8a407 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
dwmalone
221e26a61f Fix a typo.
PR:		40539
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
2002-07-14 22:50:12 +00:00
dwmalone
3aa52a7faf Fix a typo.
PR:		40523
Submitted by:	Andrew Stevenson <andrew@ugh.net.au>
2002-07-14 15:28:01 +00:00
peter
459c7cbe27 Fix whitespace botch in previous commit. 2002-07-09 06:47:29 +00:00
peter
f6897a39de Add C code that counts the bits in a 32 bit word, right next to the C code
that reverses the bits in a 32 bit word.  Who thinks up this stuff?
2002-07-09 02:56:10 +00:00
mp
0e678b293d Paraphrase a quote to remove year specific references.
PR:		40291
Submitted by:	Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
2002-07-07 16:13:48 +00:00
jmallett
9bc16138c3 Use varargs for syserr().
Pointed out by:	snapshots.jp.freebsd.org warnings log.
2002-06-23 18:30:29 +00:00
jmallett
d25ebb7206 syserr()'s first argument is not exit status, avoid dereferencing (char *)0
in printf(3).
2002-06-23 18:29:52 +00:00
mike
d8cc828c9a Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
schweikh
31b9da5ba3 Backout recent typo "fix". I've been enlightened that it's an obsolete
and rare synonym for indomitable (from the French indomptable)

Requested by:	"Jacques A. Vidrine" <nectar@FreeBSD.org>
2002-05-31 14:36:45 +00:00
schweikh
8b76b81398 Typo: s/Indomptable/Indomitable/
MFC after:	3 weeks
2002-05-31 13:26:56 +00:00
wollman
101f6ff2fa Add used include of <stdlib.h>, copying style bugs from adjacent lines. 2002-05-30 21:28:58 +00:00
wollman
98693a12e9 Fix preprocessor directive syntax (text after #endif). 2002-05-30 21:04:11 +00:00
alfred
7d613cbac0 Make almost WARNS=5 compliant:
ANSI'fy function declarations.
Constify some globals and function paramters.
Remove unsused arguments.
Fix (rename) shadowed variables.
2002-05-28 21:41:02 +00:00
alfred
9a224c4d1d Comment out comments after #endif directives 2002-05-28 21:06:03 +00:00
alfred
c3f67aab4e Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
2002-05-28 17:03:12 +00:00
bde
2369fc5459 Fixed lossage of the prototype for usage() in previous commit.
Fixed higher WARNS levels while I was here (missing prototype for main(),
and missing const poisoning).
2002-05-28 12:20:15 +00:00
kris
df60e93ab8 Quiet some format string warnings by marking prototypes with
__printflike()

MFC After:	1 week
2002-05-28 06:12:31 +00:00
des
d98d0ebd67 Comment out extra tokens after #else and #endif. 2002-05-23 00:38:07 +00:00
peter
8da2718bed Do not guess what a bool is, just use it. 2002-05-21 08:34:18 +00:00
dougb
40118377c4 Correctly attribute a Douglas Adams quote, and remove a duplicate of
the same quote.
2002-05-15 04:35:27 +00:00
alfred
c68dc294fd Fix warnings by commenting out text after #else/#endif. 2002-05-11 04:40:13 +00:00
obrien
a877ff37af It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complains
loudly, so don't do it.
2002-05-08 20:39:10 +00:00
obrien
98202729ca It is not clear if "#endif FOO" is allowed by ANSI.
Gcc 3.1 complains loudly, so don't do it.
2002-05-08 20:37:48 +00:00
mph
effdf69e8d s/-300K/~300K/
This is an absolute (kelvin) temperature.  I expect that in the original
source it was typeset as $\sim 300~{\rm K}$ or similar, meaning
"approximately 300 K".  Changing it to a minus sign in the fortunes file
was clearly an error, as absolute temperatures are by definition positive.
2002-05-01 06:20:57 +00:00
dougb
1f36a16039 More ispell fun 2002-04-30 10:13:42 +00:00
dougb
61bd4ea717 Fix a few more of my typos, a few others I noticed, and some ispell help. 2002-04-30 08:08:31 +00:00
sheldonh
4977e35059 Correct typo (is -> us). 2002-04-30 07:36:44 +00:00
jmallett
f76f59dd03 Add something absurd I used one night as an example of CS overcomplication
of things most hackers take for granted.
2002-04-29 06:26:12 +00:00
jmallett
e8ecce27b2 Add one more here.
Submitted by:	Glen "Going to be a Daddy" Neff
2002-04-29 02:00:53 +00:00
jmallett
b7d0246cb4 Remove a Kurt Vonnegut quote that appears in fortunes. 2002-04-29 01:44:16 +00:00
jmallett
1e9989bf5d Spell out the name of Hunter S. Thompson. 2002-04-29 01:38:43 +00:00
jmallett
ed3d675eaa Sort one, remove some dupes. 2002-04-29 01:22:50 +00:00
jmallett
a9197fe14a Add something I found amusing when overheard, and a paraphrasal of it. 2002-04-29 01:05:23 +00:00
dougb
3abe9601f2 Move the Rush Limbaugh fortunes to the offensive file, right after the
Anti-Reagan section. :) Apparently, people find opinions contrary to
their own to be offensive.
2002-04-29 00:41:55 +00:00
dougb
a42e8abd4f Sort according to ../tools/do_sort 2002-04-29 00:33:30 +00:00