Commit Graph

1094 Commits

Author SHA1 Message Date
ache
e1d97badbc Use arc4random_uniform(3) 2008-08-07 20:05:51 +00:00
ache
61c55e8d27 Use arc4random_uniform(3)
Obtained from:  OpenBSD
2008-08-07 20:02:42 +00:00
phk
62173de879 Add a quote too good to miss from:
http://www.schneier.com/blog/archives/2008/08/schneier_misquo.html

(and reorder one I appearantly didn't get in the right place last time.)
2008-08-02 20:11:56 +00:00
maxim
3348213ee8 o Alan Shepard was first American in the space; fix attribution.
o Correct Alan's surname.

PR:		bin/125812
Submitted by:	Derek Taylor [1], gavin [2]
MFC after:	1 week
2008-07-22 14:21:56 +00:00
phk
35ea526131 Unmangle an E.W.Dijkstra quote. 2008-07-14 18:45:06 +00:00
phk
55dcd10be4 Apply learning from RAIEC (Redundant Array of Independeng English Courses)
kindly provided by four different correspondents since my last commit.
2008-07-07 10:04:16 +00:00
phk
b754e07b66 Two quotes too good to miss. 2008-07-05 08:54:58 +00:00
wollman
0ed5f14f61 Months in English are capitalized (even when abbreviated). 2008-06-25 04:56:08 +00:00
phk
24cfc84964 +Computers can't cruise. Meandering is a foreign concept to them.
+The computer assumes that all behavior is in pursuit of an ultimate
+goal.  Whenever a motorist changes his or her mind and veers off
+course, the GPS lady issues that snippy announcement: "Recalculating!"
+               -- Joel Achenbach (www.slate.com, 20 jun 2008)
2008-06-23 20:27:37 +00:00
scf
c25b436504 Fixed the output grammar to properly speak non-terminal dits.
Updated Lyndon Nerenberg's radio callsign and E-mail address.

PR:		bin/7868
Submitted by:	Lyndon Nerenberg <lyndon@orthanc.ca>
MFC after:	1 week
2008-06-08 19:35:47 +00:00
remko
64ffd17398 Remove a quote about the instant-workstation, this port
has been removed ages ago.

PR:		docs/124166
Submitted by:	keramida
Prodded by:	novel,keramida
2008-05-31 18:07:16 +00:00
phk
6f0b87d389 This bloke has his priorities straight:
+"Can you be more stupid than aggravating the judge AND your lawyer?
+No? Oh yes you can: You can aggravate the whole kernel community."
+               -- Alexander Lyamin (about Hans Reisers murder trial)

Found at: http://www.news.com/8301-10784_3-9925607-7.html?tag=nefd.top
2008-04-29 13:02:21 +00:00
yar
fe216cb310 Add a missing quote symbol. 2008-04-26 22:15:03 +00:00
yar
d250673e6a Just met Kurt Vonnegut's quote remarkably relevant
to open software development (as well as to the other
kinds of human activity.)
2008-04-26 22:12:31 +00:00
yar
42186e4f70 Put back the quote from Chinggis Khan removed in rev. 1.259.
The quote predated rev. 1.232, which rev. 1.259 was to correct;
therefore it was protected by the "Don't remove fortunes" rule.

Noticed by:	ceri
Pointy hat to:	yar
2008-04-03 10:22:56 +00:00
ganbold
142c75022d Improve some quotes of Chinggis Khan.
Remove militant and moralized quotes of Chinggis Khan.
Add one more quote of Chinggis Khan.

Reviewed by: yar
Approved by: keramida(mentor)
2008-03-31 10:28:09 +00:00
dds
c29fa92243 Fix typo. 2008-03-03 10:06:52 +00:00
yar
81520a3e82 Add another very relevant quote from "The Elements of Programming Style"
by Kernighan and Plauger.
2008-02-28 15:16:24 +00:00
yar
429cd30f27 It was Plauger, not Ritchie, who co-authored both editions
of "The Elements of Programming Style".  Also spell the name
of the book properly.
2008-02-28 15:12:05 +00:00
ru
2aa5a61fd3 getopt(3) returns -1, not EOF. 2008-02-19 07:09:19 +00:00
des
512275f6c4 A real gem from freebsd-current@ 2008-01-10 14:51:24 +00:00
schweikh
d65b2b4159 Typo; s/relied/replied 2008-01-07 10:31:17 +00:00
dougb
d317da326d Fix a few small typos, and remove one duplicate.
I'm intentionally not sorting this file since it won't be added to.
(Although, if it were sorted the duplicate would have been easier to see.)

:)
2007-12-31 18:38:32 +00:00
wilko
84caa23bad Aussie New Years wish 2007-12-28 17:57:25 +00:00
schweikh
e3b63ab417 Typos corrected. 2007-12-25 16:36:52 +00:00
wilko
602d82ddca On Christmas lights. 2007-12-23 16:31:05 +00:00
julian
a2af805019 Warner lets a good one out.. 2007-12-21 00:56:16 +00:00
des
da17d8d478 Typo 2007-12-14 21:58:58 +00:00
wes
c6ebd74e98 Add my all-time favorite quote, from one of my all-time favorite people. 2007-12-14 01:47:11 +00:00
dougb
d030746b0b A few more cleanups. 2007-12-09 01:00:11 +00:00
dougb
a9c785f085 The ../tools/do_sort script could not differentiate between
a few very slightly diffrent versions of tcsh prompts, so
restore the 2 that were lost, and consolidate them all in
a way that will prevent them from being lost again.
2007-12-08 00:20:33 +00:00
dougb
6bd01c70a2 Combine the fortunes-o.real and the fortunes2-o file, as was done
with fortunes and fortunes2 2 years and 2 days ago. The fortunes2-o
file was brought in with the original import of the 4.4 Lite games
directory, but has always consisted in large part of fortunes
duplicated from other files.

