Commit Graph

1009 Commits

Author SHA1 Message Date
schweikh
b0d5a70a33 s/Here about/Hear about/ and sort accordingly. 2004-11-12 10:15:43 +00:00
wilko
26ee4cc617 Never be afraid to try something new. Remember, amateurs built the ark.
Professionals built the Titanic.
2004-10-27 20:28:56 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
phk
04d44d95de Improve accuracy of last addition, as best Google advices me. 2004-10-22 19:59:37 +00:00
phk
a13f06ffb3 I'm surprised this one was not here yet.
To save you all a trip to CVSWEB:

Experts have correctly predicted nine out of the last five recessions.
               -- Paul Samuelson,  Nobel laureate in economics.
2004-10-22 16:18:15 +00:00
stefanf
0de63fceef Properly initialise 'filename' so that random -l doesn't try to open NULL.
Const-qualify 'filename' to avoid a strdup() call due to -Wwrite-strings
silliness.
2004-10-03 15:34:15 +00:00
wilko
2411b47f68 The state that separates its scholars from its warriors will have its
thinking done by cowards, and its fighting by fools. - Thucydides
2004-09-29 19:52:19 +00:00
blackend
35b7b725a8 Fix make search entries.
PR:		docs/70899
Submitted by:	Marc Silver <marcs@draenor.org>
2004-08-24 11:30:28 +00:00
blackend
894378ef71 s/the on/on the/
PR:		misc/70842
Submitted by:	Sean C. Farley <sean-freebsd@farley.org>
2004-08-23 11:00:20 +00:00
des
ca124b900b Immortalize the words of a -current reader. 2004-08-20 13:39:28 +00:00
rwatson
59e82281fe Add a useful snippet on limitations of inductive reasoning by Bertrand
Russell.
2004-08-15 19:24:17 +00:00
schweikh
138982e99c Correct grammo. 2004-08-14 06:29:17 +00:00
stefanf
b1d8596587 Include <stdlib.h> for exit(), use prototypes and bump WARNS to 6. 2004-08-01 18:52:40 +00:00
des
04b2cac222 The name of the landlord in Shaw's _The Man of Destiny_ is Giuseppe (not
Guiseppe) Gandi.

Submitted by:	Massimiliano Stucchi <stucchi@willystudios.com>
MFC after:	3 days
2004-07-26 21:18:58 +00:00
le
3654de90d4 Make this WARNS=3 clean.
PR:            bin/38931
Submitted by:  Giorgos Keramidas <keramida@freebsd.org>
2004-07-23 11:36:35 +00:00
le
c05d3eafae Fix typos.
PR:            misc/67586
Submitted by:  Paul A. Hoadley <paulh@logicsquad.net>
2004-07-20 08:32:42 +00:00
le
c844209ee5 Fix whitespace and punctuation.
PR:            misc/49967
Submitted by:  Sean C. Farley <sean-freebsd@farley.org>
2004-07-20 08:28:28 +00:00
le
a93503b196 Remove duplicate fortunes and fix some typos.
PR:            misc/45839
Submitted by:  Philipp Mergenthaler
               <philipp.mergenthaler@stud.uni-karlsruhe.de>
