summaryrefslogtreecommitdiffstats
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* My change, namely srandomdev() addition, was backed out even withoutache2005-07-231-3/+1
| | | | | | | | | | | | | | | | | 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().
* Use a random number to seed the random number generator. Goodby, Rushgrog2005-07-231-1/+3
| | | | | | | | | 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.
* Correct an error in the previous revision. RAND_MAX is the maximum valuejhb2005-06-221-3/+9
| | | | | | | | | | 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
* Snoopy in quality of life.phk2005-06-101-1/+3
|
* Fix markup nits.ru2005-06-071-3/+1
|
* Add Farnsworth support to morse(6).joerg2005-06-072-11/+41
| | | | | | | | | | | | | | (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
* When operating the diopter adjustment knob with your eye to the view-wilko2005-06-061-0/+5
| | | | | | | 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 %
* Hand it to spaff, he knows how to say it:phk2005-05-291-0/+5
| | | | | | | 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.
* Fix for 64-bit platforms. random() returns values between 0 and RAND_MAX,jhb2005-05-271-3/+3
| | | | | | | | | 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
* Remove duplicate and attribute Weinbergs second law to the right weinberg.phk2005-05-131-3/+1
|
* Nuke a corrupted duplicate.schweikh2005-05-071-8/+3
| | | | Some white space and punctuation fixes.
* Make caesar and pom WARNS 6 clean. While there, use prototypes everywhere.stefanf2005-05-014-14/+9
| | | | PR: 62456
* s/which/witchschweikh2005-04-241-1/+1
|
* Enforce style.Makefile(5).trhodes2005-04-221-1/+1
| | | | Glanced at by: ru (some time ago).
* Data is not information;phk2005-04-131-0/+5
| | | | | | Information is not knowledge; Knowledge is not wisdom -- Gary Flake
* s/self-distruction/self-destructionschweikh2005-04-101-2/+2
|
* He who receives ideas from me, receives instruction himself withoutphk2005-03-221-0/+5
| | | | | | lessening mine; as he who lights his taper at mine receives light without darkening me. -- Thomas Jefferson on patents on ideas.
* Typo.murray2005-03-191-1/+1
| | | | | | PR: conf/77178 Submitted by: Andras Jako <jako.andras@eik.bme.hu> MFC after: 1 week
* These words, while not spoken about anything even slightly related, are very,philip2005-03-141-0/+3
| | | | | | very applicable when waiting for world to compile *grin* Impatience award to: philip
* Remove dublicate entries and correct apostrophe abuse.brueffer2005-03-131-9/+5
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Add a story about confusing information theory with thermodynamics.yar2005-03-071-0/+7
|
* Another good Dijkstra quote.phk2005-03-041-0/+6
|
* Add missing quote.phk2005-03-031-1/+1
|
* Wisdom from 1972.phk2005-03-031-0/+5
|
* Give a better advice on how to convert DOS text to UNIX text.yar2005-02-281-2/+2
| | | | | | | | 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
* Add a neat remark on the popular belief that the universe is a safeyar2005-02-261-0/+3
| | | | the man ought to break open and rob.
* Fixed warnings and bump WARNS to 6.ru2005-02-232-25/+14
|
* Bump WARNS to 6.ru2005-02-231-1/+1
|
* Make the on-disk format of .dat files produced by strfile(8)ru2005-02-177-101/+109
| | | | | | | | 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
* Expand contractions.ru2005-02-131-2/+2
|
* Expand *n't contractions.ru2005-02-133-3/+3
|
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-096-9/+7
|
* Keep only one style of Pittsburgh driver's tests.ru2005-02-081-24/+19
| | | | Noticed by: Pawel Worach
* An aggressive little script I used to trim out duplicate fortunes.ru2005-02-071-0/+63
|
* Trim more cookies, by playing with different hash functions,ru2005-02-071-3215/+3
| | | | | | | | 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.
* s/worman/woman/schweikh2005-02-031-1/+1
|
* Ignore consonants, and remove more duplicates.ru2005-02-031-381/+0
|
* Removed more duplicates (forgot to ignore underscore).ru2005-02-031-40/+0
|
* Keep the fortune above this.ru2005-02-031-2/+0
| | | | Reviewed by: sheldonh
* Remove more duplicates.ru2005-02-031-31/+0
|
* Ignore vowels, and remove more duplicates, mostly due to typos.ru2005-02-031-130/+0
|
* Trim some obnoxious warlording.des2005-02-031-112/+0
|
* Removed more duplicates, by ignoring "i", "you", "we",ru2005-02-031-70/+0
| | | | | "an", "is", "are", "will", "'ll", "is", "'s" to find them. More to follow...
* Merged fortunes with fortunes2.ru2005-02-033-55310/+55269
| | | | Sort fortunes (except for the first entry).
* Fix bugs.ru2005-02-031-3/+5
| | | | | | 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.
* Removed 1695 fortunes also found in fortunes2.ru2005-02-021-6961/+0
|
* Ignore case and all non-word characters, and remove more duplicates.ru2005-02-015-141/+0
|
* - Add few lines from my personal signature filepav2005-02-011-0/+9
| | | | | Suggested by: Florent Thoumie Approved by: mux
* Remove another duplicate fortune.smkelly2005-02-011-4/+0
|
* Removed full duplicates that only differ in amount of whitespaceru2005-02-015-213/+0
| | | | and line breaks.
OpenPOWER on IntegriCloud