The combined size of the two files is still only 631K, or less
than 1/3rd of the size of the fortunes file.

Combining them has the added benefit of making the fortunes from
fortunes2-o visibile to fortune(6)'s -m option.

This change should probably not be MFC'ed beyond RELENG_7.
2007-12-07 22:56:10 +00:00
dougb
8248da9b7f Sort these files using: sh ../tools/do_sort < $file > $file.sorted
This greatly aids in detecting duplicates, among other things.
2007-12-07 22:41:39 +00:00
dougb
a738f66c05 This is a massive cleanup of the fortune files, including removal
of many duplicates, formatting/whitespace fixes, spelling fixes,
and a host of others. Note: No fortunes were intentionally removed
(other than duplicates) as part of this cleanup. In removing dupes
I tried to be generous in not removing similarly worded fortunes
that had even slightly different punch lines.

Duplicates were resolved as follows (in this order):
* + limerick		-> limerick
* + fortunes-o.real	-> fortunes-o.real
* + fortunes2-o		-> fortunes2-o
* + zippy		-> zippy
murphy + fortunes	-> fortunes

In correcting spelling I've tried to leave colloquial variations
(especially British'isms) intact, as well as to not "correct"
errors that are part of the joke.

In fortunes and fortunes2-o I combined a couple of fortunes that
were adjacent to each other that seemed like they should have
originally been combined, and split a couple that seemed like they
should have originally been split.

Miscellaneous:
1. Fixed underlining
2. Capitalized proper names
3. Removed quotation marks from "freestanding" quotes for consistency
4. Added quotation marks to QOTD fortunes that needed them
5. Corrected or added many attributions
6. Removed apostrophes from trailing 's' that are plural, not possessive
7. Updated the path to fortune stuff included in some of the jokes
8. Updated several fortunes to their original version, and added attribution
9. Split up compound words that ispell tripped over
2007-12-07 22:28:08 +00:00
dougb
f58287ad3e Add speller files for fortune files that did not have them,
and update the ones that already existed.
2007-12-07 22:27:04 +00:00
dougb
9dd0e8826f Add some quotes from the television show "Buffy the Vampire Slayer" 2007-12-07 22:22:35 +00:00
dougb
ceaefbbb9b Add the text of a sign that I've seen on other desks, and
always wanted to put on mine.
2007-12-07 22:21:37 +00:00
ru
efa644585c Revise the markup. 2007-11-07 12:08:03 +00:00
edwin
6700ec8520 After discussions with grog@ (mentor):
- When none of the directories in FORTUNE_PATH exist, abort instead
  of using the default FORTDIR.
- Little stylify changes.
- Add documentation about the FORTUNE_PATH variable.

MFC after:	1 week
2007-11-07 01:14:28 +00:00
edwin
b67c0e7d8f Another typo in the previous commited fix. That makes four typos
in one fortune of only 32 words. Based on that single ratio, there
are 50453 more typos in the rest of the fortunes file....

Noticed by:	Nate Lawson <nate@root.org>
MFC after:	1 week
2007-11-06 22:40:16 +00:00
edwin
6aff7d5aab games/fortune: add FORTUNE_PATH env var, so ports of fortunes can work sanely
This patch adds an environment variable FORTUNE_PATH, which
	works like PATH for fortune files.

PR:		bin/36867
Submitted by:	Alan Eldridge <ports@geeksrus.net>

[patch] fortune -e implementation bug

	Fix the behaviour of "-e file1 file2" to equally pick them
	instead of only picking the first one.

PR:		bin/70182
Submitted by:	Martin Kulas <coolaz@web.de>

MFC after:	1 week
Approved by:	grog (mentor)
2007-11-06 22:03:24 +00:00
edwin
9f312690bc [patch] Fortune typos, around line 57346 of fortunes datfile
Small typos -- saw in a fortune today that 'equipped' is
	spelled 'equpped'. Also, 'vacuum' is spelled 'vaccuum'.
	Corrected diff provided below.

PR:		misc/112049
Submitted by:	Seth Hieronymus <shieronymus@speakeasy.net>
MFC after:	1 week
2007-11-06 21:55:56 +00:00
dougb
3a538b738e Correct, add or improve attributions for, and add to quotations from
"The Wizard of Oz"

One duplicate was also removed that wasn't the right quote anyway
2007-10-28 07:02:10 +00:00
dougb
533fe0fffb Fix a couple of small typos, and remove a duplicate 2007-10-21 05:16:52 +00:00
dougb
0141a749e7 Change to the original version of the poem titled "The Guy in the Glass,"
and add the proper attribution. Also add an explanation for the Middle
English word used in the first line.
2007-10-21 05:15:02 +00:00
philip
986e6a6dc5 Remove duplicate. Was that a bug? :-) 2007-06-12 09:20:31 +00:00
ceri
845e66c79e Correct typo. 2007-06-06 11:12:56 +00:00
dougb
663d795614 Correct two small typos 2007-05-31 20:16:46 +00:00
kris
c72e32f85b Line wrap previous entry
Submitted by:	des
2007-03-30 04:31:53 +00:00
kris
84d0794e0a Add some more random offensive quotes. 2007-03-29 08:08:34 +00:00
kris
b031f4246d A note from Peter Wemm about how to tell the difference between amd64 and
ia64.
2007-03-29 07:49:59 +00:00
kris
10e3f8f9e0 Dialogue gem from Deadwood 2007-03-29 07:40:49 +00:00
gabor
d101cd655d - Fix typo
PR:		bin/110648
Submitted by:	Seth Hieronymus <shieronymus@speakeasy.net>
Approved by:	keramida (mentor)
MFC after:	3 days
2007-03-26 11:44:46 +00:00
philip
3b33e7a4f8 Add Wise Words from Colin on irregular verbs and code quality. :-)
Submitted by:	cperciva
2007-01-11 15:19:53 +00:00
dougb
e8188b5da1 More minor cleanups:
1. Fix small typo "retorted ." -> "retorted."
2. Remove from fortunes a story that is duplicated in fortunes2-o
3. Remove from fortunes and fortunes2-o Zippy the Pinhead quotes
that are already in the zippy file.
4. ... therefore remove zippy from fortunes.sp.ok
5. Remove a duplicate in the zippy file.
2007-01-06 22:04:46 +00:00
dougb
04d777c063 Add the fortunes from the PR that were not already present.
Delete some duplicates found while double checking the new ones,
and fix a typo.