2004-07-20 08:19:51 +00:00
stefanf
77a4e4e421 Resolve a couple of warnings and bump WARNS to 6. 2004-07-11 17:26:18 +00:00
ru
debcc07b3a Mechanically kill hard sentence breaks. 2004-07-02 21:16:38 +00:00
ru
6f7eb14978 mdoc(7): Correct the type of the display. 2004-07-02 21:15:48 +00:00
wollman
b4fb293e24 Add a Nicollism. 2004-06-24 03:08:44 +00:00
phk
45cfffa8ac Discontinue use of old libcompat regexp routines. 2004-06-21 16:07:30 +00:00
schweikh
dad6e10cd3 Correct assorted typos and grammos. 2004-06-10 21:03:34 +00:00
des
92c9a57d01 Consistently credit President Truman as Harry S. Truman. 2004-06-01 09:45:16 +00:00
dougb
e2c87d8b84 Update the "All I really need to know I learned in kindergarten" entry
by using the text from the Villard Books edition (1989, pages 6 through
8) and formatting to fit in 72 columns.
2004-06-01 05:00:46 +00:00
dougb
e021509ce5 * Reformat several attributions according to ../Notes (mostly whitespace)
* Spell out some names that were pointlessly abbreviated
* Remove a couple of incidental duplicates
* Harry Truman had no actual middle name. The initial "S" was added to his
name to make him appear more statesmanlike. Therefore it's not usually punctuated.
* Format a couple of actual fortunes to fit into 72 columns
2004-06-01 04:32:11 +00:00
dougb
d8ee4c34cb Remove duplicates of the "wherever you go, there you are" fortune,
quote directly from the movie, and give a better attribution (with
correct spelling) for Buckaroo Banzai.
2004-06-01 00:16:32 +00:00
wollman
872786a58d Definition of recursion. 2004-05-25 19:15:02 +00:00
schweikh
b482f392a5 Added forgotten quotes for citations. 2004-05-20 08:15:58 +00:00
ru
fba1b06a6b Markup fixes. 2004-05-16 21:52:48 +00:00
ru
3e3e3d8475 Really add -l to the usage output. 2004-05-16 21:49:23 +00:00
fanf
9259fe34cc I *knew* it would be a bad idea to touch the fortunes. *sigh*
Submitted by:	Kevin Oberman <oberman@es.net>
Pointy hat to:	me, again
2004-05-11 17:43:36 +00:00
fanf
7e021c2452 Pedantry.
Submitted by:	njl@
2004-05-11 17:26:16 +00:00
dds
104658ee3e Add Greek character encoding suport.
MFC after:	2 weeks
2004-05-11 11:11:14 +00:00
fanf
513cf0367d On the signs of network congestion.
Submitted by:	Simon Tatham <anakin@pobox.com>
2004-05-11 10:00:14 +00:00
fanf
8169074470 Re-sort 2004-05-10 23:02:07 +00:00
fanf
14ba243beb Moore's law vs. Nethack
Submitted by:   Simon Tatham <anakin@pobox.com>
2004-05-10 23:00:26 +00:00
cperciva
91483de01f Fix grammar to make it correctly wrong. 2004-04-29 06:14:00 +00:00
smkelly
d78a9de690 Add a new fortune from petef.
Obtained from: petef
2004-04-29 04:36:36 +00:00
imp
45c4ca11d3 Add jerk city commentary on C++. 2004-04-27 22:32:02 +00:00
grog
4a6438f25a Add a Dijkstra comment on programming languages. 2004-04-21 22:39:46 +00:00
ceri
aef0c8e553 Don peril-sensitive sunglasses and correct the spelling of ukulele.
"Ukulele" is the canonical term, with "ukelele" being a derivation.
Also there is some evidence that the original appearance of the quote
had the spelling "ukulele", although anyone who has a copy of Esquire
from March 1967 is welcome to prove me wrong.

