History log of /freebsd-10.1-release/games/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


269933 13-Aug-2014 gavin

Merge r268637 from head:

fortune(8): Search fortune files installed by ports/packages as well as
those supplied by the base system.

PR: 191800
Submitted by: Andy Kosela


268755 16-Jul-2014 gavin

Merge r268295 from head:
Fix equation and limerick to be correct. NetBSD fixed this 14 years ago
(src/games/fortune/datfiles/fortunes2 1.7).

PR: 188714
Submitted by: ksmakoto dd.iij4u.or.jp


265037 28-Apr-2014 jmmv

MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies.

This is "make tinderbox" clean.


261995 16-Feb-2014 marcel

MFC r259057:
Remove "Warning: file \"%s\" unreadable". It was introduced with revision
44599 and turned less than useful ever since fortunes-o.dat got removed.


261994 16-Feb-2014 marcel

MFC r259056:
Fix r203922 for "fortune -o".


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256019 03-Oct-2013 glebius

Refresh the tips for the new pkg system.

Reviewed by: bapt
Approved by: re (hrs)


248580 21-Mar-2013 eadler

Remove a reference to instant-server which has been removed from the
ports tree in r313427.

PR: 177012
Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Approved by: bcr (mentor)


248200 12-Mar-2013 jhb

Remove fortunes-o from the base system. Debating what does or does not
belong in this file is not a useful exercise or conducive to producing a
high quality advanced operating system.

While here, simplify the make rules to autocompute BLDS and FILES from a
single DB variable.

Approved by: core
MFC after: 1 week


246362 05-Feb-2013 des

Remove political propaganda


243899 05-Dec-2012 eadler

Use Bernard Baruch's full name.

The words "old than" seem to be quoted as "older than" by some sources,
so use the more likely and grammatically correct text.

PR: docs/173868
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com>
Approved by: cperciva
MFC after: 1 week


243048 15-Nov-2012 jmg

fix a couple of spelling errors...


243036 14-Nov-2012 dim

In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it is
*not* a boolean).

MFC after: 3 days


242577 04-Nov-2012 eadler

Make OK_TO_WRITE_TO_DISK an envrionment variable instead
of a compile time option.

While here, don't differ based on the existence of LOCK_EX
which doesn't seem to have ever made a difference on FreeBSD.

Approved by: cperciva (from discussion)
MFC after: 3 days


242576 04-Nov-2012 eadler

Prefer the use of stdbool to custom defines.

Approved by: cperciva (from discussion)
MFC after: 3 days


241934 23-Oct-2012 eadler

Remove extra word:

Submitted by: many
Approved by: cperciva (implicit)
MFC after: 3 days


241847 22-Oct-2012 eadler

Free buf when its no longer used. This helps eliminate a static analysis
warning.

PR: ports/172566
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days


241846 22-Oct-2012 eadler

bcd isn't installed setuid.
caesar isn't installed setuid.

For the archaeologists:
it seems this call originally came from NetBSD PR 5970 and 5945

PR: 172566
Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Approved by: cperciva
MFC after: 3 days


241845 22-Oct-2012 eadler

Sysinstall has been removed from base.

Approved by: cperciva


241834 22-Oct-2012 eadler

Make do_uniq work with python3

Approved by: cperciva
MFC after: 3 days


241116 02-Oct-2012 eadler

Correct the tip about finding all the directories on the system
Add a tip about clearing the screen.
Make things more consistent by removing quotes around 'make search'

Approved by: cperciva
MFC after: 3 days


238879 29-Jul-2012 dougb

Add a couple of nice quotes from Edward Everett Hale


235227 10-May-2012 eadler

Partial revert of previous commit as some of the changes were not
newbie-friendly.

Requested by: jhb, gcooper
Approved by: cperciva (implicit)
MFC after: 3 days
X-MFC-With: r235209


235209 09-May-2012 eadler

Add a few new tips and update some old ones to more modern commands

MFC after: 1 week


233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


230644 28-Jan-2012 maxim

o Preserve argv[0] to use it later in usage().

PR: bin/164570
Submitted by: Klaus Aehlig
MFC after: 1 week


230131 15-Jan-2012 uqs

Reencode morse.c to UTF-8. This does not make it Unicode aware.

No changes in resulting object file. Moved user-visible symbols into
comment table, so you can see all chars, not just the ones matching your
(fallback) locale.


229403 03-Jan-2012 ed

Replace index() and rindex() calls with strchr() and strrchr().

The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.


228938 28-Dec-2011 dougb

1. Correct capitalization of the nobility particle for
Francois de La Rochefoucauld introduced in r228909 [1],[2]

2. Change c-cedilla introduced in the same commit to ASCII c since
non-UTF-8 terminals will choke on the non-ASCII text. [2],[3]

Pointed out by: bf [1]
Reviewed by: French-speakers on #bsdcode [2]
Requested by: uqs [3]


228934 28-Dec-2011 uqs

Prefer ASCII apostrophes over Unicode ones like the rest of the file.


228909 27-Dec-2011 dougb

1. Remove a bunch of duplicates. Usually this means removing them from
fortunes, but occasionally remove them from the other 2 files when
they are not offensive, or not murphy'ish enough.

Where the version in fortunes had better attribution and/or formatting,
copy it over.

2. Fix a few typos

3. Use the full name of François De La Rochefoucauld, fix one of his
quotes, and remove the duplicate of it.


228596 16-Dec-2011 dim

In games/factor/factor.c, fix a warning about a format string not being
a literal.

MFC after: 1 week


227101 05-Nov-2011 ed

Add static keywords to variables and functions where possible in games/.

This allows us to detect unused functions and variables and allows the
compiler to do a better job at optimisation.


226898 29-Oct-2011 dougb

Fix the text and attribution of the poem "Youth" by Samuel Ullman.

Our copy was a bastardization of the "older" (probably original?) and
shorter version of the poem; and the "newer" version that is better
known, and arguably more popular. Standardize on the latter.

Cf. http://www.bartleby.com/73/2099.html


222890 09-Jun-2011 dougb

Minor typo, fix 2 attributions


221909 14-May-2011 uqs

Convert a file to UTF-8. This only changes a character in the
copyright section and will not require UTF-8 for fortune(6).


221908 14-May-2011 uqs

fortune(6): fix typos and misspellings.

While here, drop words in the spelling files that are no longer used
anywhere.

Speling errors found via: codespell from Lucas De Marchi


221907 14-May-2011 uqs

morse(6): fix typos and space-before-tabs


219177 02-Mar-2011 nwhitehorn

Improve the distributeworld target in Makefile.inc1 and update the release
infrastructure to use it. make distributeworld can now be used without
preparing its environment first and installs games into its distribution
using the regular make distribute logic instead of post-processing with
a script.

Also add two new targets, packageworld and packagekernel, that tar up the
results of distributeworld and distributekernel (also new), respectively.


218650 13-Feb-2011 brucec

Move potentially offensive fortune to fortunes-o.

PR: bin/137702
MFC after: 3 days


216598 20-Dec-2010 uqs

factor(6): Check return values of BN_* functions.

Coverity Prevent: CID 4862, 8771, 8772, 8773


216239 06-Dec-2010 uqs

Drop advertising clause in manpages. It was done a long time ago
for the source code.

Discussed with: core


213573 08-Oct-2010 uqs

mdoc: drop redundant .Pp and .LP calls

They have no effect when coming in pairs, or before .Bl/.Bd


213287 29-Sep-2010 cperciva

Add advice to new fathers from Thomas Ptacek.

Suggested by: wilko
Approved by: Thomas Ptacek
Security: New parents often feel very insecure.


212168 03-Sep-2010 jmg

fix the move so that it matches what the rest of the internet
says about this game... This move also makes more sense...

MFC after: 1 week


211094 09-Aug-2010 fjoe

"whereis netscape" gives empty output for quite a long time already.
Suggest to use "whereis firefox" instead.


210827 03-Aug-2010 uqs

grdc(6): de-obfuscate the timekeeping of now/delay

- 'now' only contains current time readings
- delay is only used as parameter to nanosleep
- prev_sec contains the time_t of the previous loop iteration

Submitted by: bde
MFC after: 2 weeks


210809 03-Aug-2010 uqs

grdc(6): Partial backout of r210755

The previous revision was flawed in numerous ways:
- the if condition would depend on garbage stack values
- grdc(6) would loop n times, not n seconds. This only makes
a difference if it takes more than 1 second to recalculate/redraw
the display.
- style(9) violations

The following change adds argument checking and tracks the elapsed time
between loops explicitly and will exit after roughly n seconds.

While here sort headers and remove bogus #ifndef

Submitted by: bde
MFC after: 2 weeks


210755 02-Aug-2010 uqs

grdc(6): fix timekeeping for user-supplied value n

- Keep timespec 'now' and 'delay' separate to avoid confusion
- Increase user-supplied n to run _at least_ n seconds, not max n

PR: bin/149130 (based on)
Submitted by: Andy Farkas
MFC after: 2 weeks


210662 30-Jul-2010 uqs

Fix indention of attribution line for some recent additions.

MFC after: 3 days


210637 30-Jul-2010 uqs

Fix typo in pom(6) manpage

PR: docs/148825
Submitted by: Anatoly Borodin
MFC after: 1 week


210484 25-Jul-2010 dougb

Correct a Cecil Beaton quote

PR: docs/148916
Submitted by: Rob Farmer <rfarmer@predatorlabs.net>


210089 15-Jul-2010 emaste

Add -p option to have pom(6) print just the percentage, without extra text.

PR: bin/51070
Submitted by: Matt Koivisto mkoivisto sandvine com
MFC after: 1 week


209531 26-Jun-2010 dougb

Taken from actual police videos ...


209157 14-Jun-2010 uqs

random(6): avoid dead assignments

Found by: clang static analyzer


208732 02-Jun-2010 uqs

mdoc cleanup

Garbage collect unused sections, macros and arguments. Fix prologue and
remove empty lines.

Found by: mdocml


205995 31-Mar-2010 uqs

Sync fortunes with other *BSDs

- Spelling errors
- Typographical fixes
- Consistent attributions
- Use Jr. more consistently
- Capitalization of dictionary-like entries
- Sorting using tools/do_sort
- Remove duplicate fortunes
- Style according to the Notes file
- Reflect correct default fortune name in Notes
- Remove some no longer needed spelling hints
- Drop latin1 characters (sorry Mårten)

This is a partial sync against the DragonflyBSD sources, where a lot of
fixes from Free, Net and OpenBSD were merged previously. Only about 50%
of the changes originate from there, the rest was done by dougb and
yours truly.

Partial review by: wilko (earlier version), ed (dito)
In collaboration with: dougb
Approved by: ed (co-mentor)


205076 12-Mar-2010 uqs

Fix several typos in macros or macro misusage.

Found by: make manlint
Reviewed by: ru
Approved by: philip (mentor)


204360 26-Feb-2010 wilko

s/all ready/already/

Submitted by: ru@, gj@


204314 25-Feb-2010 wilko

On the (non)sense of legal disclaimers in emails.


204178 21-Feb-2010 uqs

Prefer exit(0) from main over return(0).

Although not explicitly mentioned in style(9), it allows for easier
grepping of exit points. This reverts part of r203926.

Requested by: des
Approved by: philip (mentor)


203932 15-Feb-2010 imp

Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.


203926 15-Feb-2010 uqs

fortune(6) switch to 3-clause BSDL; style(9)

This reduces the diff to other *BSD and makes it possible to actually
see the code differences.

Approved by: ed (Co-mentor)


203923 15-Feb-2010 uqs

games: make WARNS=6 the default, remove overrides

This also bumps factor, fortune, primes, and random to WARNS=6.

Approved by: ed (Co-mentor)


203922 15-Feb-2010 uqs

fortune(6) make WARNS=6 clean

Fixes taken mostly from DragonflyBSD.

Approved by: ed (Co-mentor)


203921 15-Feb-2010 uqs

morse(6) make WARNS=6 clean

Approved by: ed (Co-mentor)


203920 15-Feb-2010 uqs

grdc(6) make WARNS=6 clean and bump accordingly

Approved by: ed (Co-mentor)


203760 10-Feb-2010 delphij

Improve time precision for grdc(6):

Traditionally, grdc would obtain time through time(3) which in turn gets
only the second part of clock (CLOCK_SECOND), and sleep for 1 second after
each screen refresh.

This approach would have two problems. First, we are not guaranteed to
be waken up at the beginning of a whole second, which will typically
exhibit as a "lag" on second number. Second, because we sleep for whole
second, and the refresh process would take some time, the error would
accumulate from time to time, making the lag variable.

Make grdc(6) to use time(3) to get time only at the beginning, and sample
time in CLOCK_REALTIME_FAST granularity after refreshing, and use the
nanosecond part to caculate how much time we want to sleep.

PR: bin/120813
MFC after: 1 month


203703 09-Feb-2010 gnn

Add the definition of Mistakeholder


203479 04-Feb-2010 imp

Always compile in the speaker code. There's little savings by
omitting it, and other platforms may implement /dev/speaker in the
future.


202115 11-Jan-2010 gavin

Our standard "xterm" termcap entry supports colour, so this tip is redundant.
As it happens, "xterm-color" has just been an alias for "xterm" since
src/share/termcap/termcap.src 1.131 in September 2002.

PR: docs/132959
Approved by: ed (mentor)


201764 07-Jan-2010 dougb

For the now-infamous Rumsfeld quote:

Change "there're" to "there are" which is consistent with the vast
majority of on line references.

Remove a spurious trailing "

Update the citation text with a suggestion from des.


201627 06-Jan-2010 delphij

Fix build: getopt() returns int so use an integer to get the value.


201626 05-Jan-2010 stas

- Move potentially offensive quotes I committed recently to fortunes-o.
- Reference date.
- Be more clear on context.

Suggested by: dougb


201613 05-Jan-2010 edwin

Be able to specify a certain date and/or time for which to calculate
the phase of the moon.
While not worlds best improvements, it will help calendar(1) later on.


201601 05-Jan-2010 dougb

Remove more duplicates

Minor reformatting on a few


201477 04-Jan-2010 stas

- Add two particulary interesting quotes from the past decade.


201176 29-Dec-2009 ed

Use ANSI C function declarations.


201175 29-Dec-2009 ed

Use ANSI C function declarations.


199815 26-Nov-2009 fanf

Fix a performance bug in factor(6).

Check if large factor is prime before applying Pollard's algorithm;
fixes "factor 2147483647111311". Increase base if p-1 algorithm
reaches 1; fixes "factor 99999999999991".

Testcases from David A Bagley <bagleyd@tux.org>.
Fixes from Joseph Myers <jsm@NetBSD.org>.
Problem rediscovered by an attempt to factor my phone number.

A few other incidental fixes: correct a couple of factually incorrect
comments; use ident string macros; move from 4-clause to 3-clause
BSD licence (University of California copyright).

Obtained from: NetBSD


199025 07-Nov-2009 dougb

Properly sort a math fortune after the changes in r193486

Properly sort fortunes added in r174879 and r174959


199023 07-Nov-2009 dougb

Move Warner's very funny comparison of VCS to anal sex into fortunes-o


199021 07-Nov-2009 dougb

Remove the svn:executable property from this file


198921 04-Nov-2009 dougb

Fix not only the grammar, but also the formatting that makes the gag


198021 13-Oct-2009 ed

Make number(6) build with WARNS=6.


197797 06-Oct-2009 dougb

"Potluck Pogo" was a collection of Walt Kelly's "Pogo" cartoons
first published in 1955. "Putluck Pogo" seems to be a typo.


195726 16-Jul-2009 dougb

Fix several instances of spaces before commas, and one of a space
before a ).

PR: docs/136723
Submitted by: Ulrich Sporlein <uqs@spoerlein.net>
Approved by: re (kib)