These haven't been sorted yet, but will be in a future commit.

PR:		ports/40273
Submitted by:	Achim Patzner <ap@proxon.bnc.net>
2006-12-30 21:54:41 +00:00
grog
a88b552dfd Wisdom of Chinggis (Genghis) Khan.
Submitted by: Ganbold <ganbold@micom.mng.net>
2006-12-13 00:33:39 +00:00
maxim
86ce72fe0a o Fix typo: manger -> manager.
PR:		misc/106253
Submitted by:	Niclas Zeising
MFC after:	1 week
2006-12-03 15:25:55 +00:00
maxim
b12b6ca022 o /stand/sysinstall -> /usr/sbin/sysinstall.
PR:		conf/106254
Submitted by:	Simon Olofsson
MFC after:	1 week
2006-12-03 15:22:45 +00:00
keramida
5d8789ffbe Squash a typo.
Submitted by:	Miltiadis Margaronis <mmargaron@gmail.com>
2006-10-30 12:01:57 +00:00
phk
b635902443 It so happens that everything that is stupid is not unconstitutional.
-- Supreme Court Justice Antonio Scalia
2006-10-23 13:25:17 +00:00
phk
6efba551ce Voltaire again. 2006-10-20 18:12:25 +00:00
chinsan
f0c87a1aba Add a tip on "how to strip UTF-8 BOM"
Approved by:	delphij (mentor)
2006-10-09 04:11:34 +00:00
phk
c7ea6e67a1 Add a delightful typographic gem I discovered on page 143 in Edward
Tuftes book "The Visual Display of Quantitative Information"

