aboutsummaryrefslogtreecommitdiff
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Fix several instances of spaces before commas, and one of a spaceDoug Barton2009-07-162-6/+6
| | | | | | | | | | | before a ). PR: docs/136723 Submitted by: Ulrich Sporlein <uqs@spoerlein.net> Approved by: re (kib) Notes: svn path=/head/; revision=195726
* Misc fixed to fortunesEdwin Groothuis2009-06-052-17/+18
| | | | | | | | | PR: conf/112024 Submitted by: Niclas Zeising <niclas.zeising@gmail.com> MFC after: 2 days Notes: svn path=/head/; revision=193486
* [patch] fortune(6): George Bernard Shaw quote fixEdwin Groothuis2009-06-041-3/+3
| | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=193467
* [patch] fortune(6): file not Y2.01K compliantEdwin Groothuis2009-06-041-1/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=193464
* Too good to pass.Poul-Henning Kamp2009-03-061-0/+8
| | | | Notes: svn path=/head/; revision=189448
* netcat is "now" in base, so point people at nc(1) instead of the port.Simon L. B. Nielsen2009-01-121-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=187110
* Another good day for historical quotes, Oliver Wendell Holmes brought toPoul-Henning Kamp2008-10-081-0/+3
| | | | | | | | | you by Thomas L. Friedman. (http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinion) Notes: svn path=/head/; revision=183707
* A Wittgenstein quote according to David IgnatiusPoul-Henning Kamp2008-10-081-0/+3
| | | | | | | http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html Notes: svn path=/head/; revision=183691
* Suggections from bde@Andrey A. Chernov2008-08-112-5/+11
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=181615
* All cosmetic.Andrey A. Chernov2008-08-103-12/+9
| | | | | | | | | 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() Notes: svn path=/head/; revision=181527
* 1) Fix longstanding math bug with denominator > 1 (wrong probability).Andrey A. Chernov2008-08-081-8/+16
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=181412
* I was confused a bit by the wrong construction with RAND_MAXAndrey A. Chernov2008-08-083-4/+10
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=181410
* 1) Replace hardcoded RANDOM_MAX macro with wrong (1 less than must be)Andrey A. Chernov2008-08-081-11/+5
| | | | | | | | | 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] Notes: svn path=/head/; revision=181409
* Use __FreeBSD_version check since it is bootstrap toolAndrey A. Chernov2008-08-071-0/+8
| | | | Notes: svn path=/head/; revision=181396
* Add reference to arc4random_uniform(3)Andrey A. Chernov2008-08-071-0/+1
| | | | Notes: svn path=/head/; revision=181389
* Use arc4random_uniform(3)Andrey A. Chernov2008-08-071-3/+1
| | | | Notes: svn path=/head/; revision=181386
* Use arc4random_uniform(3)Andrey A. Chernov2008-08-071-7/+6
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=181385
* Add a quote too good to miss from:Poul-Henning Kamp2008-08-021-5/+9
| | | | | | | | | 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.) Notes: svn path=/head/; revision=181207
* o Alan Shepard was first American in the space; fix attribution.Maxim Konovalov2008-07-221-1/+1
| | | | | | | | | | | o Correct Alan's surname. PR: bin/125812 Submitted by: Derek Taylor [1], gavin [2] MFC after: 1 week Notes: svn path=/head/; revision=180694
* Unmangle an E.W.Dijkstra quote.Poul-Henning Kamp2008-07-141-3/+5
| | | | Notes: svn path=/head/; revision=180512
* Apply learning from RAIEC (Redundant Array of Independeng English Courses)Poul-Henning Kamp2008-07-071-1/+1
| | | | | | | kindly provided by four different correspondents since my last commit. Notes: svn path=/head/; revision=180341
* Two quotes too good to miss.Poul-Henning Kamp2008-07-051-0/+7
| | | | Notes: svn path=/head/; revision=180286
* Months in English are capitalized (even when abbreviated).Garrett Wollman2008-06-251-1/+1
| | | | Notes: svn path=/head/; revision=179987
* +Computers can't cruise. Meandering is a foreign concept to them.Poul-Henning Kamp2008-06-231-0/+6
| | | | | | | | | | +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) Notes: svn path=/head/; revision=179960
* Fixed the output grammar to properly speak non-terminal dits.Sean Farley2008-06-082-5/+7
| | | | | | | | | | | Updated Lyndon Nerenberg's radio callsign and E-mail address. PR: bin/7868 Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca> MFC after: 1 week Notes: svn path=/head/; revision=179654
* Remove a quote about the instant-workstation, this portRemko Lodder2008-05-311-10/+0
| | | | | | | | | | | has been removed ages ago. PR: docs/124166 Submitted by: keramida Prodded by: novel,keramida Notes: svn path=/head/; revision=179459
* This bloke has his priorities straight:Poul-Henning Kamp2008-04-291-0/+4
| | | | | | | | | | | +"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 Notes: svn path=/head/; revision=178662
* Add a missing quote symbol.Yaroslav Tykhiy2008-04-261-1/+1
| | | | Notes: svn path=/head/; revision=178605
* Just met Kurt Vonnegut's quote remarkably relevantYaroslav Tykhiy2008-04-261-0/+4
| | | | | | | | to open software development (as well as to the other kinds of human activity.) Notes: svn path=/head/; revision=178604
* Put back the quote from Chinggis Khan removed in rev. 1.259.Yaroslav Tykhiy2008-04-031-0/+6
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=177879
* Improve some quotes of Chinggis Khan.Ganbold Tsagaankhuu2008-03-311-56/+37
| | | | | | | | | | | Remove militant and moralized quotes of Chinggis Khan. Add one more quote of Chinggis Khan. Reviewed by: yar Approved by: keramida(mentor) Notes: svn path=/head/; revision=177781
* Fix typo.Diomidis Spinellis2008-03-031-1/+1
| | | | Notes: svn path=/head/; revision=176764
* Add another very relevant quote from "The Elements of Programming Style"Yaroslav Tykhiy2008-02-281-0/+3
| | | | | | | by Kernighan and Plauger. Notes: svn path=/head/; revision=176639
* It was Plauger, not Ritchie, who co-authored both editionsYaroslav Tykhiy2008-02-281-1/+1
| | | | | | | | of "The Elements of Programming Style". Also spell the name of the book properly. Notes: svn path=/head/; revision=176638
* getopt(3) returns -1, not EOF.Ruslan Ermilov2008-02-191-1/+1
| | | | Notes: svn path=/head/; revision=176407
* A real gem from freebsd-current@Dag-Erling Smørgrav2008-01-101-0/+3
| | | | Notes: svn path=/head/; revision=175213
* Typo; s/relied/repliedJens Schweikhardt2008-01-071-1/+1
| | | | Notes: svn path=/head/; revision=175129
* Fix a few small typos, and remove one duplicate.Doug Barton2007-12-311-16/+7
| | | | | | | | | | 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.) :) Notes: svn path=/head/; revision=175017
* Aussie New Years wishWilko Bulte2007-12-281-0/+4
| | | | Notes: svn path=/head/; revision=174959
* Typos corrected.Jens Schweikhardt2007-12-251-2/+2
| | | | Notes: svn path=/head/; revision=174897
* On Christmas lights.Wilko Bulte2007-12-231-0/+11
| | | | Notes: svn path=/head/; revision=174879
* Warner lets a good one out..Julian Elischer2007-12-211-0/+6
| | | | Notes: svn path=/head/; revision=174823
* TypoDag-Erling Smørgrav2007-12-141-1/+1
| | | | Notes: svn path=/head/; revision=174597
* Add my all-time favorite quote, from one of my all-time favorite people.Wes Peters2007-12-141-0/+3
| | | | Notes: svn path=/head/; revision=174581
* A few more cleanups.Doug Barton2007-12-094-73/+70
| | | | Notes: svn path=/head/; revision=174471
* The ../tools/do_sort script could not differentiate betweenDoug Barton2007-12-081-5/+6
| | | | | | | | | 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. Notes: svn path=/head/; revision=174429
* Combine the fortunes-o.real and the fortunes2-o file, as was doneDoug Barton2007-12-073-13501/+13499
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=174426
* Sort these files using: sh ../tools/do_sort < $file > $file.sortedDoug Barton2007-12-079-3073/+3065
| | | | | | | This greatly aids in detecting duplicates, among other things. Notes: svn path=/head/; revision=174425
* This is a massive cleanup of the fortune files, including removalDoug Barton2007-12-079-5273/+2049
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=174422
* Add speller files for fortune files that did not have them,Doug Barton2007-12-076-1184/+5756
| | | | | | | and update the ones that already existed. Notes: svn path=/head/; revision=174421