193486 05-Jun-2009 edwin

Misc fixed to fortunes

PR: conf/112024
Submitted by: Niclas Zeising <niclas.zeising@gmail.com>
MFC after: 2 days


193467 04-Jun-2009 edwin

[patch] fortune(6): George Bernard Shaw quote fix

From the original PR:

s/milestones/millstones/
and less important..
s/man/Man/
Not every source I've seen capitalizes 'Man', but it seems
right. Uncapitalized 'man' would usually be preceded by
an 'a'. But I haven't seen any reference cite the orignal
source yet, so I can't say for sure.

http://quotationsbook.com/quote/31568/

PR: conf/131469
Submitted by: John Hein <jhein@timing.com>
MFC after: 2 days


193464 04-Jun-2009 edwin

[patch] fortune(6): file not Y2.01K compliant

Update the time in the fortune to make the joke a little bit more
realistic again: Bump year from 2009 to 2039.

PR: conf/129860
Submitted by: Alan Amesbury <amesbury@umn.edu>
MFC after: 2 days


189448 06-Mar-2009 phk

Too good to pass.


187110 12-Jan-2009 simon

netcat is "now" in base, so point people at nc(1) instead of the port.

MFC after: 1 week


183707 08-Oct-2008 phk

Another good day for historical quotes, Oliver Wendell Holmes brought to
you by Thomas L. Friedman.

(http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinion)


183691 08-Oct-2008 phk

A Wittgenstein quote according to David Ignatius
http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html


183494 30-Sep-2008 edwin

Remove empty directories recreated by the SVN conversion.


181615 11-Aug-2008 ache

Suggections from bde@
1) Split too long source lines
2) Portable code should not assume that null pointer == all-bits-0,
so back out prev. calloc() change.

Submitted by: bde


181527 10-Aug-2008 ache

All cosmetic.
1) Rename RANDOM_MAX to RANDOM_MAX_PLUS1 to not confuse with random()'s max
2) Use calloc() instead of zeroing fields explicitly
3) "too many lines" -> "too many delimiters" for err()


181412 08-Aug-2008 ache

1) Fix longstanding math bug with denominator > 1 (wrong probability).
Test case:
random -f some_small_file 10000
(in most cases must be no output)
2) Prevent number of lines > RANDOM_MAX (overflow or nothing may be
choosed) with EFBIG err()
3) After line is found, terminate list loop for -U case too,
since nothing to do in the rest of the loop left.


181410 08-Aug-2008 ache

I was confused a bit by the wrong construction with RAND_MAX
used in randomize_fd.c.
Although the max value is the same currently, RAND_MAX is for rand(),
not for random().
So move RANDOM_MAX const to the common file now, make it UL and
use in randomize_fd.c too.
(in any case its old value was 1 less then must be, as noted in
the prev. commit)


181409 08-Aug-2008 ache

1) Replace hardcoded RANDOM_MAX macro with wrong (1 less than must be)
value with ((double)RAND_MAX + 1)
2) For exit code increase valid denominator upper range from 255 to 256
since returned value is [0 .. denom - 1]


181396 07-Aug-2008 ache

Use __FreeBSD_version check since it is bootstrap tool


181389 07-Aug-2008 ache

Add reference to arc4random_uniform(3)


181386 07-Aug-2008 ache

Use arc4random_uniform(3)


181385 07-Aug-2008 ache

Use arc4random_uniform(3)

Obtained from: OpenBSD


181207 02-Aug-2008 phk

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.)


180694 22-Jul-2008 maxim

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


180512 14-Jul-2008 phk

Unmangle an E.W.Dijkstra quote.


180341 07-Jul-2008 phk

Apply learning from RAIEC (Redundant Array of Independeng English Courses)
kindly provided by four different correspondents since my last commit.


180286 05-Jul-2008 phk

Two quotes too good to miss.


179987 25-Jun-2008 wollman

Months in English are capitalized (even when abbreviated).


179960 23-Jun-2008 phk

+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)


179654 08-Jun-2008 scf

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


179459 31-May-2008 remko

Remove a quote about the instant-workstation, this port
has been removed ages ago.

PR: docs/124166
Submitted by: keramida
Prodded by: novel,keramida


178662 29-Apr-2008 phk

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


178605 26-Apr-2008 yar

Add a missing quote symbol.


178604 26-Apr-2008 yar

Just met Kurt Vonnegut's quote remarkably relevant
to open software development (as well as to the other
kinds of human activity.)


177879 03-Apr-2008 yar

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


177781 31-Mar-2008 ganbold

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)


176764 03-Mar-2008 dds

Fix typo.


176639 28-Feb-2008 yar

Add another very relevant quote from "The Elements of Programming Style"
by Kernighan and Plauger.


176638 28-Feb-2008 yar

It was Plauger, not Ritchie, who co-authored both editions
of "The Elements of Programming Style". Also spell the name
of the book properly.


176407 19-Feb-2008 ru

getopt(3) returns -1, not EOF.


175213 10-Jan-2008 des

A real gem from freebsd-current@


175129 07-Jan-2008 schweikh

Typo; s/relied/replied


175017 31-Dec-2007 dougb

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.)

:)


174959 28-Dec-2007 wilko

Aussie New Years wish


174897 25-Dec-2007 schweikh

Typos corrected.


174879 23-Dec-2007 wilko

On Christmas lights.


174823 21-Dec-2007 julian

Warner lets a good one out..


174597 14-Dec-2007 des

Typo


174581 14-Dec-2007 wes

Add my all-time favorite quote, from one of my all-time favorite people.


174471 09-Dec-2007 dougb

A few more cleanups.


174429 08-Dec-2007 dougb

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.


174426 07-Dec-2007 dougb

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.


174425 07-Dec-2007 dougb

Sort these files using: sh ../tools/do_sort < $file > $file.sorted

This greatly aids in detecting duplicates, among other things.


174422 07-Dec-2007 dougb

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


174421 07-Dec-2007 dougb

Add speller files for fortune files that did not have them,
and update the ones that already existed.


174420 07-Dec-2007 dougb

Add some quotes from the television show "Buffy the Vampire Slayer"


174419 07-Dec-2007 dougb

Add the text of a sign that I've seen on other desks, and
always wanted to put on mine.


173414 07-Nov-2007 ru

Revise the markup.


173401 07-Nov-2007 edwin

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


173397 06-Nov-2007 edwin

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


173396 06-Nov-2007 edwin

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)


173395 06-Nov-2007 edwin

[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


173091 28-Oct-2007 dougb

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


172849 21-Oct-2007 dougb

Fix a couple of small typos, and remove a duplicate


172847 21-Oct-2007 dougb

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.


170602 12-Jun-2007 philip

Remove duplicate. Was that a bug? :-)


170370 06-Jun-2007 ceri

Correct typo.


170167 31-May-2007 dougb

Correct two small typos


168039 30-Mar-2007 kris

Line wrap previous entry

Submitted by: des


168019 29-Mar-2007 kris

Add some more random offensive quotes.


168018 29-Mar-2007 kris

A note from Peter Wemm about how to tell the difference between amd64 and
ia64.


168017 29-Mar-2007 kris

Dialogue gem from Deadwood


167898 26-Mar-2007 gabor

- Fix typo

PR: bin/110648
Submitted by: Seth Hieronymus <shieronymus@speakeasy.net>
Approved by: keramida (mentor)
MFC after: 3 days


165938 11-Jan-2007 philip

Add Wise Words from Colin on irregular verbs and code quality. :-)

Submitted by: cperciva


165843 06-Jan-2007 dougb

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.


165663 30-Dec-2006 dougb

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>


165137 13-Dec-2006 grog

Wisdom of Chinggis (Genghis) Khan.

Submitted by: Ganbold <ganbold@micom.mng.net>


164850 03-Dec-2006 maxim

o Fix typo: manger -> manager.

PR: misc/106253
Submitted by: Niclas Zeising
MFC after: 1 week


164849 03-Dec-2006 maxim

o /stand/sysinstall -> /usr/sbin/sysinstall.

PR: conf/106254
Submitted by: Simon Olofsson
MFC after: 1 week


163781 30-Oct-2006 keramida

Squash a typo.

Submitted by: Miltiadis Margaronis <mmargaron@gmail.com>


163631 23-Oct-2006 phk

It so happens that everything that is stupid is not unconstitutional.
-- Supreme Court Justice Antonio Scalia


163543 20-Oct-2006 phk

Voltaire again.


163144 09-Oct-2006 chinsan

Add a tip on "how to strip UTF-8 BOM"

Approved by: delphij (mentor)


163067 07-Oct-2006 phk

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.


162709 27-Sep-2006 schweikh

Correct typo.


162386 17-Sep-2006 phk

Too many good quotes flying by these days.


161671 27-Aug-2006 wilko

visionary thoughts..

MFC after: 1 week


160964 04-Aug-2006 yar

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


160240 10-Jul-2006 phk

And now without typo.


160239 10-Jul-2006 phk

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


160215 09-Jul-2006 markm

More stale maintainer.


159788 20-Jun-2006 phk

+To create quality software, the ability to say no is usually far
+more important than the ability to say yes.
+ -- Michi Henning
+%


159559 12-Jun-2006 grog

Burying UNIX--a quote by Rob Pike,

Seen on The UNIX Heritage Society mailing list.


159550 12-Jun-2006 philip

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. ;-)


159540 12-Jun-2006 wilko

Who am I to correct the native speakers... anyway, s/council/counsel/

Noted by: des


159539 12-Jun-2006 wilko

Any sufficiently simple directive can be obfuscated beyond reason
given proper legal council.

- Alfred Perlstein


158999 28-May-2006 dds

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).


158912 25-May-2006 phk

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)


158689 17-May-2006 phk

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.


158375 09-May-2006 wilko

Go figure this error...

Submitted by: Thomas Beha


157995 24-Apr-2006 dds

Add attribution: the quote comes from Perlis's Paradigms of AI Programming
p. 348. See http://www.norvig.com/Lisp-retro.html


157810 17-Apr-2006 schweikh

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.)


157780 15-Apr-2006 maxim

o s/you health/your health/.

PR: conf/95810
Submitted by: Gavin Atkinson


157758 14-Apr-2006 ache

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)


156813 17-Mar-2006 ru

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)


155851 19-Feb-2006 wilko

Her name was Anne Frank, not Ann Frank.

MFC after: 1 month


155749 16-Feb-2006 grog

Wisdom about the Open Source ecosystem.

Submitted by: Mårten Mickos


155147 31-Jan-2006 grog

Clarify time frame of jkh quote.


155146 31-Jan-2006 grog

Add wisdom from jkh.


154950 28-Jan-2006 dds

Never do programs contain so few bugs as when no debugging tools
are available.
-- Niklaus Wirth

Pointed by: Panagiotis Louridas


154926 27-Jan-2006 cperciva

Add some wisdom from Garrett Wollman concerning error codes returned by
system calls.


154636 21-Jan-2006 matteo

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


153734 26-Dec-2005 schweikh

Correct some typos.


153724 25-Dec-2005 wilko

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


153705 24-Dec-2005 wilko

"A life lived in fear is a life half lived"


153341 12-Dec-2005 dds

Add missing John Gilmore quote.


153104 05-Dec-2005 dougb

Canonify, correct, and add citations related to Douglas Adams' work.
Correct a quotation from Hitchhiker's.


152981 01-Dec-2005 wes

Add another 'best quote about XML evar!' courtesy Pav Lucistnik (pav@)


152710 23-Nov-2005 wilko

correct typo


152665 21-Nov-2005 wilko

add witty remark about serious thought.

MFC after: 2 days


152306 11-Nov-2005 ru

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


151462 19-Oct-2005 phk

Fix typo


151454 18-Oct-2005 phk

Bruce Schneier is underrepresented in the fortune file.


151414 17-Oct-2005 philip

Add a valuable piece of Usenet advice about storing passwords. :-)

Obtained from: jpd on comp.unix.bsd.freebsd.misc


150699 28-Sep-2005 schweikh

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.


150485 23-Sep-2005 krion

Whitespaces cleanup.

PR: conf/81926
Submitted by: Gavin Atkinson <gavin.atkinson at ury dot york dot ac dot uk>


150428 21-Sep-2005 dougb

Remove a fortune that is duplicated verbatim in fortunes2-o


149934 10-Sep-2005 schweikh

Remove a duplicate and fix a typo.


149815 06-Sep-2005 wilko

Notable quote by Theodore Roosevelt.

MFC after: 3 days


149634 30-Aug-2005 schweikh

Punctuation corrections.


149429 24-Aug-2005 wilko

About life


149362 22-Aug-2005 grog

Add relationship between offence and beer.

Submitted by: philip


149290 19-Aug-2005 wilko

-- storage engineer on the virtues of FC-AL


149289 19-Aug-2005 murray

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


149100 15-Aug-2005 wilko

wisdom about 'beachhead'


149044 14-Aug-2005 wes

Add the best quote evar! about XML.


148939 10-Aug-2005 schweikh

Be a nice community member and honor the request for backout after
stirring the hornet's nest. This issue will be resolved by core.


148869 08-Aug-2005 schweikh

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.


148862 08-Aug-2005 schweikh

While I find the Hitler quotes extremely questionable, I'm enough
of a pedant to properly spell the monster's first name.


148797 06-Aug-2005 krion

Fix locations of some links.
Word smithing.

PR: conf/81923
Submitted by: Gavin Atkinson <gavin dot atkinson at ury.york.ac.uk>


148349 23-Jul-2005 ache

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().


148325 23-Jul-2005 grog

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.


147530 22-Jun-2005 jhb

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


147241 10-Jun-2005 phk

Snoopy in quality of life.


147112 07-Jun-2005 ru

Fix markup nits.


147110 07-Jun-2005 joerg

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


147053 06-Jun-2005 wilko

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
%


146781 29-May-2005 phk

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.


146686 27-May-2005 jhb

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


146185 13-May-2005 phk

Remove duplicate and attribute Weinbergs second law to the right weinberg.


145988 07-May-2005 schweikh

Nuke a corrupted duplicate.
Some white space and punctuation fixes.


145782 01-May-2005 stefanf

Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.

PR: 62456


145472 24-Apr-2005 schweikh

s/which/witch


145413 22-Apr-2005 trhodes

Enforce style.Makefile(5).

Glanced at by: ru (some time ago).


144995 13-Apr-2005 phk

Data is not information;
Information is not knowledge;
Knowledge is not wisdom
-- Gary Flake


144862 10-Apr-2005 schweikh

s/self-distruction/self-destruction


143956 22-Mar-2005 phk

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.


143833 19-Mar-2005 murray

Typo.

PR: conf/77178
Submitted by: Andras Jako <jako.andras@eik.bme.hu>
MFC after: 1 week


143608 14-Mar-2005 philip

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


143519 13-Mar-2005 brueffer

Remove dublicate entries and correct apostrophe abuse.

Submitted by: Christoph Mallon <christoph.mallon@gmx.de>


143232 07-Mar-2005 yar

Add a story about confusing information theory with thermodynamics.


143122 04-Mar-2005 phk

Another good Dijkstra quote.


143112 03-Mar-2005 phk

Add missing quote.


143111 03-Mar-2005 phk

Wisdom from 1972.


142806 28-Feb-2005 yar

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


142561 26-Feb-2005 yar

Add a neat remark on the popular belief that the universe is a safe
the man ought to break open and rob.


142328 23-Feb-2005 ru

Fixed warnings and bump WARNS to 6.


142327 23-Feb-2005 ru

Bump WARNS to 6.


142022 17-Feb-2005 ru

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


141851 13-Feb-2005 ru

Expand contractions.


141846 13-Feb-2005 ru

Expand *n't contractions.


141581 09-Feb-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


141505 08-Feb-2005 ru

Keep only one style of Pittsburgh driver's tests.