The constant width font does not quite do the typeset original justice,
but it is is good enough for a fortune.
2006-10-07 08:29:20 +00:00
schweikh
28bd6c8699 Correct typo. 2006-09-27 19:20:43 +00:00
phk
13a720a4b7 Too many good quotes flying by these days. 2006-09-17 21:36:16 +00:00
wilko
28c96423b2 visionary thoughts..
MFC after: 1 week
2006-08-27 14:29:10 +00:00
yar
209e4786e7 Commit the results of the typo hunt by Darren Pilgrim.
This change affects documentation and comments only,
no real code involved.

PR:		misc/101245
Submitted by:	Darren Pilgrim <darren pilgrim bitfreak org>
Tested by:	md5(1)
MFC after:	1 week
2006-08-04 07:56:35 +00:00
phk
6139cbea69 And now without typo. 2006-07-10 16:53:32 +00:00
phk
dceeb25886 Add a good quote that gets used a lot in the debate about global
warming right now:

It is difficult to get a man to understand something when his salary
depends upon his not understanding it.
                -- Upton Sinclir
2006-07-10 16:30:46 +00:00
markm
8edb3edf3a More stale maintainer. 2006-07-09 20:26:36 +00:00
phk
664c65a659 +To create quality software, the ability to say no is usually far
+more important than the ability to say yes.
+               -- Michi Henning
+%
2006-06-20 08:34:36 +00:00
grog
bc433053d0 Burying UNIX--a quote by Rob Pike,
Seen on The UNIX Heritage Society mailing list.
2006-06-12 23:28:52 +00:00
philip
716b0c76f3 Add two little nuggets of wisdom I picked up at work today:
The three most dangerous things in the world are a programmer with a
  soldering iron, a hardware type with a program patch and a user with
  an idea. -- The Wizardry Compiled by Rick Cook

  and

  Debugging is anticipated with distaste, performed with reluctance, and
  bragged about forever. -- Button at the Boston Computer Museum

I wonder why people call me a cynic. ;-)
2006-06-12 21:02:19 +00:00
wilko
f0d8cb5d0d Who am I to correct the native speakers... anyway, s/council/counsel/
Noted by: des
2006-06-12 13:44:17 +00:00
wilko
6ede61a908 Any sufficiently simple directive can be obfuscated beyond reason
given proper legal council.

- Alfred Perlstein
2006-06-12 07:56:33 +00:00
dds
99d1c6dae6 Layers are for cakes, not for software.
-- Bart Smaalders

From Performance Anti-patterns. ACM Queue 4(1):44-50. February 2006.
(Author confirmed via email that the quote is his own).
2006-05-28 06:16:15 +00:00
phk
deb189a7f1 In our system there's no intermediate step between a definitive Supreme
Court decision and violent revolution.
                -- Al Gore (New York Magazine, May 29 2006)
2006-05-25 11:21:40 +00:00
phk
66026e8c8b To save you all the trouble with CVSWEB:
Peter Fellgett's wildcard recipe:
       Into a clean dish, place the dry ingredients and add the
       liquids until the right consistency is obtained. Turn out
       into suitable containers and cook until done.