PR:		bin/65626
Submitted by:	Gavin Atkinson <gavin@ury.york.ac.uk>
2004-04-20 19:20:17 +00:00
grog
fd4191a431 Add an observation by Dijkstra software engineering. 2004-03-22 05:02:01 +00:00
bde
2edbbfbff4 Fixed a mispelling of 0 as NULL. 2004-03-14 05:28:29 +00:00
fanf
24496b18b5 Label @ as being AC (since it's constructed like a prosign).
Submitted by:	des
2004-02-20 13:46:39 +00:00
fanf
39aa73fd6d Add some missing punctuation symbols, in particular @ which (according to
a recent Press Association release) was added to Morse code by the ITU in
December. @ was previously used for the SK prosign, which is now spelt &.

Obtained from:  http://en.wikipedia.org/wiki/Morse_code
2004-02-20 11:55:38 +00:00
cperciva
dba5418199 Fix misspellings in the freebsd-tips fortunes. The same PR has
a patch to mention portupgrade in freebsd-tips as well; I'm not
sure if that belongs here, so I'll leave it for someone else.

PR:		misc/37073
Submitted by:	Sean Chittenden <sean@chittenden.org>
Approved by:	rwatson (mentor)
2004-02-18 05:18:27 +00:00
wes
a763f85517 Too good to miss.
Wisdumb by:	Danno Coppock <danno@ipinc.com>
2004-02-09 18:45:25 +00:00
ru
743cc6d002 Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
schweikh
996a053df7 "The Aged Aged Man" was not a word doubling.
Spotted by:	grog
2004-01-19 21:22:21 +00:00
phk
75a46d9023 typo, duh! 2004-01-13 08:00:55 +00:00
phk
c52adee7f0 This is simply too true to not become a fortune.
Wisdom by:	wes
2004-01-13 07:36:17 +00:00
blackend
4ce6889968 Add a tip on how to print a manual page.
PR:		docs/61033
Submitted by:	mi@
2004-01-07 19:49:12 +00:00
ceri
17cbb0b2fc Stop "fortune -l" from looping forever.
PR:		bin/58730
Submitted by:	pak <pak@cns.utoronto.ca>
2003-12-27 16:04:41 +00:00
schweikh
c6baaab590 Fix all cases of unintended word doublings (the the, and and, ...) and a
few typos.
2003-12-26 21:32:47 +00:00
des
560fd10b55 Use WARNS level 2 instead of setting CFLAGS explicitly to -Wall. 2003-12-07 17:34:52 +00:00
phk
4ce13c1db4 A too good Feynman quote to pass up. 2003-12-07 10:03:20 +00:00
phk
bba6b06ef4 Add a card carryring member of the Pointless Comparison Collection. 2003-11-12 20:08:47 +00:00
wilko
d31466d172 reformat HP eng. mgr quote
Requested by: nate
2003-11-10 23:08:39 +00:00
roam
a69e97d1cc Fix a typo: 'in cloud' -> 'in a cloud'.
PR:		58909
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
MFC after:	1 week
2003-11-04 09:21:59 +00:00
phk
a401023210 Add a '-l' option suitable for use with /dev/led/* lamps. 2003-11-03 11:05:43 +00:00
phk
947a627bb5 Addition. 2003-10-20 21:22:41 +00:00
fanf
4e2a8e2c7e A comment about spam and cockroaches.
Suggested by:	dwmalone
2003-10-16 15:25:19 +00:00
tg
c803b8b6aa Fix typo. 2003-10-15 10:25:31 +00:00
schweikh
bd52f2d8e9 Correct a typo (s/And/An/) 2003-10-12 11:37:15 +00:00
schweikh
bf3be14755 Removed "Gerat" which is a typo of "Great".
Added FreeBSD ID.
2003-10-08 16:49:19 +00:00
wollman
81afeec072 Retrocomputing alternate history.... 2003-10-07 15:09:19 +00:00
wilko
d8080c433b Polish last fortune.
Suggested by: nate
2003-10-06 22:11:03 +00:00
wilko
3405ad9023 'Upon the release of the second version'
Suggested that this is fortune material: rene@tunix.nl
MFC after: 2 weeks
2003-10-06 19:34:35 +00:00
eivind
0ec2a2b19b Fix spelling/grammar errors and remove a duplicate 2003-09-13 15:46:35 +00:00
dougb
9cf6c7ed90 * Fix a duplicate "how how"
* Fix pedstals -> pedestals
2003-08-31 23:05:39 +00:00
ceri
e3cf310790 Correct a grammatical error.
PR:		misc/54967
Submitted by:	Paul A. Scott <pscott@the-frontier.org>
MFC After:	4 weeks
2003-08-25 20:08:16 +00:00
ache
26ffc627d8 LANG->LC_ALL
Pointed by:     ru
2003-08-04 21:31:53 +00:00
ache
6d81d82b79 Use LANG=C before tr to be shure that ranges are correct 2003-08-04 15:31:57 +00:00
ache
c35593dd41 Rename collate_range_cmp() to stable_collate_range_cmp() to indicate
that it is not the common variant.
Remove doubtful microoptimization there.
2003-08-03 19:44:36 +00:00
schweikh
def68bc11e Fix a tip about how to create an empty file[1].
Remove tip about retired kget(8).
Fix a typo.

PR:	conf/54334
Submitted by:	Mark Huizer <xaa+sendpr@timewasters.nl>
MFC after:	3 days
2003-08-02 20:36:28 +00:00
mux
8bcb5ee872 Remove a duplicate entry. 2003-07-25 11:14:03 +00:00
markm
376c7c030b Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.
2003-07-24 18:30:25 +00:00
mph
e8546e1e8a Eliminate a duplicate. 2003-07-14 22:22:56 +00:00
jhb
34cf1095cb Add a quote of wpaul@ explaining the importance of including requested
content when replying to an e-mail.
2003-07-14 22:08:14 +00:00
kris
2796980f7c Correct some typos.
Submitted by:	pscott@the-frontier.org
PR:		misc/51909
MFC After:	The average lifetime of a Star Trek redshirt
2003-07-13 03:49:43 +00:00
will
003ad51e2a Handle 12-hour clocks properly: when the time is 00:00-00:59, adjust the
hour to 12 so the time reads "12:00-12:59 AM".
2003-06-23 16:01:11 +00:00
gsutter
1ce49745e1 Remove near-duplicate entry, keeping the better attributed one. 2003-06-19 22:52:50 +00:00
murray
1f5522a497 In the build process, fortune files have been randomized since at
least the 4.4-lite days.  This is pointless, since fortune(6) performs
its own randomization.  It was also problematic for binary update
systems such as ports/security/freebsd-update.  This commit simply
removes the -r option to strfile so that the datfiles are constant.

Submitted by:	Colin Percival <cperciva@sfu.ca>
2003-06-19 07:02:00 +00:00
joerg
dbea3df4e6 Preserve an involunteerily joke SunCheckup has been providing.
(NB: the space before the colon in the second line is authentic, please
don't remove.)
2003-06-18 12:46:20 +00:00
hoek
7a3fdc58a0 Fixup three rather minor typos that have irked me over time. 2003-05-31 16:27:53 +00:00
des
5aabe4b4db add a NOCRYPT check alongside the NO_OPENSSL check.
Approved by:	re (scottl)
2003-05-19 15:52:50 +00:00
ru
7fa127e932 mdoc(7) police: Make SYNOPSIS match usage().
Approved by:	re (blanket)
2003-05-16 21:27:23 +00:00
ru
5e69537ef5 mdoc(7) police: Added "rot13" to the NAME section.
Approved by:	re (blanket)
2003-05-16 21:26:39 +00:00
obrien
392c53b560 Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.
2003-05-05 09:52:25 +00:00
mux
c91649aa81 Add an option to print the time in 12-hour format.
Submitted by:	Samy Al Bahra <samy@kerneled.com>
2003-03-28 16:37:45 +00:00
eivind
d22ded66bf Add a new chance at getting offended, having removed so many. 2003-03-24 18:59:00 +00:00
eivind
46bf9e26a7 Remove duplicates 2003-03-24 18:58:16 +00:00
eivind
6c8ac02e62 Fix two more typos 2003-03-24 18:56:36 +00:00
tjr
7444018a7f Explain what the rot13 script does.
PR:		39044
2003-03-24 11:18:30 +00:00
eivind
779673e2b7 Fix typos 2003-03-19 18:21:42 +00:00
eivind
ed072c17cf Fix typo 2003-03-19 18:14:47 +00:00
eivind
3e7fb199ef Remove duplicates 2003-03-19 17:55:17 +00:00
eivind
18111c9405 Fix typos 2003-03-19 17:54:22 +00:00
eivind
13530229f4 Refactor two sexual jokes to murphy-o 2003-03-19 17:50:59 +00:00
dcs
2575bf9123 Improved version of Unix sex.
Submitted by: Chris Wasser <cwasser@shaw.ca>
2003-03-17 20:59:50 +00:00
grog
7467400839 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
a824da445b 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
774a21c5f7 We were low on regex jokes. Now we are *really* low on them. 2003-03-10 13:47:43 +00:00
wollman
6706d1e5c2 Fix style of recent additions and sort. 2003-02-26 04:41:58 +00:00
mike
925e5bf5a9 Add a great quote from Linus Torvalds about BDE. 2003-02-26 03:42:10 +00:00
dcs
5a2e3e0dfe EMACS joke (no, not EMACS itself). 2003-02-24 18:04:20 +00:00
schweikh
021053ab88 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
49ccb4d057 Add a quote from Bob Schieffer's recent book about freedom of the press. 2003-02-23 06:14:04 +00:00
ru
26cbc7939f 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
23b3d3e001 "Happiness" is a noun.
PR:		misc/47345
Submitted by:	Ben Rosengart <ben@narcissus.net>
2003-02-18 20:49:12 +00:00
fanf
0768175e02 Add Greenspun's Tenth Rule of Programming. 2003-02-18 20:34:13 +00:00
schweikh
a787a2ce23 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
cb6083f980 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
cf513b76e7 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
bebc78d3e1 Add Warner Losh quote.
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
2003-02-11 21:38:02 +00:00
seanc
0f9b087524 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
be6f69b501 Immortalize a Robert Watson quote. 2003-02-10 17:34:32 +00:00
fanf
9d04c4bbe7 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
4c7a08b14a s/Kank/Kang/ (the klingon)
PR:	misc/45012
Submitted by:	Steve Coltrin <spcoltri@omcl.org>
2003-01-04 17:08:23 +00:00
schweikh
d3367c5f5d Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
schweikh
86f7487fb6 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
2a1141d1d9 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
4cbb8ca45a mdoc(7) police: sweep. 2002-11-29 16:21:33 +00:00
schweikh
8275a80403 Fix a typo. Add FreeBSD ID in a %% comment.
MFC after:	3 days
2002-11-17 09:53:11 +00:00
joerg
856dc69260 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
5cbd8d2e81 Add gerrold.limerick to the building process. 2002-11-10 23:41:01 +00:00
dcs
b8f6d0dd7f Finished at last. 2002-11-10 23:37:25 +00:00
dcs
e53748a0c6 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
c98f436d67 The future's bright: the future's Ballard... 2002-10-30 01:00:48 +00:00
phk
e1248d5245 Add a fortune for people who have read their classics. 2002-10-29 10:16:06 +00:00
markm
6ca574b57e Remove old build glue for removed games. 2002-10-21 10:05:14 +00:00
markm
e41bd31deb Deorbit complete. We dont build these anymore, so into the attic they go. 2002-10-21 07:40:27 +00:00
tom
e5e93f10fa Minor grammatical correction 2002-10-20 13:41:44 +00:00
markm
cc5521cdd1 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
dcc30834b3 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
6221a0f65e 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
945b6729d9 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
492a7532d8 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
b67dc726b1 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
8adc3488ac 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
b5ea937ee8 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
731a2cb152 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
9bfc1ff68c 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
41b0e03e7c We're missing none of these games, they just aren't here. 2002-10-08 20:15:30 +00:00
schweikh
7db6eff0eb 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
fb29191f96 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
bf5dfd3bb3 Fix spelling of Bismarck's name and remove duplicate
Bertrand Russell quotations.
2002-09-11 11:21:36 +00:00
jmallett
228b93ce82 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
31d77eaa65 Spell Ken Olsen's name the same way everywhere.
PR:		7434
2002-08-31 23:15:41 +00:00
jmallett
a059a854e9 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
2834981b50 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
4966efff7b Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
schweikh
5eefae432e 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
1f1f9bd75b 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
42ecfecabf Re-sort. 2002-08-09 19:54:11 +00:00
fanf
faccc3c40c Remove spurious quotes. 2002-08-09 19:31:27 +00:00
fanf
c3b1de26ed Correctly sort previous addition. 2002-08-09 19:30:20 +00:00
fanf
89c3e5c564 Some more advice from Dijkstra. 2002-08-09 19:08:02 +00:00
fanf
563b40203b Fix a couple of typos in a Dijkstra quote. 2002-08-09 19:00:10 +00:00
ru
a8adf98c82 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
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
dwmalone
e00a16ef8c Fix a typo.
PR:		40539
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
2002-07-14 22:50:12 +00:00
dwmalone
44dbe3e8f4 Fix a typo.
PR:		40523
Submitted by:	Andrew Stevenson <andrew@ugh.net.au>
2002-07-14 15:28:01 +00:00
peter
78ca5fd896 Fix whitespace botch in previous commit. 2002-07-09 06:47:29 +00:00
peter
6eb4916dee 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
8a4e84dbb3 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
ed708cd74d Use varargs for syserr().
Pointed out by:	snapshots.jp.freebsd.org warnings log.
2002-06-23 18:30:29 +00:00
jmallett
6fbcfaa27b syserr()'s first argument is not exit status, avoid dereferencing (char *)0
in printf(3).
2002-06-23 18:29:52 +00:00
mike
9b39ed7b94 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
aa868b9ee5 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
577d08fe7c Typo: s/Indomptable/Indomitable/
MFC after:	3 weeks
2002-05-31 13:26:56 +00:00
wollman
45d5a82bf1 Add used include of <stdlib.h>, copying style bugs from adjacent lines. 2002-05-30 21:28:58 +00:00
wollman
1116ad074f Fix preprocessor directive syntax (text after #endif). 2002-05-30 21:04:11 +00:00
alfred
a1f5896126 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
4b5c89df31 Comment out comments after #endif directives 2002-05-28 21:06:03 +00:00
alfred
1ee311b26d Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
2002-05-28 17:03:12 +00:00
bde
1af92dbd99 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
6063437945 Quiet some format string warnings by marking prototypes with
__printflike()

MFC After:	1 week
2002-05-28 06:12:31 +00:00
des
bc5da2aaa3 Comment out extra tokens after #else and #endif. 2002-05-23 00:38:07 +00:00
peter
b7bed4f09b Do not guess what a bool is, just use it. 2002-05-21 08:34:18 +00:00
dougb
00266d9f51 Correctly attribute a Douglas Adams quote, and remove a duplicate of
the same quote.
2002-05-15 04:35:27 +00:00
alfred
00909002b6 Fix warnings by commenting out text after #else/#endif. 2002-05-11 04:40:13 +00:00
obrien
570838e70a 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
c9b486b0a3 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
2790da8d06 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
fe94f05da8 More ispell fun 2002-04-30 10:13:42 +00:00
dougb
08a4243733 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
984aaf7fe5 Correct typo (is -> us). 2002-04-30 07:36:44 +00:00
jmallett
50116a633c 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
2c66f4a2cd Add one more here.
Submitted by:	Glen "Going to be a Daddy" Neff
2002-04-29 02:00:53 +00:00
jmallett
9f7f7d8d6e Remove a Kurt Vonnegut quote that appears in fortunes. 2002-04-29 01:44:16 +00:00
jmallett
6a589dc6a3 Spell out the name of Hunter S. Thompson. 2002-04-29 01:38:43 +00:00
jmallett
491ba39875 Sort one, remove some dupes. 2002-04-29 01:22:50 +00:00
jmallett
dc73f6bb73 Add something I found amusing when overheard, and a paraphrasal of it. 2002-04-29 01:05:23 +00:00
dougb
862db1562f 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
c424758ab6 Sort according to ../tools/do_sort 2002-04-29 00:33:30 +00:00
dougb
730253b82f * Add a quote about the differences between human and machine
understanding from Ellen Ullman.
* Add Rush Limbaugh's 35 Undeniable Truths of Life. The ordering
of the entries is due to the ../tools/do_sort script.
2002-04-28 23:34:25 +00:00
dougb
8153c8ffd9 * Add $FreeBSD$ to limerick and zippy
* Delete trailing white space in all its forms. In addition to being
bad style in general, it also causes formatting, and other problems
for various third party items (like xscreensaver) which use fortunes
for their own purposes.
2002-04-28 21:59:07 +00:00
jmallett
48130aa318 Kill one version of a limerick here.
Approved by:	The usual suspects on that IRC channel.
2002-04-28 21:16:32 +00:00
jmallett
7a14893b0a Kill some duplicates.
Kill an incorrectly duplicated Einstein limerick (thanks phk!)
2002-04-28 21:03:26 +00:00
jmallett
84f4e02d50 Kill one exact duplicate of a Hunter S. Thompson quote. Put on peril-sensitive
sunglasses for great evil, too.
2002-04-27 06:14:32 +00:00
jmallett
2f889e2d8f Death to duplicate fortunes. 2002-04-27 05:46:13 +00:00
ceri
27d773a57e There is no host called new.bbc.co.uk - fix url.
Reviewed by:	jkh
Approved by:	jkh, murray
MFC after:	3 days
2002-04-26 10:58:06 +00:00
wollman
8c92a55949 Sort. 2002-04-25 19:31:43 +00:00
wollman
b56f16922f Spell Fred Brooks's name right. 2002-04-25 19:27:40 +00:00
wollman
cbe4dc51aa Resort and suppress dupes. 2002-04-25 19:12:30 +00:00
wollman
5677848cb8 Add a few more aphorisms. 2002-04-25 18:53:41 +00:00
wollman
60c9632723 Add some of uncontroversial fortunes from my files. 2002-04-25 03:20:27 +00:00
tg
a82580a668 Add some fortunes and re-order the Feynman problem solving algorithm.
Thanks to gsutter for the quotes.

Reviewed by:	jkh
2002-04-24 12:15:00 +00:00
des
4d6b787d2d Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
roam
5f4f4e1cd6 Fix a segfault if 'wear' is used without an argument or with
an argument that is not a valid word from the battlestar dictionary.

PR:		36992
Submitted by:	Ceri Davies <ceri@FreeBSD.org>
Reviewed by:	dd
Approved by:	dd, silence on -audit
MFC after:	2 weeks
2002-04-15 17:27:34 +00:00
charnier
21bbb17290 End of comment was missing at FreeBSD Id line. Switch to FBSDID. 2002-04-12 20:16:15 +00:00
joe
8521ea258d Add a few more tips, and tweak a couple.
PR:		misc/34039
2002-04-01 08:53:21 +00:00
joe
690f668306 Augment the BLOCKSIZE tip. (Based on the PR with slight changes by myself).
PR:	misc/34039
2002-04-01 08:43:58 +00:00
jhb
13471ccf6b Add a new fortune seen in the sig of an e-mail.
Submitted by:	ue (indirectly)
Approved by:	eivind
2002-03-29 21:32:08 +00:00
imp
4398e87add o remove __P 2002-03-24 01:09:35 +00:00
schweikh
c91815c777 Remove a duplicate with a typo.
MFC after:	3 days
2002-03-23 22:10:02 +00:00
dd
1dfa38ad29 Assorted mechanical fixes.
PR:		34790
Submitted by:	Mike Makonnen <mike_makonnen@yahoo.com>
2002-03-09 04:38:25 +00:00
phk
5334779cd0 Add one.
Submitted by:	jedgar
Reviewed by:	The usual gang of idiots in that IRC channel.
2002-02-25 21:52:34 +00:00
bde
c78b77dbd0 #include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.

Sorted includes.  Removed some unused includes.
2002-02-25 01:50:43 +00:00
billf
cb7151318e BDECFLAGS
Reviewed by:	md5(1)
2002-02-23 10:44:04 +00:00
billf
e5774765bd KNF -> ANSI function declarations
Reviewed by:	md5(1)
2002-02-23 10:35:25 +00:00
billf
1bc6f85fc6 KNF to ANSI function declaration, silence a warning 2002-02-23 10:21:19 +00:00
billf
a79402e12e warning fixes, mostly type matching 2002-02-23 09:59:45 +00:00
billf
d9e0760810 convert from KNR to ANSI function declarations
Reviewed by:	md5(1)
2002-02-23 09:53:27 +00:00
billf
5c90e6187f staticize functions and variables
change function declarations to ANSI
change a variable that stores sizeof() values to size_t
use return to escape the end of main(), not exit(3)
2002-02-21 18:13:31 +00:00
billf
e0e0b5d382 use the typedef 'ubig' to declare pr_limit, not what ubig is typedef'd
to be.

PR:		misc/35181
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after:	3 days
2002-02-21 17:33:56 +00:00
mike
bcee06d42c o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
  Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
  and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
2002-02-18 20:35:27 +00:00
imp
8ad412b83c Fix last second botch of adding $FreeBSD$. 2002-02-18 05:40:54 +00:00
imp
24cd0a3c91 Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
2002-02-18 05:15:19 +00:00
keramida
7e8c393af1 Add a tip about pkg_info and checking for multiple installed versions
of a package/port.
2002-02-11 03:45:29 +00:00
bde
c38eb4d60a Don't declare our own common version of the library variable `ospeed'.
Include <termcap.h> to get its declaration.  Our initialization of it
is still dubious, but it agrees with ncurses' documentation of it
(none) and with ncurses' recently fixed internals for it (old speeds
from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
2002-02-02 09:50:45 +00:00
bde
96287e14a7 Don't declare the library variable `ospeed' without even getting its
type correct.  Include <termcap.h> to get its declaration.  Our
initialization of it is still dubious, but it agrees with ncurses'
documentation of it (none) and with ncurses' recently fixed internals
for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite
documentation for it.
2002-02-02 09:37:20 +00:00
bde
beb5f651fb Don't declare our own common version of the library variable `ospeed'
without even getting its type correct.  Include <termcap.h> to get its
declaration.  Our initialization of it is still dubious, but it agrees
with ncurses' documentation of it (none) and with ncurses' recently
fixed internals for it (old speeds from <sys/ttydev.h>) and with the
4.4Lite documentation for it.
2002-02-02 09:32:09 +00:00
tg
1393424475 Clean up G. B. Shaw quotes:
- fix missing punctuation,
- remove duplicates in fortunes2,
- don't abbreviate first names.

Remove duplication of Shaw's principle in fortunes2.
2002-01-07 13:47:22 +00:00
grog
71ead87ba6 Correct typo. 2002-01-01 00:50:30 +00:00
roam
7ee6de3f93 Fix a typo. While 'iff' might make sense in a mathematics-related text,
'if and only iff' does not.

PR:		33242
Submitted by:	Eric Yu <ericyu@mail2000.com.tw>
2001-12-27 13:33:10 +00:00
wilko
9562ac6964 A case of ninfo (non-info)
Submitted by:	Hans.VanSluis@compaq.com
MFC after:	1 month
2001-12-20 17:25:45 +00:00
ru
37468b69ca Install files via FILES. 2001-12-17 15:23:57 +00:00
ru
bbef88e1a5 FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
mikeh
6533010035 Modify tip that no longer applies for ftp(1). 2001-12-17 08:16:14 +00:00
wilko
9595eb4702 Unix: Just Say No..
Obtained from:	Jan.Hendriks@Compaq.com
MFC after:	3 days
2001-12-12 09:49:02 +00:00
keramida
dc92c1b9ca Be more specific in an example of fortune's -e option.
PR:		32085
Submitted by:	setantae@submonkey.net <setantae@submonkey.net>
2001-12-08 04:54:55 +00:00
jhb
da874ed4bd Trim yet another duplicate fortune. 2001-12-05 22:40:44 +00:00
jhb
1e228cf900 Properly sort the last two fortunes alphabetically. 2001-12-05 22:39:00 +00:00
jhb
8c8cab7f3e Add a short commentary on libdialog by jkh. 2001-12-05 22:13:53 +00:00
jhb
fc999454cd Remove an incorrect duplicate Douglas Adam quote and properly format and
the correct duplicate.  Both versions also attributed the quote to the
wrong book.
2001-12-05 22:09:39 +00:00
jhb
9e00b40a61 Fix a typo and add a missing period. 2001-12-05 21:36:14 +00:00