Noticed by: Pawel Worach


141477 07-Feb-2005 ru

An aggressive little script I used to trim out duplicate fortunes.


141476 07-Feb-2005 ru

Trim more cookies, by playing with different hash functions,
e.g., by trimming all non-alphabet characters and whitespace,
converting to lowercase, and considering only first (or last)
N letters (maybe only consonants). The fortune editor then
displays all fortunes that have the same hash, and allows to
remove one of them. The rest is written to stdout.


141218 03-Feb-2005 schweikh

s/worman/woman/


141188 03-Feb-2005 ru

Ignore consonants, and remove more duplicates.


141184 03-Feb-2005 ru

Removed more duplicates (forgot to ignore underscore).


141183 03-Feb-2005 ru

Keep the fortune above this.

Reviewed by: sheldonh


141182 03-Feb-2005 ru

Remove more duplicates.


141181 03-Feb-2005 ru

Ignore vowels, and remove more duplicates, mostly due to typos.


141180 03-Feb-2005 des

Trim some obnoxious warlording.


141179 03-Feb-2005 ru

Removed more duplicates, by ignoring "i", "you", "we",
"an", "is", "are", "will", "'ll", "is", "'s" to find
them. More to follow...


141160 03-Feb-2005 ru

Merged fortunes with fortunes2.
Sort fortunes (except for the first entry).


141159 03-Feb-2005 ru

Fix bugs.

Due to one of the bugs (^C was the first character of each line
when sorting), the -b option of sort(1) didn't take any effect,
so stay bug-compatible, and remove the -b option.


141135 02-Feb-2005 ru

Removed 1695 fortunes also found in fortunes2.


141120 01-Feb-2005 ru

Ignore case and all non-word characters, and remove more duplicates.


141119 01-Feb-2005 pav

- Add few lines from my personal signature file

Suggested by: Florent Thoumie
Approved by: mux


141116 01-Feb-2005 smkelly

Remove another duplicate fortune.


141114 01-Feb-2005 ru

Removed full duplicates that only differ in amount of whitespace
and line breaks.


141113 01-Feb-2005 des

Remove a duplicate.


140626 22-Jan-2005 wilko

s/principals/principles/

Fortune was duplicated, remove one copy.


140496 19-Jan-2005 grog

Add comment on current state of hardware documentation.

Submitted by: philip


140419 18-Jan-2005 phk

Remove committer-specific entry.


140408 18-Jan-2005 ru

Sort sections.


140374 17-Jan-2005 phk

Minor bit of advice.


140020 11-Jan-2005 dougb

1. s/women/woman/ when the singular is intended
2. Remove some duplicates
3. Slightly improve a punch line, "and then cut off her head"
instead of "and cut her head off."


139980 10-Jan-2005 schweikh

Correct two typos in almost identical fortunes.


139631 03-Jan-2005 josef

There is a better way to find out whether a port is installed or not.


139432 30-Dec-2004 schweikh

Correct two typos; remove a duplicate.


139259 24-Dec-2004 wilko

"3 hands"


139113 21-Dec-2004 ru

NOCRYPT -> NO_CRYPT


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


138695 11-Dec-2004 dds

From Richard W. Hamming ``You and Your Research''
Transcription of the Bell Communications Research Colloquium Seminar
7 March 1986 by J. F. Kaiser:

There are wavelengths that people cannot see, there are
sounds that people cannot hear, and maybe computers have thoughts
that people cannot think.


138130 27-Nov-2004 dds

The Ken Thompson school of thought on expert systems:
there's table lookup, fraud, and grand fraud.
-- Andrew Hume

USENIX'04 Technical Conference, reported by Adam S. Moskowitz
;Login: 29(5):49, October 2004.


137607 12-Nov-2004 schweikh

s/Here about/Hear about/ and sort accordingly.


137000 27-Oct-2004 wilko

Never be afraid to try something new. Remember, amateurs built the ark.
Professionals built the Titanic.


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


136793 22-Oct-2004 phk

Improve accuracy of last addition, as best Google advices me.


136783 22-Oct-2004 phk

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.


136090 03-Oct-2004 stefanf

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.


135940 29-Sep-2004 wilko

The state that separates its scholars from its warriors will have its
thinking done by cowards, and its fighting by fools. - Thucydides


134243 24-Aug-2004 blackend

Fix make search entries.

PR: docs/70899
Submitted by: Marc Silver <marcs@draenor.org>


134202 23-Aug-2004 blackend

s/the on/on the/

PR: misc/70842
Submitted by: Sean C. Farley <sean-freebsd@farley.org>


134079 20-Aug-2004 des

Immortalize the words of a -current reader.


133764 15-Aug-2004 rwatson

Add a useful snippet on limitations of inductive reasoning by Bertrand
Russell.


133712 14-Aug-2004 schweikh

Correct grammo.


132966 01-Aug-2004 stefanf

Include <stdlib.h> for exit(), use prototypes and bump WARNS to 6.


132673 26-Jul-2004 des

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


132578 23-Jul-2004 le

Make this WARNS=3 clean.

PR: bin/38931
Submitted by: Giorgos Keramidas <keramida@freebsd.org>


132444 20-Jul-2004 le

Fix typos.

PR: misc/67586
Submitted by: Paul A. Hoadley <paulh@logicsquad.net>


132443 20-Jul-2004 le

Fix whitespace and punctuation.

PR: misc/49967
Submitted by: Sean C. Farley <sean-freebsd@farley.org>


132440 20-Jul-2004 le

Remove duplicate fortunes and fix some typos.

PR: misc/45839
Submitted by: Philipp Mergenthaler
<philipp.mergenthaler@stud.uni-karlsruhe.de>


131989 11-Jul-2004 stefanf

Resolve a couple of warnings and bump WARNS to 6.


131486 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


131485 02-Jul-2004 ru

mdoc(7): Correct the type of the display.


131019 24-Jun-2004 wollman

Add a Nicollism.


130851 21-Jun-2004 phk

Discontinue use of old libcompat regexp routines.


130314 10-Jun-2004 schweikh

Correct assorted typos and grammos.


129932 01-Jun-2004 des

Consistently credit President Truman as Harry S. Truman.


129922 01-Jun-2004 dougb

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.


129921 01-Jun-2004 dougb

* 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


129908 01-Jun-2004 dougb

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.


129731 25-May-2004 wollman

Definition of recursion.


129467 20-May-2004 schweikh

Added forgotten quotes for citations.


129300 16-May-2004 ru

Markup fixes.


129299 16-May-2004 ru

Really add -l to the usage output.


129122 11-May-2004 fanf

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


129121 11-May-2004 fanf

Pedantry.

Submitted by: njl@


129114 11-May-2004 dds

Add Greek character encoding suport.

MFC after: 2 weeks


129108 11-May-2004 fanf

On the signs of network congestion.

Submitted by: Simon Tatham <anakin@pobox.com>


129106 10-May-2004 fanf

Re-sort


129104 10-May-2004 fanf

Moore's law vs. Nethack

Submitted by: Simon Tatham <anakin@pobox.com>


128734 29-Apr-2004 cperciva

Fix grammar to make it correctly wrong.


128731 29-Apr-2004 smkelly

Add a new fortune from petef.

Obtained from: petef


128696 27-Apr-2004 imp

Add jerk city commentary on C++.


128538 21-Apr-2004 grog

Add a Dijkstra comment on programming languages.


128494 20-Apr-2004 ceri

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>


127294 22-Mar-2004 grog

Add an observation by Dijkstra software engineering.


126954 14-Mar-2004 bde

Fixed a mispelling of 0 as NULL.


126044 20-Feb-2004 fanf

Label @ as being AC (since it's constructed like a prosign).

Submitted by: des


126040 20-Feb-2004 fanf

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


125955 18-Feb-2004 cperciva

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)


125627 09-Feb-2004 wes

Too good to miss.

Wisdumb by: Danno Coppock <danno@ipinc.com>


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


124731 19-Jan-2004 schweikh

"The Aged Aged Man" was not a word doubling.

Spotted by: grog


124461 13-Jan-2004 phk

typo, duh!


124459 13-Jan-2004 phk

This is simply too true to not become a fortune.

Wisdom by: wes


124230 07-Jan-2004 blackend

Add a tip on how to print a manual page.

PR: docs/61033
Submitted by: mi@


123905 27-Dec-2003 ceri

Stop "fortune -l" from looping forever.

PR: bin/58730
Submitted by: pak <pak@cns.utoronto.ca>


123877 26-Dec-2003 schweikh

Fix all cases of unintended word doublings (the the, and and, ...) and a
few typos.


123243 07-Dec-2003 des

Use WARNS level 2 instead of setting CFLAGS explicitly to -Wall.


123232 07-Dec-2003 phk

A too good Feynman quote to pass up.


122578 12-Nov-2003 phk

Add a card carryring member of the Pointless Comparison Collection.


122448 10-Nov-2003 wilko

reformat HP eng. mgr quote

Requested by: nate


122041 04-Nov-2003 roam

Fix a typo: 'in cloud' -> 'in a cloud'.

PR: 58909
Submitted by: Chris Pepper <pepper@rockefeller.edu>
MFC after: 1 week


121945 03-Nov-2003 phk