2006-05-17 11:00:49 +00:00
wilko
4ec74550a2 Go figure this error...
Submitted by: Thomas Beha
2006-05-09 08:28:16 +00:00
dds
aa8d2024b9 Add attribution: the quote comes from Perlis's Paradigms of AI Programming
p. 348.  See http://www.norvig.com/Lisp-retro.html
2006-04-24 12:13:02 +00:00
schweikh
459f95e73c Remove a corrupted fortune ending in line noise. Even googling did not
turn up a non-corrupted version, else I would have restored it.
(No, it's not the one that uses line noise intentionally.)
2006-04-17 12:14:46 +00:00
maxim
fa23d639eb o s/you health/your health/.
PR:		conf/95810
Submitted by:	Gavin Atkinson
2006-04-15 17:07:32 +00:00
ache
4997b369b9 1) Fix hang at the end of line buffer (PR 95715)
2) Localize

PR:             95715
Submitted by:   Li-Lun Wang <llwang@infor.org> (slightly edited by me)
2006-04-14 17:32:27 +00:00
ru
388e590f95 Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
wilko
35856d05d2 Her name was Anne Frank, not Ann Frank.
MFC after: 1 month
2006-02-19 21:46:29 +00:00
grog
98d9669e85 Wisdom about the Open Source ecosystem.
Submitted by: Mårten Mickos
2006-02-16 09:30:12 +00:00
grog
b8874ce616 Clarify time frame of jkh quote. 2006-01-31 21:51:54 +00:00
grog
72d0b1b091 Add wisdom from jkh. 2006-01-31 21:41:32 +00:00
dds
6ea6067b3e Never do programs contain so few bugs as when no debugging tools
are available.
                -- Niklaus Wirth

Pointed by: Panagiotis Louridas
2006-01-28 09:19:20 +00:00
cperciva
219b28b1e3 Add some wisdom from Garrett Wollman concerning error codes returned by
system calls.
2006-01-27 21:06:19 +00:00
matteo
e660c2ac95 Remove some duplicated entries
PR:		conf/81924
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
Approved by:	philip (mentor)
MFC after:	3 days
2006-01-21 14:16:01 +00:00
schweikh
758de8f2ef Correct some typos. 2005-12-26 16:09:58 +00:00
wilko
c5fcfaa6d9 We will not be responsible for damage to equipment, your ego, county wide
power outages, spontaneously generated mini (or larger) black holes,
planetary disruptions, or personal injury or worse that may result from the
use of this material.
                -- taken from Samuel M. Goldwasser's
                   Sam's Strobe FAQ Notes on the Troubleshooting
                   and Repair of Electronic Flash Units and Strobe Lights
2005-12-25 23:29:59 +00:00
wilko
130f918f03 "A life lived in fear is a life half lived" 2005-12-24 17:55:33 +00:00
dds
101ce2716d Add missing John Gilmore quote. 2005-12-12 15:47:33 +00:00
dougb
0ceccd5c73 Canonify, correct, and add citations related to Douglas Adams' work.
Correct a quotation from Hitchhiker's.
2005-12-05 06:47:23 +00:00
wes
b30ab4a9e9 Add another 'best quote about XML evar!' courtesy Pav Lucistnik (pav@) 2005-12-01 04:28:07 +00:00
wilko
e0572c0094 correct typo 2005-11-23 09:00:35 +00:00
wilko
e37baf09aa add witty remark about serious thought.
MFC after: 2 days
2005-11-21 21:42:43 +00:00
ru
61c0ca0abb Add /dev/speaker support to amd64.
The following repo-copies were made (by Mark Murray):

sys/i386/isa/spkr.c -> sys/dev/speaker/spkr.c
sys/i386/include/speaker.h -> sys/dev/speaker/speaker.h
share/man/man4/man4.i386/spkr.4 -> share/man/man4/spkr.4
2005-11-11 09:57:32 +00:00
phk
899db1aa12 Fix typo 2005-10-19 06:37:39 +00:00
phk
dd29d22ebf Bruce Schneier is underrepresented in the fortune file. 2005-10-18 20:37:44 +00:00
philip
971881d853 Add a valuable piece of Usenet advice about storing passwords. :-)
Obtained from:	jpd on comp.unix.bsd.freebsd.misc
2005-10-17 14:27:37 +00:00
schweikh
cb53faafbb Nuke duplicates found via fuzzy logic:
- typos
- different spelling, punctuation, whitespace
- phonetically similar names
- words rearranged ("was once" vs "once was" etc)

If a limerick appeared as a single one and as part of a
double or triple, the singleton was removed.

With a little help from: sort limerick|uniq -d
This still turns up 20 lines being repeated, but the respective
limericks are sufficiently unique to leave them in (i.e. most differ
in at least two lines).

Nuke spaces in front of colons while I'm here.
2005-09-28 18:18:29 +00:00
krion
078b3f89c7 Whitespaces cleanup.
PR:		conf/81926
Submitted by:	Gavin Atkinson <gavin.atkinson at ury dot york dot ac dot uk>
2005-09-23 12:15:52 +00:00
dougb
92ca7fac06 Remove a fortune that is duplicated verbatim in fortunes2-o 2005-09-21 19:04:10 +00:00
schweikh
3602619d05 Remove a duplicate and fix a typo. 2005-09-10 08:27:07 +00:00
wilko
eaaaa47e6a Notable quote by Theodore Roosevelt.
MFC after: 3 days
2005-09-06 14:59:55 +00:00
schweikh
f7ffe965a1 Punctuation corrections. 2005-08-30 16:33:39 +00:00
wilko
ca93f2e965 About life 2005-08-24 17:45:09 +00:00
grog
61c0c16143 Add relationship between offence and beer.
Submitted by: philip
2005-08-22 06:03:40 +00:00
wilko
8c74153b9c -- storage engineer on the virtues of FC-AL 2005-08-19 17:29:43 +00:00
murray
7052a987d7 Move the "yiddish cooking has killed more jews than Hitler" quote back
to the offensive file.

The other Hitler quotes/references stay in the unoffensive file, as
they offer more historical perspective than this one.

Approved by:	core
2005-08-19 16:23:01 +00:00
wilko
4203da7e61 wisdom about 'beachhead' 2005-08-15 18:15:19 +00:00
wes
40bd0121f5 Add the best quote evar! about XML. 2005-08-14 03:49:32 +00:00
schweikh
a70b60a035 Be a nice community member and honor the request for backout after
stirring the hornet's nest. This issue will be resolved by core.
2005-08-10 17:18:07 +00:00
schweikh
860259d8d5 Move the Hitler quotes and some references to him to the "offensive" file.
I did not bother to sort them all. If you have a script, feel free.
2005-08-08 19:58:26 +00:00
schweikh
6781db2c45 While I find the Hitler quotes extremely questionable, I'm enough
of a pedant to properly spell the monster's first name.
2005-08-08 18:38:30 +00:00
krion
0c4a5c08a5 Fix locations of some links.
Word smithing.

PR:		conf/81923
Submitted by:	Gavin Atkinson <gavin dot atkinson at ury.york.ac.uk>
2005-08-06 18:13:30 +00:00
ache
ebe5e23d16 My change, namely srandomdev() addition, was backed out even without
discussing with me, and I obviously disagree seeing that afterwards
(srandomdev() back out not fix any thing, it can only mask the problem).

So, back out the back out and return srandomdev().

People who have problems with repeated quotes should use -D fortune
option for debugging to see is the problem in (1) /dev/random initialization
or in (2) fortune code itself.

I will be glad to help, but I can't reproduce repeated quote situation
on my machine.

In either case found, (1) or (2) should be fixed instead of removing
srandomdev().
2005-07-23 18:24:47 +00:00
grog
6d42881fd8 Use a random number to seed the random number generator. Goodby, Rush
Limbaugh.

This should have already worked properly if random(4) has been
initialized correctly, but it seems that this is frequently not the
case.  Instead, use the microsecond part of the current time as the
seed.
2005-07-23 01:46:50 +00:00
jhb
6c5bcb1fd2 Correct an error in the previous revision. RAND_MAX is the maximum value
for rand(3), not random(3).  random(3) is defined to return values between
0 and 2^31-1, so add a local RANDOM_MAX constant to this file that is
defined as 2^31-1 and use that in place of RAND_MAX.

Reviewed by:	bde
Approved by:	re (dwhite)
MFC after:	1 week
2005-06-22 15:24:00 +00:00
phk
aaea0db099 Snoopy in quality of life. 2005-06-10 08:58:44 +00:00
ru
c951593ab8 Fix markup nits. 2005-06-07 21:43:16 +00:00
joerg
999d3f2f2a Add Farnsworth support to morse(6).
(For those interested: this is intented to extend the space between
characters to help people learning morse code by giving the brain some
extra time for acoustical pattern recognition.)

Note: I slightly cleaned up the submitted patch for minor stylistic
issues, and changed the default for the new -c option to be identical
to -w.