Add a '-l' option suitable for use with /dev/led/* lamps.


121293 20-Oct-2003 phk

Addition.


121137 16-Oct-2003 fanf

A comment about spam and cockroaches.

Suggested by: dwmalone


121112 15-Oct-2003 tg

Fix typo.


121031 12-Oct-2003 schweikh

Correct a typo (s/And/An/)


120911 08-Oct-2003 schweikh

Removed "Gerat" which is a typo of "Great".
Added FreeBSD ID.


120886 07-Oct-2003 wollman

Retrocomputing alternate history....


120866 06-Oct-2003 wilko

Polish last fortune.

Suggested by: nate


120864 06-Oct-2003 wilko

'Upon the release of the second version'

Suggested that this is fortune material: rene@tunix.nl
MFC after: 2 weeks


120026 13-Sep-2003 eivind

Fix spelling/grammar errors and remove a duplicate


119623 31-Aug-2003 dougb

* Fix a duplicate "how how"
* Fix pedstals -> pedestals


119470 25-Aug-2003 ceri

Correct a grammatical error.

PR: misc/54967
Submitted by: Paul A. Scott <pscott@the-frontier.org>
MFC After: 4 weeks


118449 04-Aug-2003 ache

LANG->LC_ALL

Pointed by: ru


118434 04-Aug-2003 ache

Use LANG=C before tr to be shure that ranges are correct


118397 03-Aug-2003 ache

Rename collate_range_cmp() to stable_collate_range_cmp() to indicate
that it is not the common variant.
Remove doubtful microoptimization there.


118366 02-Aug-2003 schweikh

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


118010 25-Jul-2003 mux

Remove a duplicate entry.


117978 24-Jul-2003 markm

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.


117598 14-Jul-2003 mph

Eliminate a duplicate.


117597 14-Jul-2003 jhb

Add a quote of wpaul@ explaining the importance of including requested
content when replying to an e-mail.


117497 13-Jul-2003 kris

Correct some typos.

Submitted by: pscott@the-frontier.org
PR: misc/51909
MFC After: The average lifetime of a Star Trek redshirt


116739 23-Jun-2003 will

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".


116592 19-Jun-2003 gsutter

Remove near-duplicate entry, keeping the better attributed one.


116571 19-Jun-2003 murray

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>


116524 18-Jun-2003 joerg

Preserve an involunteerily joke SunCheckup has been providing.
(NB: the space before the colon in the second line is authentic, please
don't remove.)


115452 31-May-2003 hoek

Fixup three rather minor typos that have irked me over time.


115158 19-May-2003 des

add a NOCRYPT check alongside the NO_OPENSSL check.

Approved by: re (scottl)


115085 16-May-2003 ru

mdoc(7) police: Make SYNOPSIS match usage().

Approved by: re (blanket)


115083 16-May-2003 ru

mdoc(7) police: Added "rot13" to the NAME section.

Approved by: re (blanket)


114725 05-May-2003 obrien

Make the __FBSDID usage consistent
and protect copyright[] from Gcc 3.3's whining.


112749 28-Mar-2003 mux

Add an option to print the time in 12-hour format.

Submitted by: Samy Al Bahra <samy@kerneled.com>


112549 24-Mar-2003 eivind

Add a new chance at getting offended, having removed so many.


112548 24-Mar-2003 eivind

Remove duplicates


112547 24-Mar-2003 eivind

Fix two more typos


112530 24-Mar-2003 tjr

Explain what the rot13 script does.

PR: 39044


112414 19-Mar-2003 eivind

Fix typos


112413 19-Mar-2003 eivind

Fix typo


112412 19-Mar-2003 eivind

Remove duplicates


112411 19-Mar-2003 eivind

Fix typos


112410 19-Mar-2003 eivind

Refactor two sexual jokes to murphy-o


112353 17-Mar-2003 dcs

Improved version of Unix sex.

Submitted by: Chris Wasser <cwasser@shaw.ca>


112251 15-Mar-2003 grog

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.


112065 10-Mar-2003 fanf

At the risk of serious physical abuse from markm, add another regex joke,
but s/regex/regular expression/g for terminological consistency.


112060 10-Mar-2003 dcs

We were low on regex jokes. Now we are *really* low on them.


111531 26-Feb-2003 wollman

Fix style of recent additions and sort.


111530 26-Feb-2003 mike

Add a great quote from Linus Torvalds about BDE.


111438 24-Feb-2003 dcs

EMACS joke (no, not EMACS itself).


111436 24-Feb-2003 schweikh

Fix a grammar bogon.

Submitted by: Seth Hieronymus <sethh@principia.edu>
X-MFC after: 4.8 is out the door.


111293 23-Feb-2003 wollman

Add a quote from Bob Schieffer's recent book about freedom of the press.


111279 23-Feb-2003 ru

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.


111094 18-Feb-2003 ceri

"Happiness" is a noun.

PR: misc/47345
Submitted by: Ben Rosengart <ben@narcissus.net>


111093 18-Feb-2003 fanf

Add Greenspun's Tenth Rule of Programming.


111016 16-Feb-2003 schweikh

Correct typos.

Submitted by: Seth Hieronymus <sethh@principia.edu>
X-MFC after: 4.8 is out the door


110928 15-Feb-2003 seanc

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]


110924 15-Feb-2003 robert

Remove the suggestion to try `hangman', because it does not exist
in the base system anymore.


110732 11-Feb-2003 wes

Add Warner Losh quote.
Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua>


110723 11-Feb-2003 seanc

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


110652 10-Feb-2003 mike

Immortalize a Robert Watson quote.


109748 23-Jan-2003 fanf

Add an explanation of why indirection is good. Remove an indirection
filk that also appears in fortunes2.


108666 04-Jan-2003 schweikh

s/Kank/Kang/ (the klingon)

PR: misc/45012
Submitted by: Steve Coltrin <spcoltri@omcl.org>


108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


107744 11-Dec-2002 ru

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


107389 29-Nov-2002 ru

mdoc(7) police: sweep.


107002 17-Nov-2002 schweikh

Fix a typo. Add FreeBSD ID in a %% comment.

MFC after: 3 days


106986 16-Nov-2002 joerg

set watch in tcsh requires an equal sign after the variable name.

MFC after: 1 day


106747 10-Nov-2002 dcs

Add gerrold.limerick to the building process.


106746 10-Nov-2002 dcs

Finished at last.


106711 09-Nov-2002 dcs

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.


106176 30-Oct-2002 fanf

The future's bright: the future's Ballard...


106131 29-Oct-2002 phk

Add a fortune for people who have read their classics.


105618 21-Oct-2002 markm

Remove old build glue for removed games.


105614 21-Oct-2002 markm

Deorbit complete. We dont build these anymore, so into the attic they go.


105517 20-Oct-2002 tom

Minor grammatical correction


105515 20-Oct-2002 markm

Do not build the majority of the games. Remaining are the
"utility-like" games and everyone's favourite, fortune(6).


105482 19-Oct-2002 blackend

Fix the path to the make.conf example file.

PR: docs/44278
Submitted by: Chris Pepper <pepper@rockefeller.edu>


105433 19-Oct-2002 fanf

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.


104728 09-Oct-2002 fanf

Last commit was slightly hasty: #include <string.h> is required on
-CURRENT to be WARNS-safe (but not -STABLE for some reason)


104725 09-Oct-2002 fanf

Kill obsolete #include <memory.h> which I didn't spot earlier because
it's still in the NetBSD version.


104723 09-Oct-2002 fanf

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)


104722 09-Oct-2002 fanf

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


104720 09-Oct-2002 fanf

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


104691 09-Oct-2002 jmallett

As back-out requests must be followed, back out the removal of wargames(6)
at mike@'s request.


104687 08-Oct-2002 jmallett

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


104686 08-Oct-2002 jmallett

We're missing none of these games, they just aren't here.


103904 24-Sep-2002 schweikh

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.


103744 21-Sep-2002 schweikh

s/seems to thing/seems to think

X-MFC after: 4.7 is out the door


103221 11-Sep-2002 tg

Fix spelling of Bismarck's name and remove duplicate
Bertrand Russell quotations.


102943 04-Sep-2002 jmallett

Add a tip about using sed(1)'s FreeBSD-specific -i option.

MFC after: 42 days


102746 31-Aug-2002 dwmalone

Spell Ken Olsen's name the same way everywhere.

PR: 7434


102606 30-Aug-2002 jmallett

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.


102559 29-Aug-2002 jmallett

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.


102411 25-Aug-2002 charnier

Replace various spelling with FALLTHROUGH which is lint()able


101718 12-Aug-2002 schweikh

Fix typos (s/seperat/separat/ et al); add FreeBSD ID.
Suggested by: bde
MFC after: 3 days


101604 09-Aug-2002 fanf

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.


101601 09-Aug-2002 fanf

Re-sort.


101600 09-Aug-2002 fanf

Remove spurious quotes.


101599 09-Aug-2002 fanf

Correctly sort previous addition.


101598 09-Aug-2002 fanf

Some more advice from Dijkstra.


101597 09-Aug-2002 fanf

Fix a couple of typos in a Dijkstra quote.


100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


100313 18-Jul-2002 ru

s/${INSTALL} -c/${INSTALL} ${COPY}/


99995 14-Jul-2002 dwmalone

Fix a typo.

PR: 40539
Submitted by: Munish Chopra <mchopra@engmail.uwaterloo.ca>


99977 14-Jul-2002 dwmalone

Fix a typo.

PR: 40523
Submitted by: Andrew Stevenson <andrew@ugh.net.au>


99641 09-Jul-2002 peter

Fix whitespace botch in previous commit.


99633 09-Jul-2002 peter

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?


99534 07-Jul-2002 mp

Paraphrase a quote to remove year specific references.

PR: 40291
Submitted by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>


98689 23-Jun-2002 jmallett

Use varargs for syserr().

Pointed out by: snapshots.jp.freebsd.org warnings log.


98688 23-Jun-2002 jmallett

syserr()'s first argument is not exit status, avoid dereferencing (char *)0
in printf(3).


97788 03-Jun-2002 mike

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.


97671 31-May-2002 schweikh

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>


97666 31-May-2002 schweikh

Typo: s/Indomptable/Indomitable/
MFC after: 3 weeks


97634 30-May-2002 wollman

Add used include of <stdlib.h>, copying style bugs from adjacent lines.


97630 30-May-2002 wollman

Fix preprocessor directive syntax (text after #endif).


97429 28-May-2002 alfred

Make almost WARNS=5 compliant:

ANSI'fy function declarations.
Constify some globals and function paramters.
Remove unsused arguments.
Fix (rename) shadowed variables.


97427 28-May-2002 alfred

Comment out comments after #endif directives


97407 28-May-2002 alfred

Assume __STDC__, remove non-__STDC__ code.

Submitted by: keramida


97396 28-May-2002 bde

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).


97371 28-May-2002 kris

Quiet some format string warnings by marking prototypes with
__printflike()

MFC After: 1 week


97153 23-May-2002 des

Comment out extra tokens after #else and #endif.


97058 21-May-2002 peter

Do not guess what a bool is, just use it.


96633 15-May-2002 dougb

Correctly attribute a Douglas Adams quote, and remove a duplicate of
the same quote.


96394 11-May-2002 alfred

Fix warnings by commenting out text after #else/#endif.


96232 08-May-2002 obrien

It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complains
loudly, so don't do it.


96231 08-May-2002 obrien

It is not clear if "#endif FOO" is allowed by ANSI.
Gcc 3.1 complains loudly, so don't do it.


95853 01-May-2002 mph

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.


95789 30-Apr-2002 dougb

More ispell fun


95772 30-Apr-2002 dougb

Fix a few more of my typos, a few others I noticed, and some ispell help.


95769 30-Apr-2002 sheldonh

Correct typo (is -> us).


95703 29-Apr-2002 jmallett

Add something absurd I used one night as an example of CS overcomplication
of things most hackers take for granted.


95700 29-Apr-2002 jmallett

Add one more here.

Submitted by: Glen "Going to be a Daddy" Neff


95699 29-Apr-2002 jmallett

Remove a Kurt Vonnegut quote that appears in fortunes.


95698 29-Apr-2002 jmallett

Spell out the name of Hunter S. Thompson.


95697 29-Apr-2002 jmallett

Sort one, remove some dupes.


95696 29-Apr-2002 jmallett

Add something I found amusing when overheard, and a paraphrasal of it.


95695 29-Apr-2002 dougb

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.


95694 29-Apr-2002 dougb

Sort according to ../tools/do_sort


95690 28-Apr-2002 dougb

* 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.


95677 28-Apr-2002 dougb

* 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.


95675 28-Apr-2002 jmallett

Kill one version of a limerick here.

Approved by: The usual suspects on that IRC channel.


95674 28-Apr-2002 jmallett

Kill some duplicates.

Kill an incorrectly duplicated Einstein limerick (thanks phk!)


95546 27-Apr-2002 jmallett

Kill one exact duplicate of a Hunter S. Thompson quote. Put on peril-sensitive
sunglasses for great evil, too.


95545 27-Apr-2002 jmallett

Death to duplicate fortunes.


95492 26-Apr-2002 ceri

There is no host called new.bbc.co.uk - fix url.

Reviewed by: jkh
Approved by: jkh, murray
MFC after: 3 days


95466 25-Apr-2002 wollman

Sort.


95465 25-Apr-2002 wollman

Spell Fred Brooks's name right.


95464 25-Apr-2002 wollman

Resort and suppress dupes.


95463 25-Apr-2002 wollman

Add a few more aphorisms.


95413 25-Apr-2002 wollman

Add some of uncontroversial fortunes from my files.


95358 24-Apr-2002 tg

Add some fortunes and re-order the Feynman problem solving algorithm.
Thanks to gsutter for the quotes.

Reviewed by: jkh


95258 22-Apr-2002 des

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}/.


94784 15-Apr-2002 roam

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


94552 12-Apr-2002 charnier

End of comment was missing at FreeBSD Id line. Switch to FBSDID.


93518 01-Apr-2002 joe

Add a few more tips, and tweak a couple.

PR: misc/34039


93516 01-Apr-2002 joe

Augment the BLOCKSIZE tip. (Based on the PR with slight changes by myself).

PR: misc/34039


93397 29-Mar-2002 jhb

Add a new fortune seen in the sig of an e-mail.

Submitted by: ue (indirectly)
Approved by: eivind


93063 24-Mar-2002 imp

o remove __P


93054 23-Mar-2002 schweikh

Remove a duplicate with a typo.

MFC after: 3 days


91927 09-Mar-2002 dd

Assorted mechanical fixes.

PR: 34790
Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>


91251 25-Feb-2002 phk

Add one.

Submitted by: jedgar
Reviewed by: The usual gang of idiots in that IRC channel.


91213 25-Feb-2002 bde

#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.


91138 23-Feb-2002 billf

BDECFLAGS

Reviewed by: md5(1)


91137 23-Feb-2002 billf

KNF -> ANSI function declarations

Reviewed by: md5(1)


91136 23-Feb-2002 billf

KNF to ANSI function declaration, silence a warning


91135 23-Feb-2002 billf

warning fixes, mostly type matching


91134 23-Feb-2002 billf

convert from KNR to ANSI function declarations

Reviewed by: md5(1)


91027 21-Feb-2002 billf

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)


91026 21-Feb-2002 billf

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


90868 18-Feb-2002 mike

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


90830 18-Feb-2002 imp

Fix last second botch of adding $FreeBSD$.


90828 18-Feb-2002 imp

Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype


90516 11-Feb-2002 keramida

Add a tip about pkg_info and checking for multiple installed versions
of a package/port.


90118 02-Feb-2002 bde

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.


90117 02-Feb-2002 bde

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.


90116 02-Feb-2002 bde

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.


89008 07-Jan-2002 tg

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.


88753 01-Jan-2002 grog

Correct typo.


88530 27-Dec-2001 roam

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>


88305 20-Dec-2001 wilko

A case of ninfo (non-info)

Submitted by: Hans.VanSluis@compaq.com
MFC after: 1 month


88058 17-Dec-2001 ru

Install files via FILES.


88055 17-Dec-2001 ru

FILES support for bsd.prog.mk. See bsd.README for details.

Stolen from: NetBSD


88035 17-Dec-2001 mikeh

Modify tip that no longer applies for ftp(1).


87726 12-Dec-2001 wilko

Unix: Just Say No..

Obtained from: Jan.Hendriks@Compaq.com
MFC after: 3 days


87521 08-Dec-2001 keramida

Be more specific in an example of fortune's -e option.

PR: 32085
Submitted by: setantae@submonkey.net <setantae@submonkey.net>


87429 05-Dec-2001 jhb

Trim yet another duplicate fortune.


87428 05-Dec-2001 jhb

Properly sort the last two fortunes alphabetically.


87427 05-Dec-2001 jhb

Add a short commentary on libdialog by jkh.


87425 05-Dec-2001 jhb

Remove an incorrect duplicate Douglas Adam quote and properly format and
the correct duplicate. Both versions also attributed the quote to the
wrong book.


87424 05-Dec-2001 jhb

Fix a typo and add a missing period.


87420 05-Dec-2001 jhb

Remove some duplicate fortunes.


86989 27-Nov-2001 phk

s/Kenned y/Kennedy/

Pointed out by: $a_lot_of_people


86986 27-Nov-2001 phk

This string of coincidences was too good to let pass.

Obtained from: BBC World Service on 9410kHz


86961 27-Nov-2001 peter

Fix some duplicate quotes and tidy up some Dr. Who quotes.


86620 19-Nov-2001 keramida

Other committers do not mention their personal names and/or email
addresses when adding stuff, so it seems fair to stop ``getting all
the fame'' by having my name displayed on login sessions.

Approved by: nik


86296 12-Nov-2001 joe

Fix a typo:
Flinstone -> Flintstone.

Submitted by: grog (during the kernel debugging session at BSDConEurope)


86216 09-Nov-2001 dillon

Add terminating % so the last fortune can be found.
Add a fortune.


85977 03-Nov-2001 phk

Separate concatenated fortunes.

Remove unattributed duplicate of Frederick Brooks eternal words
about the danger of second systems.


85976 03-Nov-2001 phk

Correct attribution and fix translation from Danish.


85625 28-Oct-2001 asmodai

Correct attribution.

PR: 30500
Submitted by: Drew Derbyshire <ahd@kew.org>


85408 24-Oct-2001 roam

Correct a typo: numtiple -> multiple.

PR: 31474
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
MFC after: 1 week


84944 14-Oct-2001 dd

Slightly improve wording in the opening paragraph.

PR: 31202
Submitted by: Jasmin Blanchette <jasmin@troll.no>


84536 05-Oct-2001 kris

Add some important advice for young optical physicists.


84237 01-Oct-2001 kris

Add a brief comparative analysis of 3 popular religions.

Approved by: maintainer


84055 27-Sep-2001 jhb

Borrow Peter's peril-sensitive sunglasses and add a short parody quoted in
the unnamed IRC channel.


84001 27-Sep-2001 murray

Tip Correction : s/seconds/minutes/

PR: docs/30844
Submitted by: Andrew <andrew@ugh.net.au>


83928 25-Sep-2001 ru

- Only use sig_atomic_t objects in signal handlers.
- Use getopt() to parse command line.
- Add usage().
- WARNSify.
- Convert manpage to mdoc(7).

PR: bin/30641
Submitted by: Andrey Simonenko <simon@simon.org.ua>, ru
MFC after: 1 week


82870 03-Sep-2001 dd

`list' should be an extern'd `char **', not a local `char *' which we
never set. Ideally, we'd get the extern from tutor.h, but that
defines a number of other variables that conflict with ours.

This fixes a segmentation fault when trying to return to the main menu.

PR: 30172


82725 01-Sep-2001 kris

Update a duplicate quotation.

PR: 30228
MFC after: 2 weeks


82604 30-Aug-2001 alex

Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.


81719 15-Aug-2001 roberto

Put the correct path for robots_roll in /var/games.

Submitted by: Elodie Raynal-Melchy <elodie@babafou.eu.org>
MFC after: 2 days


81622 14-Aug-2001 ru

mdoc(7) police: s/BSD/.Bx/ where appropriate.


81586 13-Aug-2001 ru

Removed duplicate VCS ID tags, as per style(9).


81558 12-Aug-2001 mharo

Remove whitespace after %. The whitespace was causing strfile to not see
the % string section break and thus fortune was producing a rather large
multi-fortune fortune message.


81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


81225 07-Aug-2001 markm

Fix some fractured english. The translators can ignore this.


80983 01-Aug-2001 kris

A good sysadmin always carries around a few feet of fiber. If he ever
gets lost, he simply drops the fiber on the ground, waits ten minutes,
then asks the backhoe operator for directions.
-- Bill Bradford <mrbill@mrbill.net>

Submitted by: Kris Kirby <kris@catonic.net>


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79753 15-Jul-2001 dd

Remove whitespace at EOL and add $FreeBSD$.


79626 12-Jul-2001 ru

Eliminate troff(1) warnings.


79625 12-Jul-2001 ru

Convert to mdoc(7).


79528 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


79192 04-Jul-2001 ru

mdoc(7) police: removed extraneous .Pp call.


79027 30-Jun-2001 mpp

Fix a couple of typos.


78796 26-Jun-2001 dd

Remove two duplicate tips and correct formatting of an attribution.


78794 26-Jun-2001 dd

Correct usage.


78793 26-Jun-2001 ache

Convert to nl_langinfo(CODESET)


78777 25-Jun-2001 brian

What to do when :w tells you you haven't got permission.


78774 25-Jun-2001 brian

Mention that sh supports command line editing


78773 25-Jun-2001 brian

Mention that vi supports split-screen mode.


78772 25-Jun-2001 brian

Suggest using .login/.profile to set environment variables, not
.cshrc/.bashrc/.zshrc/.shrc


78624 22-Jun-2001 dd

WARNS= -> WARNS?=

Submitted by: Mike Barcroft <mike@q9media.com>


78548 21-Jun-2001 des

More -fno-builtin failures.


78516 20-Jun-2001 jhb

Document the mysterious Peter Wemm Murphy Field (PWMF).

Reviewed by: phk, eivind, nra


78515 20-Jun-2001 jhb

Remove some more duplicate fortunes.


78512 20-Jun-2001 mph

"Unmount" is spelled "umount", not "unmount".


78509 20-Jun-2001 jhb

Resort the last entry to its proper location. D definitely comes before Z.


78507 20-Jun-2001 jhb

Remove a duplicate entry.


78471 19-Jun-2001 nik

Fix a couple of tips, and add a new one.

Submitted by: Alexey V. Neyman <avn@any.ru>


78458 19-Jun-2001 dd

Correct some typos.

PR: 28251
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>


78355 16-Jun-2001 nik

More tips. I'd never heard of look(1) before.

Submitted by: Dru <genisis@istar.ca>


78352 16-Jun-2001 nik

More tips, this time from the Russian Fidonet FreeBSD Echo.

And I never knew about ports(7) before.

Submitted by: Alexey V. Neyman <avn@any.ru>


78283 15-Jun-2001 eivind

De-credit myself in order to be consistent.
Also add a few more tips while I am here.


78271 15-Jun-2001 nik

More tips.

Submitted by: David Scheidt <dscheidt@tumbolia.com>


78266 15-Jun-2001 nik

Add a new category of fortunes, 'freebsd-tips'. Useful hints, advice, and
pointers to areas of the system that might not be apparent on first
inspection.


78204 14-Jun-2001 ru

DECR() macro still depended on -traditional-cpp behaviour.

Noticed by: bde


78203 14-Jun-2001 ru

Style nits:

GBINDIR -> ORIGBINDIR
GBINGRP -> ORIGBINGRP

Submitted by: bde


78174 13-Jun-2001 ru

Games ownership cleanup.

Urged by: bde


78171 13-Jun-2001 ru

Axe -traditional-cpp that behaves badly with -nostdinc and WARNS=2.


78013 10-Jun-2001 ache

Fix ISO_ to preferred MIME name


77831 06-Jun-2001 dwmalone

mvprintw is varadic - it doesn't take a va_list. Use vw_printw
instead.

Submitted by: Andrew Gordon <arg@arg1.demon.co.uk>
MFC after: 1 week


77746 05-Jun-2001 imp

Remove #if 0'd code. It turned up on my MAXPATHLEN + 1 sweep.


77067 23-May-2001 phk

When a game ends that makes the top 10, the function insert_score in
score.c is called to make the new score file. But the case for KFIRE
(killed by fire) incorrectly uses strcpy instead of strcat (all the
other cases use strcat). This puts the string in the wrong place and
corrupts the score file.

PR: 13278
Submitted by: Mark W. Krentel krentel@dreamscape.com


76943 21-May-2001 dcs

s/Cthulu/Cthulhu/

Alas, the first one is a repeat in a slightly different format and
ought to be removed (or the other copy). I'll leave that to more
enterprising souls, though (Cthulhu loves enterprising souls).

MFC after: 3 days


76885 20-May-2001 kris

Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week


76884 20-May-2001 kris

Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week


75848 23-Apr-2001 imp

%DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct.


75286 07-Apr-2001 ru

beforeinstall -> SCRIPTS.


74925 28-Mar-2001 phk

Axe out duplicate.

Not to submitter: (I don't let Jordan use my axe)

PR: 24782
Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>


74924 28-Mar-2001 phk

Spelling fixes.

PR: 20474
Submitted by: Christian Weisgerber <naddy@mips.inka.de>


74923 28-Mar-2001 phk

Remove duplicate.

PR: 19670
Submitted by: Anton Berezin <tobez@tobez.org>


74922 28-Mar-2001 phk

Remove a duplicate piece of chalk.

PR: 23132
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>


74814 26-Mar-2001 ru

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


74709 23-Mar-2001 wilko

Lets spell the guys name correctly: s/Avogardo/Avogadro/


74528 20-Mar-2001 ru

Set the default manual section for games/ to 6.


73723 05-Mar-2001 dwmalone

Compare initscr to NULL not ERR. Add FreeBSD tag.

PR: 19044


73349 02-Mar-2001 ru

setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.


73077 26-Feb-2001 ru

Prepare for mdocNG.


72785 21-Feb-2001 bde

Don't include "${.CURDIR}/../../Makefile.inc" explicitly. Doing so was
a bogus no-op in the usual case where fortune/ is a subdir of games/
(since <bsd.prog.mk> does an equivalent include automatically if
possible), but breaks building fortune when fortune/ is outside of the
games/ tree (since the include was unconditional here). This fix
depends on a previous fix for non-recursiveness of ../Makefile.inc
(it didn't exist).

PR: 25232


72585 18-Feb-2001 bde

Fixed style bug (bloat of a line length past 80 columns) in previous commit.


72507 15-Feb-2001 grog

Correct typo.

Submitted by: "James and Amanda" <jhar2gthr@yahoo.com> (well, ~James, anyway).

Of necessity add $FreeBSD$.

Required by: Precommit checks.


72312 10-Feb-2001 phk

Remove spurious '"'.

PR: 24979
Submitted by: Joseph Scott <joseph@randomnetworks.com>


72126 07-Feb-2001 ru

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.


72103 06-Feb-2001 ru

mdoc(7) police: correct .Dd, add missing .El.


72102 06-Feb-2001 ru

mdoc(7) police: .Xr name -> .Nm


72101 06-Feb-2001 ru

mdoc(7) police: correct .Dd format.


72089 06-Feb-2001 asmodai

Fix typo: seperate -> separate.

Seperate does not exist in the english language.

Submitted to look at by: kris


72088 06-Feb-2001 asmodai

Fix typo: seperate -> separate.

Seperate does not exist in the english language.

Also add $FreeBSD$

Submitted to look at by: kris


71944 02-Feb-2001 phk

Unfortunately low-altitude overflights is not enough to make penguins crash.


71644 25-Jan-2001 dwmalone

Correct spelling of foresight.

PR: 24637
Submitted by: Christopher Rued <christor@ug.cs.sunysb.edu>


71641 25-Jan-2001 ru

mdoc(7) police: fixed a few bogons.


71630 25-Jan-2001 phantom

man(7) -> mdoc(7)


71629 25-Jan-2001 phantom

Give morse(6) own manual page since common manpage for bcd(6), ppt(6) and
morse(6) was mostly dedicated to morse(6)


71628 25-Jan-2001 phantom

Remove never used home-born implementation of curses library from source
tree.


70195 19-Dec-2000 ru

Prepare for mdoc(7)NG.


70162 18-Dec-2000 phk

Remove a duplicate fortune.

PR: 21629
Submitted by: Sean C. Farley <sean-freebsd@farley.org>


70022 14-Dec-2000 ru

mdoc(7) police: added missing .Os call.


69857 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


69309 28-Nov-2000 ru

Eliminate groff(1) and tbl(1) warnings.


69202 26-Nov-2000 kris

Constify


69197 26-Nov-2000 kris

Format string auditing


68937 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68859 17-Nov-2000 ru

mdoc(7) police: Nm is a must in the NAME section.


68854 17-Nov-2000 ru

mdoc(7) police: use certified section headers wherever possible.


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


68045 31-Oct-2000 grog

Correct a bignum.

Detected-by: lang/clisp
Approved-by: jkh


67768 28-Oct-2000 alex

Make the -d option actually work.
Today fast terminals are usually the default.

PR: 21634
Submitted by: Eric S. Van Gyzen <eric@vangyzen.net>


67006 12-Oct-2000 dwmalone

Remove one other dup.


67005 12-Oct-2000 dwmalone

Remove some duplicated Dijkstra quotes and add a new one.

Approved by: jkh


66909 10-Oct-2000 kris

Add an amusing spoonerism.

Submitted by: Benno Rice <benno@hiro.netizen.com.au>
Approved by: jkh


66907 10-Oct-2000 wollman

Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).


66804 08-Oct-2000 kris

Format string paranoia.


66799 08-Oct-2000 billf

Conform to BDECFLAGS


66477 30-Sep-2000 phk

Remove a duplicate Feyman quote. Add his problem-solving algorithm.


66343 25-Sep-2000 dcs

Add definitions of hardware and software.


65912 16-Sep-2000 ache

Remove unneded -ltermcap or -lmytinfo


65184 29-Aug-2000 billf

BDECFLAGS (with a whitespace change or two)


65149 28-Aug-2000 billf

Clean up previous commit.


65139 27-Aug-2000 billf

BDECFLAGS


64364 07-Aug-2000 jlemon

Add another Bill Paul quote.

Approved by: jkh


64044 31-Jul-2000 mpp

Xref strfile(8).

PR: misc/20304
Submitted by: Kim Scarborough <sluggo@unknown.nu>


63965 28-Jul-2000 jmg

put the entires back in order.... I forgot to do that after we dicussed
this at the BSDi get together...


63535 19-Jul-2000 bde

Fixed bitrot in DPADD.


62869 10-Jul-2000 kris

Don't call printf with no format string.


62868 10-Jul-2000 kris

Don't call printf with no format string.


62671 06-Jul-2000 billf

minor brucification.


62541 04-Jul-2000 billf

${BDEFLAGS}


62488 03-Jul-2000 billf

"Fix" warnings.


62442 03-Jul-2000 roberto

-lcompat doesn't seem to be needed anymore.

MFC candidate (compile fine on 5.0 and 4.0-STABLE).


62270 30-Jun-2000 billf

add a real prototype for printit()


61175 02-Jun-2000 dcs

Remove garbage.


61151 01-Jun-2000 dcs

Some David Gerrold limericks, which he gratiously allowed us to
reproduce. I'll add the file to the makefile once I have finished adding
the limericks.


60995 28-May-2000 hoek

Remove a couple of dups and fix a typo. This doesn't touch dups that
are dupped between here (fortunes2) and fortunes.


60993 28-May-2000 hoek

A set of diffs to bring the new murphy into line with the
fortune/Notes fortmatting instructions. Also fix a couple typos.
I did a bit of this, by Cy Schubert did most of it. Thanks Cy!


60992 28-May-2000 hoek

Quoting submitter:

This is a recent conversion of an old IBM Mainframe application
to the fortune datafile format.

The "laws" were extracted from a S/370 Assembler program on a SHARE tape.
The comments in the program:

*---------------------------------------------------------------------*
* 'MURPHY' THE OLE PHILOSOPHER 18 AUGUST 1988 *
* *
* MURPHY WAS FOUND ON A JES2 TAPE OF ALL PLACES WITH ABOUT *
* 500 OR SO SAYINGS. GOT ANOTHER 250 FROM AN UNKNOWN SOURCE *
* AND HAVE ADDED ABOUT 100 OR SO MYSELF. *
* *
[list of changes omitted]
* *
* JIM MARSHALL, CAPT, USAF *
* (301) 688-6829 *
* *
*---------------------------------------------------------------------*

Fortunes that a sufficiently twisted mind could perceive as offensive
have been moved to murphy-o. Thanks to the submitter for reviewing
these fortunes.

The copyright issues were considered before approval.

PR: misc/8519
Submitted by: Cy Schubert (misc/8519)
Approved by: The Fortune Teller


60991 28-May-2000 hoek

By overwhelming demand, revert the one=two joke to its previous form.
Also, fix a couple whitespace formatting errors and typos.

Note that the Klingon joke has a 12-point version in the
-chat list, mesg-id: <19990717120618.C269@marder-1> (thanks to
DES and to submitter doug@gorean). Also, note that the following
people need to learn to double-space after a period: <DougB@gorean.org>,
<des@flood.ping.uio.no>, <mellon@pobox.com>, <jeroen@vangelderen.org>,
and <rsidd@physics.iisc.ernet.in>.


60917 25-May-2000 hoek

Fix some newlines which have snuck in here in contradiction with
fortune's formatting rules.


60916 25-May-2000 hoek

Add a missing negative to a clause.


60915 25-May-2000 hoek

Add some fortunes, typically gleaned from FreeBSD mailing lists, remove
some dups, fix some typos and formatting.

Submitted-by (in no particular order):
Cy Schubert <cschuber@uumail.gov.bc.ca> (bin/12477)
David Kelly <dkelly@hiwaay.net> (misc/16647)
Zachary K Drew <drew0054@tc.umn.edu> (misc/16848)
Mark Ovens <mark@ukug.uk.freebsd.org> (misc/15809)
Bruce A. Mah <bmah@nimitz.ca.sandia.gov> (bin/17085)
And myself.

Approved by: The Fortune Teller


60914 25-May-2000 hoek

Remove a period inserted by a previous commit. Corporate mottos and
the like usually don't have periods.

Approved by: The Fortune Master


60760 21-May-2000 hoek

Don't segv if bs or bc aren't defined in termcap's entry. Misc cleanup.
Fix `|' -> `||'. Use usleep() instead of delay loop. Etc.

Submitted by: Andrew <[3]andrew@ugh.net.au> (bin/8501)


59055 05-Apr-2000 jim

Add a new fortune and remove an email address.

Reviewed by: jkh


58588 26-Mar-2000 green

Get rid of some deltas lying around. This is a collection of lots of
small typo fixes. Most have to do with periods and ellipses, but there
are some spelling, capitalization, and miscellaneous fixes. No meanings
have been changed.


58587 26-Mar-2000 green

Put the '%' before the new appended fortune, not after.


58580 26-Mar-2000 peter

This, we believe, is the first commit
from Disneyland, committed via ssh
on a Palm + wireless.

Inspired by: ps
Thanks to: Glenn (Damn, now I want one of these :-)


57879 09-Mar-2000 grog

Fix typo.


57543 27-Feb-2000 mph

Change RETTOKEN from '\n' to '\r'; it didn't work under some or all
terminals before. This change tested on FreeBSD syscons, XFree86 xterm,
and Solaris xterm.


57527 27-Feb-2000 joerg

Add an eleventh-hour gimick... But since it's only in `games' and
Jordan OK'ed it, i think it's a nice one for those who need it. I
once mentioned in Usenet that i've hacked morse(6) so it can control
an external device like a tone generator or even a ham radio
transceiver, so you could actually use that `game' for really
transmitting morse code through the air. A couple of people then
bugged be to send them my hack (which it was by that time).

So i've now finally found some hours to clean it up (like freaking out
with the transmitter no longer keyed in case someone ^c's out of the
program...), and to write the man page addition.

While i was at it, i also cleaned up some minor nits in Lyndon's
/dev/speaker code, mainly #ifdef related stuff like handling getopt()
if SPEAKER is not defined etc.

enjoy & 73

Approved by: jkh, the restless...


57478 25-Feb-2000 mph

Install the game files mode 444, so atc(6) can load them.

Little interest shown by: jkh


57369 21-Feb-2000 billf

Fix grammar error (repeated word).`

PR: bin/16810
Submitted by: Will Andrews <andrews@technologist.com>


57224 15-Feb-2000 jkh

The people frobbing this file seem constitutionally unable to do so
without breaking it. Use ${.CURDIR} properly so that beforeinstall
target will actually work in the presence of an obj dir.


57222 15-Feb-2000 chris

- Properly indent $FreeBSD$
- Remove NOOBJ to repair read-only building.

Submitted by: bde
Approved by: jkh


57159 12-Feb-2000 chris

- Fix the Makefile so it installs the manual page (properly).
- Use ``beforeinstall'' rather than install for the custom installation
target used to install the shell script.

Approved by: jkh


57153 12-Feb-2000 chris

Add a manual page for wargames(6).

Obtained from: NetBSD
Approved by: jkh


55095 25-Dec-1999 billf

Backout rev1.7, as it broke adventure(6) (const'ing a non-r/o variable).
As wpaul notes, I was trying to fix something that wasn't broke.


55059 23-Dec-1999 marcel

Use tr(1) instead of caesar(6) to perform the rotation. This removes
the dependency on caesar which therefore doesn't need to be built by
bootstrap-tools.

Suggested by: des
Previously mentioned by: Peter Jeremy <peter.jeremy@alcatel.com.au>


55005 22-Dec-1999 joerg

Add the "3 syncs" fortune Jordan has been posting in Usenet years ago.

Found by: Thomas Gellekum <tg@melaten.rwth-aachen.de>


54797 19-Dec-1999 billf

-Wall fixes.

XXX: This code is sick, and so are some of the "fixes".


54622 15-Dec-1999 billf

-Wall fixes.


54488 12-Dec-1999 billf

-Wall fixes.


54483 12-Dec-1999 billf

-Wall fixes.


54482 12-Dec-1999 billf

-Wall fixes.


54481 12-Dec-1999 billf

-Wall fixes.


54468 12-Dec-1999 billf

-Wall fixes.


54466 12-Dec-1999 billf

-Wall fixes.


54461 12-Dec-1999 billf

-Wall cleanup.


54416 10-Dec-1999 billf

1. Don't overwrite scorefiles if they already exist.

PR: bin/13068
Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

2. Sprinkle $FreeBSD$ around.


54409 10-Dec-1999 billf

-Wall cleanup.


54379 10-Dec-1999 billf

-Wall fixes.


54378 10-Dec-1999 billf

-Wall fixes.


54241 07-Dec-1999 billf

-Wall cleanup / variable correctness.

Reviewed by: green


54239 07-Dec-1999 chris

Change ``.Dq Fl o'' to ``.Dq -o''


54238 07-Dec-1999 billf

-Wall cleanup.

XXX: The signal handling "fix" for worm(6) is wrong. However, the functions
themselves are wrong as well: See sigaction(2).


54178 06-Dec-1999 chris

- Fix a typo and add a missing file.

PR: docs/15286
Submitted by: Mark Ovens <mark@ukug.uk.freebsd.org>

- Use .Dq where it should be. (This was done by me.)


54045 02-Dec-1999 wes

Add Matt Fuller's comment about long-standing x86 bug that allows you
to install Windows.


53920 30-Nov-1999 billf

copyright/sccsid/rcsid cleanup.


53903 29-Nov-1999 grog

Brucify last commit:

- Use consistent capitalization.
- Subjects and verbs now agree.

Pointed-out-by: sheldonh


53861 28-Nov-1999 wes

Added definition of 'brucify'.

Submitted by: Eivind Eklund
Suggested by: Brian Somers


53741 27-Nov-1999 wes

Minor typo nit. Also, remove the redundant entry from fortunes2.

PR: bin/14239
Submitted by: Doug Barton <Doug@gorean.org>


53692 25-Nov-1999 joerg

Don't coredump if can't write to the scorefile.


53219 16-Nov-1999 marcel

Fix breakage in previous commit.


53216 16-Nov-1999 marcel

Fix breakage in previous commit.


53215 16-Nov-1999 marcel

Fix breakage by previous commit.


53214 16-Nov-1999 marcel

Fix breage by previous commit


53211 16-Nov-1999 marcel

Add type int to those variables without a type. This is caused by the
frequent use of ``register var'' instead of ``register int var'' and
the removal of the register hint in the previous commit.


53210 16-Nov-1999 billf

Sync our register usage with NetBSD's (non-)usage.


53209 16-Nov-1999 billf

Add $FreeBSD$


53208 16-Nov-1999 joe

Curchill --> Churchill

The submitter also posted a change to 'fortunes.sp.ok', but it
looks like this file is no longer needed in our version so I've
left the typo in the file. (It also doesn't have a $FreeBSD$ tag,
and I couldn't easily find in the code whether it will allow comments
within it or not.)

PR: 14832
Submitted by: mfisher@parsons.rh.rit.edu


52888 05-Nov-1999 joerg

*blush* Instead of undoing my own change, i clobbered dcs's rev 1.21
change.

I'll never touch this again...


52887 05-Nov-1999 joerg

Back out rev 1.21. bde and dcs convinced me that all this is messed up
anyway, and there can't be any solution that will universally work in any
case (make world, cross-compilation, simple `make' without `make world'
after incompatible options have been added to strfile, ...)


52857 04-Nov-1999 dcs

Revert to 1.19. ${.OBJDIR}/../strfile must be taken out, since it
breaks the cross-compilation case, but I'm not the one doing it.
$$PATH *will* have a new strfile in /usr/bin built at build-tools
time, unless you defined NOTOOLS.

If you defined NOTOOLS and it breaks for you, don't do that.

If you did not define NOTOOLS but things are not working, the error is
elsewhere. See logs for src/Makefine.inc1, particularly rev 1.36, and
revision 1.14 of this file.


52793 02-Nov-1999 joerg

Reverse the way $PATH is extended, so if the person building that area
has /usr/games in its $PATH, where /usr/games/strfile doesn't grok an
option that the newly built one inside /usr/obj would grok, the build
process would be able to complete.


52721 31-Oct-1999 billf

Add $FreeBSD$
'if gets laid once' -> 'it gets laid once'


52637 29-Oct-1999 chris

Remove my completely un-funny IRC fortune.

Reviewed by: jkh


52600 28-Oct-1999 des

Self-contradicting commit.


52586 28-Oct-1999 dcs

Notice the -C flag got dropped when I reverted to version 1.15, and put it
back.


52581 28-Oct-1999 cpiazza

Lewis Carroll's name was spelled Lewis Carrol in some fortunes

PR: 14569
Submitted by: Janet Davis <janet@one-eyed-alien.net>


52571 27-Oct-1999 jkh

I'll take the MAINTAINER line. I have been accused of knowing humor
when I at least see it. :)


52570 27-Oct-1999 dcs

Realize the changes to usage() and the man page were missing from
the previous commit, and document the -C (comments) flag.


52546 27-Oct-1999 green

IRC wisdom.


52496 25-Oct-1999 wes

Add Kirk's comment about "copycenter"; it's just too good to pass up.


52476 25-Oct-1999 wes

Don't say a fscking word, any one of you.


52463 24-Oct-1999 wes

Moderate the "public" fortunes file somewhat; add the original to
the -offensive database. Also provide some whimsy in the $FBSD$
headers.

Suggested by: The Kibbutz squad.


52432 22-Oct-1999 billf

Add a location to grog's assesment for historical reasons.

Submitted by: grog


52431 21-Oct-1999 nsayer

Some more old quotations I had sitting around that I shared and were
laughed at.

Reviewed by: the FreeBSDcon terminal room


52430 21-Oct-1999 billf

FreeBSDcon Wisdom.

Reviewed by: the anonymous members of the FreeBSDcon terminal room.


51950 05-Oct-1999 cpiazza

o Fix some random spelling errors
o The capital of Quebec is Quebec or Quebec City
o Add Nunavut (capital is Iqaluit)

Reviewed by: billf
Obtained from: OpenBSD


51909 03-Oct-1999 dcs

Revert to 1.15, since, as pointed out by bde, 1.16 is wrong and evil.
Add $FreeBSD$.


51864 02-Oct-1999 dcs

Add -C flag to indicate the presence of comments. Files thus processed
will be marked as having comments, which are indicated by two delimiter
characters at the beginning of a line.


51863 02-Oct-1999 dcs

Ignore comment lines in files marked as having them.


51862 02-Oct-1999 dcs

Change path order in makefile so newer fortune files will be built with
the latest fortune (strfile/caesar) sources.

Correct a separator type in fortunes2.

Add Unix geeks dating instructions (reference card style).


51457 20-Sep-1999 phantom

Correct spelling : ascii -> ASCII

PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp


51358 18-Sep-1999 green

Add curs_set(0) to get rid of that annoying cursor. I also have to evilly
add $FreeBSD$ so I can commit this.


51287 15-Sep-1999 peter

Fix warning: return type of `main' is not `int'


51194 12-Sep-1999 marcel

Move the #include directive up one line and out of the function body.


51047 07-Sep-1999 billf

Avoid ambigious if() if() else().


51046 07-Sep-1999 billf

Spelling fixes.

PR: bin/12727
Submitted by: Stephen J. Roznowski <sjr@home.com>
Obtained from: NetBSD && NetBSD PR system


50909 04-Sep-1999 bde

Attempt to fix world breakage for the NOSHARED=yes case. baudrate()
is in both snake and libncurses, and the elf static linker can't handle
the duplication.


50908 04-Sep-1999 bde

Attempt to fix world breakage for the NOSHARED=yes case. delay_output()
is in both hack and libncurses, and the elf static linker can't handle
the duplication. This is probably the correct fix for hack (it makes
it clear that the ospeed stuff can go away), but its effect on hack
has not been tested, and the linker bug remains open.


50630 30-Aug-1999 peter

baudrate() is now supplied.


50629 30-Aug-1999 peter

flushok() isn't in ncurses.


50628 30-Aug-1999 peter

Update for libncurses.


50627 30-Aug-1999 peter

Don't beat on ospeed, larn doesn't need it, and the libraries no longer
need it.


50626 30-Aug-1999 peter

Bandaid breakage due to excessive intimacy with old libcurses..


50625 30-Aug-1999 peter

The ospeed hackery was disabled a while ago, finish the job.


50619 30-Aug-1999 peter

int main, not void


50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


49892 16-Aug-1999 tg

Fix core dump with `fortune -f'.


49608 10-Aug-1999 des

Document the usefulness of Michelle Pfeiffer in OS marketing.


49464 06-Aug-1999 mpp

Fix a bunch of typos and spelling errors.

PR: misc/12965
Partially Submitted by: Patrick Seal <patseal@hyperhost.net>


49463 06-Aug-1999 mpp

strfile(8) incorrectly states that the output files generated
will have the suffix ".out" appended to them. They are acutally
created as outputfile.dat.

PR: docs/12968
Submitted by: Patrick Seal <patseal@hyperhost.net>


49217 29-Jul-1999 billf

A stupid nit, change freebsd to FreeBSD.


49210 29-Jul-1999 des

By popular request: Bill Paul's undying words.


49096 26-Jul-1999 grog

Add recognition that Microsoft NT does not exist.

Requested-by: John Baldwin <jobaldwi@vt.edu>


49050 24-Jul-1999 n_hibma

Fix typo.

PR: 12784
Submitted by: Doug <Doug@gorean.org>


49040 23-Jul-1999 billf

(1) Avoid ambigous if/else

PR: bin/12768
Submitted By: Stephen J. Roznowski <sjr@home.net>

(2) Follow KNF


48793 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


48204 24-Jun-1999 jmg

add support to buildworld as a normal user:
-DNOFSCHG disables installation of libs with flag schg
GAMEGRP change the group with which games are installed

also organize the binary section into alphebetical order some what..


48123 23-Jun-1999 obrien

Create score files root:games rather than bin:{games,bin}.

related-to-PR: bin/8440
Submitted by: Stephen J. Roznowski sjr@home.net


47872 11-Jun-1999 hoek

Compile when NO_REGEX is defined.

Submitted by: Geordy Kitchen <gkitchen@cs.ubc.ca> (gnu/12117)


47639 31-May-1999 phk

You'll see them eventually :-)


47440 23-May-1999 imp

Getopt(3) returns -1, not EOF.


47273 17-May-1999 phk

This gem deserve to live forever:

"Non stop trains to Roma Termini Station leave from 7.38
a.m. to 10.08 p.m., hourly."

(from: http://www.italyhotel.com/roma/guida/collegamenti.html)


46351 03-May-1999 steve

Round two of MetBSD games merges.

Submitted by: Stephen J. Roznowski <sjr@home.net>


46071 25-Apr-1999 steve

Revert previous commit. It broke 'make world' with NOSHARED=yes because
it was using the wrong library.

Submitted by: bde


45877 20-Apr-1999 steve

Forgot to remove these files with the NetBSD games cleanups.


45801 19-Apr-1999 steve

Merge a bunch of cleanups from NetBSD.

PR: 8083
Submitted by: Stephen J. Roznowski <sjr@home.net>
Obtained from: a whole slew of NetBSD PRs


45251 02-Apr-1999 nsayer

Call me bored, but I actually fed the equation into 'calc' just now
and got a slightly different answer than is in the quotation.


45200 31-Mar-1999 phk

Too good to be missed


44599 09-Mar-1999 dcs

Document -D option. Give a more helpful error message for some cases.

PR: bin/10152
Obtained from: Matthew D. Fuller <fullermd@futuresouth.com>


42380 07-Jan-1999 imp

Minor adjustments to prior commits:
o break at end of sentences
o add $id$
o change date

Noticed by: the ever watchful bde


42357 06-Jan-1999 imp

Fix printf errors in the hflag case.
Fix old bug with bogus casing to (long).
Document the true limits of factor on 64-bit architectures.

Submitted by: bde


42338 06-Jan-1999 imp

added -h flag to allow for hexidecimal output.
Use '0' for base rather than 10 to allow for more flexible input bases.

Inspired by changes in PR 7402, but mostly redone by me to get past
bde filter.

Submitted by: Timo J. Rinne
PR: 7402


42087 27-Dec-1998 bde

Fixed CLEANFILES.


41024 09-Nov-1998 peter

Fix typo (if it's not a typo, then it doesn't make sense IMHO)


40508 18-Oct-1998 obrien

Allow building games w/o an existing /usr/games.


40506 18-Oct-1998 obrien

Allow ``make BINDIR=/foo/games'' to work.


40478 17-Oct-1998 bde

Fixed building without /usr/games in $PATH. Just add /usr/games
to the _end_ of $PATH before using tools that are normally in
/usr/games. I broke this in rev.1.9 by assuming that these tools
are in $PATH (as they are for `make world' unless NOTOOLS is set).
Revs.1.10-1.13 of this file had various wrong fixes. Rev.1.18
of src/Makefile.inc1 has an incomplete fix.

PR: 7936

Fixed comments about what to comment out to [not] install the
potentially offensive fortunes. This should be configured using
an ifdef.

Fixed missing dependencies of fortunes.dat on fortunes, etc.

Removed bogus dependency of `all' on source files.

Fixed some style bugs.


39543 21-Sep-1998 jb

Back out the last two hacks. I've added games to the (correct) build
path in src/Makefile.inc. The code that I'm backing out didn't work
anyway since exists() checks for a file in .PATH (and /usr/games/strfile
doesn't exist there), so the test was always defaulting to ../strfile/strfile
which breaks cross-compiled builds.


39479 19-Sep-1998 phk

Remove bogus dependencies.

Submitted by: bde


39478 19-Sep-1998 phk

Reverse the sense of the test looking for caesar & strfile.


39409 17-Sep-1998 phk

Don't expect /usr/games in the path.
Avoid using /usr/games versions if we can find what we need (caesar & strfile)
in the buildtree.

PR: 7936
Submitted by: Achim Patzner <ap@noses.com>


38867 05-Sep-1998 bde

Don't do anything special to prevent access to created files - honour
the default umask. World unreadable files broke installing over nfs.


38755 02-Sep-1998 bde

Keep build-tools objects separate from `all' objects so that my
cross-builds work.


38658 30-Aug-1998 gpalmer

Split lines into one subdir per line.


38462 20-Aug-1998 jb

Make the build tools static to avoid trying to use the shared loader
before it is installed.

This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.


38325 15-Aug-1998 jb

Build the makedefs program static to avoid trying to use the shared
loader before it has been installed in an aout to elf transition build.


38324 15-Aug-1998 jb

Build the setup program static so that we don't try to use the shared
loader before it has been installed in a transition build from aout to elf.


38199 09-Aug-1998 phk

Revert the last commit, it made the Bruce filter flip:

PR7402 was even less suitable for committing almost verbatim than at
first appearance. Rev.1.9 of primes.c has at least the following defects.

- no update for man page.
- no update for usage string.
- blowing away of a previous commit to change EOF to -1 in getopt() test.
- blowing away of a previous commit to fix printf format errors.
- new printf format errors.
- one gratuitous ANSIism.
- two style bugs.
- ... and a partition in a pear tree.

PR: 7402


38153 07-Aug-1998 phk

Games primes and factor don't understand hexadecimals.
This would make these `games' somewhat useful tools.

PR: 7402
Reviewed by: phk
Submitted by: Timo J. Rinne <tri@iki.fi>


38069 04-Aug-1998 phk

Wrong filename for dictionary in manpage.
PR: 7467
Reviewed by: phk
Submitted by: Ben Walter <bwalter@itachi.swcp.com>


37871 26-Jul-1998 imp

Remove comment relevant to 16bit integers only.


37869 26-Jul-1998 imp

o Fix Y2K buffer overflow.
o Fix zero filling bug in all years % 100 < 10.


37868 26-Jul-1998 imp

Y2K fix. Fix by jsm28@cam.ac.uk via OpenBSD


37764 20-Jul-1998 jkoshy

Fix discrepancy between sources and manual page for the 'c' command.

PR: docs/6003


37527 09-Jul-1998 phk

Buffer overflow.
PR: 7195
Reviewed by: phk
Submitted by: Anders Thulin <Anders.x.thulin@telia.se>


37474 07-Jul-1998 bde

Use the installed versions of caesar and strfile. They are now
bootstrapped by `make world', and the installed versions are just
as likely to work as the installed version of cc if `make' is run
directly.


37459 07-Jul-1998 bde

Added a `build-tools' target for internal tools.

Honor LDFLAGS for building internal tools.


37458 07-Jul-1998 bde

Added a `build-tools' target for internal tools.

Honor LDFLAGS for building internal tools.

Always build intermediate object files explicitly so that binaries don't
change when they are rebuilt.

Fixed some style bugs.


37457 07-Jul-1998 bde

Added a `build-tools' target for internal tools.

Restored a variant of explicit rule for `setup', with modifications to
always build setup.o so that `setup' doesn't change every time it is
rebuilt because it has a temporary file name in it.


37309 30-Jun-1998 bde

Fixed printf format errors.


37308 30-Jun-1998 bde

Fixed (1970's style) missing declaration of a function that doesn't
return int.


37307 30-Jun-1998 bde

Fixed printf format errors. Didn't fix gross homemade varargs function
Write(). Pointers are passed to it as longs, but it expects them to
be passed as ints. The alpha non-fixes made this worse.


37306 30-Jun-1998 bde

Fixed the type of yyerror() (1970's style).


35892 09-May-1998 jb

Cast pointers to longs, not ints.

Hopefully that's the last of the 64-bit cleaning of src/games. That is,
without adding -Wall to the compiler flags. That's not a pretty sight.


35890 09-May-1998 jb

Change long variable to time_t where it is passed to time() by reference.


35889 09-May-1998 jb

Add #include string.h to get prototypes.


35888 09-May-1998 jb

Add #include string.h to get prototypes and change variables from long
to time_t where they are passed to time() and localtime() by reference.


35887 09-May-1998 jb

Remove bogus time() prototype and let the one in time.h rule.


35886 09-May-1998 jb

Add #include string.h to get prototypes.


35885 09-May-1998 jb

Cast pointers to long instead of int.


35884 09-May-1998 jb

Add #include string.h to get prototypes.


35883 09-May-1998 jb

Change casts of function pointers from int to long. This makes the
compiler warnings go away, but the compiler is throwing away 32-bits
as the long value is silently truncated to an int on alpha. But the
program works, so that must not matter.


35882 09-May-1998 jb

Add #include string.h to get prototypes.


35881 09-May-1998 jb

Change long variable to time_t because it passed to time() and ctime().


35880 09-May-1998 jb

Change long variables to time_t if they are passed to time() or localtime()
be reference.


35879 09-May-1998 jb

Add #include string.h to get prototypes.


35878 09-May-1998 jb

Change variable types from long to time_t if they are passed to time()
by reference.


35877 09-May-1998 jb

Remove #define NULL because stdio.h does that.


35876 09-May-1998 jb

Add #include string.h to get prototypes.


35875 09-May-1998 jb

Add #include string.h to get prototypes.


35874 09-May-1998 jb

tv_sec in timeval is a long, and a time_t is not necessarily a long.


35873 09-May-1998 jb

Add #include string.h to get prototypes.


35872 09-May-1998 jb

Add 'extern' to arrays that are declared and initialised elsewhere.


35870 09-May-1998 jb

Add 'extern' to arrays that are declared and initialised in other files.


35869 09-May-1998 jb

Add 'extern' to arrays that are declared and initialised in other files.
Who writes code like this?!


35868 09-May-1998 jb

Add #include stdlib.h to get prototypes.


35867 09-May-1998 jb

Change prototype for addbuf to make it compatible with tputs now that
there is a prototype to check it against.


35866 09-May-1998 jb

Add #include string.h, stdlib.h and termcap.h to get prototypes.
Change prototype for addbuf to make it compatible with tputs now that
there is a prototype to check it against.


35865 09-May-1998 jb

Add #include string to get prototypes.


35864 09-May-1998 jb

Add 'extern' to those arrays that are declared and initialised
in other files.


35860 09-May-1998 jb

Add #include string.h to get prototypes.


35859 09-May-1998 jb

Add #include stdlib.h to get prototypes.


35857 09-May-1998 jb

Add #include string.h to get prototypes.


35856 09-May-1998 jb

Alphas don't necessarily have speakers.


35745 05-May-1998 bde

Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated. It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.


35708 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules.


35473 27-Apr-1998 peter

*** empty log message ***


34982 01-Apr-1998 charnier

Exit(-1) -> exit(1).


34981 01-Apr-1998 charnier

Add prototypes, usage(). Add Id.


34980 01-Apr-1998 charnier

Add Id.


34979 01-Apr-1998 charnier

Use .An/.Aq.


34978 01-Apr-1998 charnier

Use Id instead of Header.


34082 06-Mar-1998 bde

Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers. Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.


34070 06-Mar-1998 alex

Teruillian --> Tertullian

PR: 5928
Submitted by: Doug <Studded@dal.net>


33937 01-Mar-1998 jkh

Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF? The getopt(3) manpage clearly states that the return value is *-1*,
not EOF! Besides, getopt(3) isn't reading from a file. :)

Noticed-while: merging to 2.2 (where this is correct).


33856 26-Feb-1998 steve

Fix a core dump caused by negative numbers.

PR: 5858
Submitted by: Max Euston <meuston@jmrodgers.com>


33633 20-Feb-1998 steve

Be sure to set the value of Tbl.str_numstr before any call to
do_order or randomize so that they actually work.

PR: 5791


33251 11-Feb-1998 jdp

Disable boggle. It is being removed due to trademark violations.


32544 16-Jan-1998 bde

Fixed long lines in install rule. Fixed other bogons while I was here:
- removed vestigal rule for a Lite1 `.0' manpage.
- don't duplicate defaults in the `all' dependencies.
- removed bogus dependency of `setup' on monsters.asc.
- compile `setup' with the usual CFLAGS.
- create monster files at build time, not at install time.
- don't be so repetitive in the install rule.
- fixed too-global replacement of `install' by ${INSTALL}.

Long lines made disgustingly longer by: previous commit.


32528 15-Jan-1998 phk

spelling error.


32298 07-Jan-1998 imp

Avoid fclose(NULL).
Submitted by: OpenBSD (Theo de Raadt)


32279 05-Jan-1998 eivind

Fix phantasia.

Noticed by: max


29866 26-Sep-1997 jkh

Remove bogus declaration of calloc() that broke the build. Test, folks,
test!


29837 24-Sep-1997 ache

Remove unused file


29836 24-Sep-1997 ache

Convert to random()


29835 24-Sep-1997 ache

Fix turn right
Submitted by: "Klaus-J. Wolf" <Yanestra@t-online.de>


29834 24-Sep-1997 ache

Oops, miss one rand() lcation...


29833 24-Sep-1997 ache

Convert to random()


29832 24-Sep-1997 ache

Convert to random() and automatically fix bug with RAND_MAX is too large


29831 24-Sep-1997 ache

Convert to random()


29830 24-Sep-1997 ache

Move under HIDEGAME, add revoke
Cleanup
Convert to random()


29829 24-Sep-1997 ache

Cleanup
Convert to random()


29828 24-Sep-1997 ache

Convert to random()
Cleanup


29827 24-Sep-1997 ache

Cleanup.
Convert to random()


29825 24-Sep-1997 ache

Revoke properly by setgid, not by setuid, overlooked in games
uid->gid change


29824 24-Sep-1997 ache

Remove setuid, priveledges already revoked early in the right way


29823 24-Sep-1997 ache

Cleanup.
Initialize random


29822 24-Sep-1997 ache

Use include for malloc declaration


29821 24-Sep-1997 ache

Fix longstanding bug: it was impossible to save to the same file twice
since it was deleted on exit.


29820 24-Sep-1997 ache

Fix revoke to use setgid instead of setuid,since games uid changed to
gid and this place overlooked


29819 24-Sep-1997 ache

Revoke privs before shell exit
Includes cleanup
Use getlogin()
Fix names in FILES section
Convert to random()


29814 24-Sep-1997 ache

Oops, to many zeroes was in usleep arg


29813 24-Sep-1997 ache

Headers cleanup.
Add revoke before shell exit.
Fix mail sending procedure.
Convert to random()
Implement nap.


29811 24-Sep-1997 ache

Remove conflicting malloc declaration


29810 24-Sep-1997 ache

Remove setuid, uneeded now


29809 24-Sep-1997 ache

Back out all my changes and restore v1.5 because there is no
setuid games now, hack problem fixed differently by hackdir permissions


29808 24-Sep-1997 ache

Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group


29803 24-Sep-1997 ache

Includes cleanup
Fix nonull flag detecting from termcap
Use usleep to handle nonull case
Prevent overflow on genocided getenv
Install most files not owned by games.games to prevent
data modifications
Fix path for gethdate()


29802 24-Sep-1997 ache

Use SUIDGAME hook now


29801 24-Sep-1997 ache

Back out previous fix (not work) and add more general SUIDGAME hook instead


29800 24-Sep-1997 ache

Since hack suid now, add -fschg to install flags to prevent this
binary to be overwritted


29799 24-Sep-1997 ache

Revoke privs once at earlier stage and not mess with setegid in save
Fix save: missing creation modes arg and wrong symlink test
Small C cleanup


29798 24-Sep-1997 ache

Simplify revoke


29797 24-Sep-1997 ache

Open score file and do revoke as early as possible


29796 24-Sep-1997 ache

Simplify revoke


29795 24-Sep-1997 ache

Make hack suid "games" (additionly to sgid "games" as run),
it is needed for savegames and bones, they
intendent to not be altered by user and can't be pre-created as scorefile.
Clear savegames on install: target too, not only bones
Install rumors not readable by all.
Cleanup includes a little.


29794 24-Sep-1997 ache

Allow BINMODE to be overwritted (use ?=)


29790 24-Sep-1997 ache

Simplify revoke


29785 24-Sep-1997 ache

Do not swap uids on log writting but open it first, then revoke
Simplify revoke


29784 24-Sep-1997 ache

Put comment indicating revoke


29783 24-Sep-1997 ache

Simplify revoke


29782 24-Sep-1997 ache

Oops, fix my error from prev commit (revoke simplification)


29781 24-Sep-1997 ache

Simplify revoke


29779 24-Sep-1997 ache

Revoke sgid privs early and not svap uids on saved game at all


29777 24-Sep-1997 ache

Cleanup
Simplify revoke: only sgid needed to be revoked
Use srandomdev


29774 24-Sep-1997 ache

Use srandomdev


29773 24-Sep-1997 ache

Use srandomdev
Cleanup


29772 24-Sep-1997 ache

Use srandomdev


29771 24-Sep-1997 ache

Use srandomdev


29770 24-Sep-1997 ache

Use srandomdev()


29769 24-Sep-1997 ache

Use srandomdev


29768 24-Sep-1997 ache

Use srandomdev


29766 24-Sep-1997 ache

Beforeinstall logfile to prevent it owned by first user who run the game


29765 24-Sep-1997 ache

Beforeinstall scorefile to prevent it owned by first user who
run the game


29762 24-Sep-1997 ache

Beforeinstall scorefile to prevent it owned by first who run the game


29761 24-Sep-1997 ache

Installed scenarios was unreadable with change games uid->gid, fix it
Beforeinstall score file to the right place
Use srandomdev
Remove revoke, it broke scores and scenarios
Fix names in FILES manpage section


29760 24-Sep-1997 ache

Pre-create score file to prevent it owned by first user who run
canfield
Fix scorefile name in manpage
Use srandomdev
Remove revoke, the game already revoked in another place
Fix bug with missing getuid()


29758 24-Sep-1997 ache

Beforeinstall scores and log file to prevent them owned by
first who run snake
snake.c: cleanup, use srandomdev() now, fix created file permissions


29757 24-Sep-1997 ache

Install scorefile as group games writeable
Remove revoke from game, score can't work with revoke


29756 24-Sep-1997 ache

Beforeinstall log and score files to prevent owning of them by first
user who run game
Slightly modify game to understand pre-created score file


29755 24-Sep-1997 ache

Install empty rogue.scores file to prevent it owned by
first user who run rogue


29754 24-Sep-1997 ache

Do not install 3 files writeable by all (666), change it to 664


29573 18-Sep-1997 phk

Many places in the code NULL is used in integer context, where
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>


29486 16-Sep-1997 ache

Remove revoke privs, not needed


29485 16-Sep-1997 ache

Remove HIDEGAME, it is not a game


29297 11-Sep-1997 peter

Disable tetris


29019 01-Sep-1997 ache

Describe morse locale features better


29018 01-Sep-1997 ache

Fix Cyrillic (KOI8-R) code table detection and processing
Remove yet one setuid()


29017 01-Sep-1997 ache

Remove HIDEGAME and revoke, it is not a game to hide it


29016 01-Sep-1997 ache

Remove so-called revoke, this game never installed sguid


29015 01-Sep-1997 ache

Remove so-called revoke, this game not installed sguid


29014 01-Sep-1997 ache

Remove so-called revoke, this game not installd sguid


29013 01-Sep-1997 ache

Remove so-called revoke, this game not installed sguid


28979 01-Sep-1997 eivind

Change games from setuid games to setgid games.

Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)


28611 23-Aug-1997 jmg

minor fortune fixes:
o convert a ' to "
o remove a stray "
o format some attributations properly


28382 18-Aug-1997 jlemon

A ':' in the data file was always interpreted as a category divider,
even if escaped. Changed code so that the next character after a '\'
is skipped. This should not cause a buffer overflow, as backslashes
at the end of a line are handled earlier in the code.

Also correct a slight grammatical nit in the bard datfile.

PR: 3777, 3917


28058 11-Aug-1997 steve

Merge Lite2 changes.

PR: bin/2599
Submitted by: Julian Assange <proff@iq.org>


26826 23-Jun-1997 steve

Show the real revision date and not the date that this
manpage is being viewed.


26652 14-Jun-1997 max

Typo fix.
PR: 3662
Submitted by: Matthew Hunt <mph@pobox.com>


26627 14-Jun-1997 ache

Remove srandomdev fallback code


26496 07-Jun-1997 phk

This file was somewhat out of date :-)


26455 05-Jun-1997 ache

Remove some duplicated and incomplete entries


26056 23-May-1997 jmg

a bunch of formatting (\t -> \t\t) changes... so I was board one night.. :)


25763 13-May-1997 asami

Remove explicit rule for setup. This effectively deletes revisions 1.2
and 1.3 as well.


25758 13-May-1997 asami

Add ${CFLAGS} and ${LDFLAGS} to the setup command line.


24420 30-Mar-1997 ache

Use srandomdev() now
Add range checking for invalid denominator values


24212 24-Mar-1997 ache

Use srandomdev() to initialize generator


24160 24-Mar-1997 mpp

Typo police.


23760 12-Mar-1997 peter

Merge from Lite2 so that it compiles


23759 12-Mar-1997 peter

Man page is .6, not .0 - crept in from Lite2


23757 12-Mar-1997 peter

factor.6, not factor.0 (crept in from 4.4Lite2)


23726 11-Mar-1997 peter

Merge from Lite2 (oops, nearly forgot these ones)


23705 11-Mar-1997 peter

This commit was generated by cvs2svn to compensate for changes in r23704,
which included commits to RCS files with non-trunk default branches.


23699 11-Mar-1997 ache

Fix srandom arg type accodring to Lite2
Use ^ getpid() instead of + getpid()


23698 11-Mar-1997 ache

Fix srandom arg type according to Lite2


23533 08-Mar-1997 ache

Make /dev/urandom fd static, or it pick up random descriptor
(stack garbadge) and read from it

Should go into 2.2


23318 03-Mar-1997 ache

Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL


23303 02-Mar-1997 ache

Add +1 to NUL terminate after MAXLOGNAME


23139 26-Feb-1997 eivind

Actually remove sys/time.h hack; fix typo.
Pointed out by: bde


23067 23-Feb-1997 mpp

Allow fortune to use /dev/urandom if available to obtain its random
numbers. If /dev/urandom is unavailable, it will fall back to
using the random() function.

I did this because I'm sick of seeing the same handful of fortunes
over and over, and I've seen the exact same fortune one too many times
when starting up two login shells at the same time.

2.2 safe.


23033 23-Feb-1997 eivind

Fix sizeof/strlen typo and limit scanf length.

scanf spotted by: Aarn Bornstein <aaronb@j51.com>


23032 23-Feb-1997 eivind

Add setuid() before running the pager - from the code audit.

Submitted by: Mark Huizer <xaa@stack.nl>


22992 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22954 20-Feb-1997 mpp

#include <string.h> to help silence -Wall.


22939 20-Feb-1997 eivind

Remove buffer overflow and tempfile race, remove <sys/time.h> hack (and
need for it), change definition of setbit() macro and friends to be
compatible with <sys/param.h>.
The bugs were discovered and fixed as a result of the FreeBSD code audit.

Submitted by: Aaron Bornstein <aaronb@j51.com>, Mark Huizer <xaa@stack.nl>


22743 15-Feb-1997 max

List -h option also in the SYNOPSIS line.


22735 15-Feb-1997 max

Added an option `-h' which gives you usage info.
(According to the original man page, giving `-' by itself as the argument
is supposed to do this, but it seems that it never worked that way.)


22571 11-Feb-1997 max

Make the description of command-line args match the reality.
- Options must be preceeded by a `-'.
- Backgammon doesn't give, and hasn't given you any usage info.
(Maybe this should be fixed in the program.)


22459 09-Feb-1997 imp

Buffer overflow from OpenBSD
1.3 deraadt:
buf oflow, felix@mamba.pond.sub.org
Obtained from: OpenBSD

Not sure how to exploit this, but may be a backmerge candidate.


22449 09-Feb-1997 wosch

444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}


22445 09-Feb-1997 wosch

$* -> "$@"
use exec for last command in shell script


22245 03-Feb-1997 phk

The fact that people can't put the proper source on Kierkegaards
most famous insult to humanity can be forgiven, afterall, it
almost underlines the quote with irony, if one knows the context.

But to misspell the name of Alfred E. Neuman ...


22191 01-Feb-1997 max

Instead of swapping ruid and euid before and after touching user's file,
simply drop the privilege right after the program is started.
Thanks to bde for giving me good suggestion about this problem.


22172 01-Feb-1997 max

Include string.h for prototype of strdup().


22164 31-Jan-1997 max

Style police:
- Indentation corrections
- Spaces -> tabs.
- func() -> func () (To be consistent with the original code.)
- Check if getopt() returns -1, not EOF.

Suggested by: bde


22114 30-Jan-1997 max

Better handling of command-line argument:
1. Pass argc and argv to getarg and process them with getopt().
2. Instead of using an array to save arg characters, use array of
pointers and call backgammon/teachgammon with execv, instead of execl.

This should fix problems with calling teachgammon.
2.2 candidate.


22110 30-Jan-1997 max

Oops, setreuid() also needed before and after opening/closing the recover file
in recover().
2.2 candidate.


22109 30-Jan-1997 max

Do getreuid(geteuid(), getuid()) before opening file to save the game and
after closing it.
This fixes bug that user couldn't save the game in progress.
2.2 candidate.


22016 26-Jan-1997 mpp

Correct some grammar. Closes PR# 2520.

Submitted by: John-Mark Gurney <gurney_j@efn.org>


21962 23-Jan-1997 max

Fix typo in instruction message.


21957 23-Jan-1997 max

When calling recover() from getarg(), also check to see if the first
character of the argument being processed isn't '\0'.

This fixes problem with backgammon exiting abnormally when you answer 'y' to
the question it asks if you need instruction for the game.

2.2 cnadidate, maybe?


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21420 08-Jan-1997 mpp

Fix some typos and remove a couple of duplicate
fortunes. Closes PR#s 2358 and 2402.

Submitted by: John-Mark Gurney <gurney_j@efn.org>


21155 01-Jan-1997 bde

Use ${COPY} instead of -c for installing non-source files.


20822 22-Dec-1996 wosch

comma police for section SEE ALSO

Sponsored by: Vin de Pays de l'Aude


20454 14-Dec-1996 mpp

Correct the location of the trek documentation in the
SEE ALSO section of the man page. Closes PR# 2009.


20402 13-Dec-1996 bde

Fixed extra columns in output for input lines with leading spaces.


20401 13-Dec-1996 bde

Made `setup' depend on libraries.


20400 13-Dec-1996 bde

Fixed missing declaration of malloc().


20397 13-Dec-1996 bde

Hack around misuse of reserved names `clock' and and `time' in a different
way. Defining KERNEL before including <sys/time.h> broke when "opt_cpu.h"
was included in a deeply nested header, except in -current where the
problem is masked by a namespace pollution bug in <stdio.h>.


20389 13-Dec-1996 jkh

Remove bogus declaration of malloc(). Closes PR#2197


19928 22-Nov-1996 gpalmer

Fix minor typo/grammatical error

Submitted by: John-Mark Gurney <jmg@nike.efn.org> in PR 2085


19494 07-Nov-1996 jkh

If not on a tty, don't do "--more--" processing. Someday, I will get
rogomatic to work with this version. :)


19291 31-Oct-1996 ache

Uncomment static from collate_range_cmp, no more in locale.h


19288 31-Oct-1996 ache

Replace collate_range_cmp call with its code


19034 19-Oct-1996 jkh

Install the rumors file.
Submitted-By: koshy@india.hp.com
Closes-PR#: 1883


18936 15-Oct-1996 alex

Set the effective user id to that of the real user id when
saving/restoring a game (necessary when adventure is invoked via dm).


18718 05-Oct-1996 wosch

delete doubled words, e.g.: "the the" -> "the"


18485 24-Sep-1996 bde

Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.


18464 22-Sep-1996 bde

Fixed annoying non-null output for `make depend'. SRCS should only
be used for C, C++ and assembler sources if <bsd.prog.mk> is
included. It was used for general files. This caused the __depend_*
lists in <bsd.dep.mk> to be empty, so mkdep was never run, so
.depend never existed, so it was always out of date, so `rm -f
.depend' was always executed to update it.


18050 05-Sep-1996 bde

Fixed DPADD.


17555 12-Aug-1996 ache

Convert to newly aded collate compare function


17537 12-Aug-1996 ache

Pick collate info too


17201 17-Jul-1996 joerg

Correctly declare main() as `int'.

Closes PR # bin/1385: /usr/games/pom, invalid de...

Submitted by: zach@freebsd.gaffaneys.com (Zach Heilig)


16663 24-Jun-1996 jkh

Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.


16262 09-Jun-1996 ache

Handle sorting in better way


16140 05-Jun-1996 ache

Activate collate


16082 03-Jun-1996 bde

Backed out yacc changes.


16014 30-May-1996 phk

Use new yacc rule.


15957 28-May-1996 ache

Fix -f mode
Fix freeing of wrong pointer


15949 27-May-1996 ache

-Wall cleanup
Remove unneded function


15944 27-May-1996 ache

Localize it.
off_t -> long.
Install strfile & unstr
-Wall cleanup
Fix matching bug with offensive database


15930 27-May-1996 ache

Find caesar and strfile properly.
Generate .dat files on build state


15929 27-May-1996 ache

Use valid ctype range now.
Includes cleanup
Misc. cleanup
Use absolute path in rot13 wrapper.


15912 26-May-1996 scrappy

Applied patch to close PR#bin/199

Submitted by: Toshihiro Kanda <candy@kgc.co.jp>


15778 15-May-1996 nate

The Makefile assumed that builder had '.' in it's path, which is a
security hole for root. Fix this oversight and clean up the build of
'hack.onames.h' which should be built everytime.

Tested with/without obj directories and .depend files.

Noticed by: "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>


15082 07-Apr-1996 mpp

Correct some man page cross references and file location references.


14620 13-Mar-1996 wosch

add missing include files


14039 11-Feb-1996 mpp

Correct man page section number references (e.g. don't use the
old 1M, 3X and 3S section numbers) and make some minor formatting
changes to silence manck.


13922 05-Feb-1996 mpp

Correct some man page cross references and some file
locations.


13849 02-Feb-1996 mpp

Add some missing manual page links.


13750 30-Jan-1996 mpp

Fix even more spelling errors in some more man pages.


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


13122 30-Dec-1995 peter

recording cvs-1.6 file death


13073 28-Dec-1995 jkh

Truncate the fgets() return properly.


13066 27-Dec-1995 dima

gets -> fgets

Submitted by: fn@@pain.csrv.uidaho.edu


13061 27-Dec-1995 joerg

Spell a German fortune correctly.


12980 22-Dec-1995 markm

1) Remove the subdir x11/ from the build. xneko and xroach are ports now.
2) Add $Id$


12552 01-Dec-1995 jkh

gets() -> fgets()


12551 01-Dec-1995 jkh

gets() -> fgets(). I'm tired of looking at the compiler messages!


10973 23-Sep-1995 asami

Prototype atof() so that the -speed option works. Closes bin/733.

Submitted by: candy@fct.kgc.co.jp (Toshihiro Kanda)


10352 27-Aug-1995 joerg

Make morse(6) realling playing the characters on the speaker.

Minor additions by me, mostly taken from the suggestion in PR # bin/709.

Submitted by: lyndon@orthanc.com (Lyndon Nerenberg, VE7TCP/VE6BBM)


9987 07-Aug-1995 wollman

Delete bogus referneces to timezone code internal header file `tzfile.h',
which is no longer bogusly installed in /usr/include.


9915 04-Aug-1995 ache

Add missing ospeed initialization


9900 04-Aug-1995 ache

Add missing ospeed setting


9899 04-Aug-1995 ache

Add missing entries to speedtable


9701 25-Jul-1995 bde

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.


9696 24-Jul-1995 bde

Change `install' to `${INSTALL}' as usual.

Install the `built' files with flag ${COPY}.


9556 17-Jul-1995 rgrimes

Use correct spelling of ``knew''.

Obtained from: netbsd-bugs@NetBSD.ORG, Peter Seebach <seebs@solon.com>


9323 26-Jun-1995 bde

Remove bogus references to /usr/ucb.


8856 30-May-1995 rgrimes

Remove trailing whitespace.


8383 09-May-1995 rgrimes

Fix nested comments for -Wcomment warnings.


8139 28-Apr-1995 jkh

Add piano.


8137 28-Apr-1995 jkh

This commit was generated by cvs2svn to compensate for changes in r8136,
which included commits to RCS files with non-trunk default branches.


7391 26-Mar-1995 phk

If possible, pick up the caesar program inside in the compilation tree.


7136 18-Mar-1995 rgrimes

Create /usr/share/games/quiz.db via mtree and remove private mkdir command
from Makefile.


6160 03-Feb-1995 bde

Include <limits.h> to get LONG_MAX - don't depend on namespace pollution
in <time.h>.


5376 04-Jan-1995 ache

Add missing "noflush" option from standard rogue


4993 05-Dec-1994 ache

gdc -> grdc


4977 04-Dec-1994 ache

gdc -> grdc


4975 04-Dec-1994 ache

This commit was generated by cvs2svn to compensate for changes in r4974,
which included commits to RCS files with non-trunk default branches.


4926 03-Dec-1994 ache

Add bs/gdc


4923 03-Dec-1994 ache

This commit was generated by cvs2svn to compensate for changes in r4922,
which included commits to RCS files with non-trunk default branches.


4919 03-Dec-1994 ache

Prevent core dump for root
Obtained from: partially from 1.1.5.1


4846 28-Nov-1994 ats

Add the files: characs, gold, lastdead, mess, monsters, motd, scoreboard, void
that are created from a setup program to the CLEANFILES list.


4823 26-Nov-1994 ats

Add a -fwritable-strings to the CFLAGS. hack need it :-).


4692 20-Nov-1994 phk

Make the "games" dist the hard way.


4482 14-Nov-1994 phk

"distribute" games into their own distribution.
Reviewed by:
Submitted by:
Obtained from:


4254 08-Nov-1994 phk

"dm" must be owned by "games" to do it's stunt.


3339 03-Oct-1994 ache

Allow to save/restore files (was games user suid problem)


3337 03-Oct-1994 ache

Close security hole: all games linked with dm started as suid bin


2884 19-Sep-1994 swallace

Change setup.c so that game files are generated into obj dir,
then Makefile installs into ${DESTDIR}/var/games/phantasia


2676 11-Sep-1994 rgrimes

Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap


2655 11-Sep-1994 jkh

Yow! Something highly bogus happened with the previous commit or
patch and I only just noticed. Fix things to include Makefile.inc correctly.


2652 10-Sep-1994 jkh

More properly include ../../Makefile.inc from Makefiles.
Reviewed by: jkh
Submitted by: rgrimes


2621 09-Sep-1994 jkh

How embarassing. I totally forgot to cvs add this thing. Thanks, Rod!
Submitted by: jkh


2591 08-Sep-1994 jkh

Nuke monop - we don't need any grief from Parker Brothers on their copyrighted
and trademarked game.
Reviewed by: jkh
Submitted by: sef


2587 08-Sep-1994 jkh

Remove the conditional mkdir of /var/games/phantasia - done by mtree now.
Submitted by: jkh


2585 08-Sep-1994 jkh

Sigh. Ok, now that these have been uncovered by fixing the Makefile,
make them work! :-) Just include ${X11BASE}/include in the CFLAGS, basically.
Submitted by: jkh


2583 08-Sep-1994 jkh

Gack - this was totally broken.
Reviewed by:
Submitted by:


2575 08-Sep-1994 bde

Add datfiles to SUBDIR for obj target too. "make install" wrote to the
source directory and failed when the source directory was nfs mounted.
This was fixed in 1.1.5. Sigh.


2566 08-Sep-1994 jkh

Make this work with missing dirs.
Submitted by: jkh


2565 08-Sep-1994 jkh

Woo, naughty! It just occurred to me that this guy wasn't using
${DESTDIR} - fixed.
Submitted by: jkh


2564 08-Sep-1994 jkh

More preventive medicine on making directories before installation.
Submitted by: jkh


2563 08-Sep-1994 jkh

Nuke the ching port - it's highly bogus and I'm sure we can find another
(better) one if we ever get overwhelmed by requests.
Submitted by: jkh


2562 08-Sep-1994 jkh

Fixup the .if exists() stuff I messed up the first time.
Submitted by: jkh


2503 05-Sep-1994 bde

Remove chess from subdirs. It doesn't exist.

Add a missing right parentheses to an expression.


2491 04-Sep-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r2490,
which included commits to RCS files with non-trunk default branches.