Submitted by:	"Stephen P. Cravey" <cravey@gotbrains.org> N5UUU
MFC after:	2 weeks
PR:		bin/81831
2005-06-07 19:01:41 +00:00
wilko
0f06e53c5f When operating the diopter adjustment knob with your eye to the view-
finder, be careful not to put your fingers or fingernails in your eye.
                -- found in the users manual of the Nikon D2x camera,
                   a camera for professional photographers
%
2005-06-06 15:43:00 +00:00
phk
70a0447f0b Hand it to spaff, he knows how to say it:
Using encryption on the Internet is the equivalent of arranging
an armoured car to deliver credit card information from someone
living in a cardboard box to someone living on a park bench.
		-- Gene Spafford, Purdue University.
2005-05-29 19:29:19 +00:00
jhb
8af0c36809 Fix for 64-bit platforms. random() returns values between 0 and RAND_MAX,
and RAND_MAX != LONG_MAX on 64-bit platforms.

PR:		amd64/81279
Submitted by:	Vivek Khera vivek at khera dot org
Submitted by:	Adriaan de Groot groot at kde dot org
MFC after:	1 week
2005-05-27 15:29:01 +00:00
phk
1a9b6b826f Remove duplicate and attribute Weinbergs second law to the right weinberg. 2005-05-13 15:51:56 +00:00
schweikh
ad38844990 Nuke a corrupted duplicate.
Some white space and punctuation fixes.
2005-05-07 17:56:50 +00:00
stefanf
36030d1508 Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.
PR:	62456
2005-05-01 19:34:22 +00:00
schweikh
f09f100e44 s/which/witch 2005-04-24 15:31:11 +00:00
trhodes
a9041ad05e Enforce style.Makefile(5).
Glanced at by:	ru (some time ago).
2005-04-22 18:57:32 +00:00
phk
f48ecbb639 Data is not information;
Information is not knowledge;
	Knowledge is not wisdom
			-- Gary Flake
2005-04-13 06:11:49 +00:00
schweikh
c699ae098b s/self-distruction/self-destruction 2005-04-10 10:53:26 +00:00
phk
831661f9ab He who receives ideas from me, receives instruction himself without
lessening mine; as he who lights his taper at mine receives light
without darkening me.
       -- Thomas Jefferson on patents on ideas.
2005-03-22 07:41:22 +00:00
murray
6213f21b7b Typo.
PR:		conf/77178
Submitted by:	Andras Jako <jako.andras@eik.bme.hu>
MFC after:	1 week
2005-03-19 02:44:41 +00:00
philip
48e4a931e3 These words, while not spoken about anything even slightly related, are very,
very applicable when waiting for world to compile *grin*

Impatience award to:	philip
2005-03-14 21:50:25 +00:00
brueffer
ee036d3944 Remove dublicate entries and correct apostrophe abuse.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
2005-03-13 13:20:07 +00:00
yar
7d3d18d907 Add a story about confusing information theory with thermodynamics. 2005-03-07 06:05:14 +00:00
phk
fb064b21bb Another good Dijkstra quote. 2005-03-04 09:47:22 +00:00
phk
1f5c20773e Add missing quote. 2005-03-03 18:32:50 +00:00
phk
f9eb25ee6d Wisdom from 1972. 2005-03-03 18:07:23 +00:00
yar
ada215ee45 Give a better advice on how to convert DOS text to UNIX text.
The former tip used `col -bx', which would not only discard
CR's, but also expand TAB's and remove BS'en.  This effect is
not always wanted.

MFC after:	1 week
2005-02-28 17:05:00 +00:00
yar
74b299286f Add a neat remark on the popular belief that the universe is a safe
the man ought to break open and rob.
2005-02-26 12:49:03 +00:00
ru
0b408ef0dc Fixed warnings and bump WARNS to 6. 2005-02-23 20:59:03 +00:00
ru
327b7b9ca4 Bump WARNS to 6. 2005-02-23 20:42:47 +00:00
ru
9dda858476 Make the on-disk format of .dat files produced by strfile(8)
architecture independent.  Besides the fixed-width types in
the header, the offsets are now stored as 64-bit off_t (also
in big endian format).

Tested on:	i386, amd64, sparc64, ia64
2005-02-17 18:06:37 +00:00
ru
6b6b8c04f6 Expand contractions. 2005-02-13 23:45:54 +00:00