aboutsummaryrefslogtreecommitdiff
path: root/games/fortune
Commit message (Collapse)AuthorAgeFilesLines
* Use Bernard Baruch's full name.Eitan Adler2012-12-051-2/+2
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=243899
* fix a couple of spelling errors...John-Mark Gurney2012-11-151-2/+2
| | | | Notes: svn path=/head/; revision=243048
* In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it isDimitry Andric2012-11-141-1/+1
| | | | | | | | | *not* a boolean). MFC after: 3 days Notes: svn path=/head/; revision=243036
* Make OK_TO_WRITE_TO_DISK an envrionment variable insteadEitan Adler2012-11-042-46/+44
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=242577
* Prefer the use of stdbool to custom defines.Eitan Adler2012-11-041-3/+3
| | | | | | | | Approved by: cperciva (from discussion) MFC after: 3 days Notes: svn path=/head/; revision=242576
* Remove extra word:Eitan Adler2012-10-231-1/+1
| | | | | | | | | Submitted by: many Approved by: cperciva (implicit) MFC after: 3 days Notes: svn path=/head/; revision=241934
* Sysinstall has been removed from base.Eitan Adler2012-10-221-1/+1
| | | | | | | Approved by: cperciva Notes: svn path=/head/; revision=241845
* Make do_uniq work with python3Eitan Adler2012-10-221-6/+6
| | | | | | | | Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=241834
* Correct the tip about finding all the directories on the systemEitan Adler2012-10-021-4/+9
| | | | | | | | | | | Add a tip about clearing the screen. Make things more consistent by removing quotes around 'make search' Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=241116
* Add a couple of nice quotes from Edward Everett HaleDoug Barton2012-07-291-0/+9
| | | | Notes: svn path=/head/; revision=238879
* Partial revert of previous commit as some of the changes were notEitan Adler2012-05-101-4/+5
| | | | | | | | | | | | newbie-friendly. Requested by: jhb, gcooper Approved by: cperciva (implicit) MFC after: 3 days X-MFC-With: r235209 Notes: svn path=/head/; revision=235227
* Add a few new tips and update some old ones to more modern commandsEitan Adler2012-05-091-17/+12
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=235209
* Replace index() and rindex() calls with strchr() and strrchr().Ed Schouten2012-01-031-3/+3
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=229403
* 1. Correct capitalization of the nobility particle forDoug Barton2011-12-281-9/+9
| | | | | | | | | | | | | | 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] Notes: svn path=/head/; revision=228938
* Prefer ASCII apostrophes over Unicode ones like the rest of the file.Ulrich Spörlein2011-12-281-1/+1
| | | | Notes: svn path=/head/; revision=228934
* 1. Remove a bunch of duplicates. Usually this means removing them fromDoug Barton2011-12-273-683/+39
| | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=228909
* Add static keywords to variables and functions where possible in games/.Ed Schouten2011-11-052-100/+98
| | | | | | | | This allows us to detect unused functions and variables and allows the compiler to do a better job at optimisation. Notes: svn path=/head/; revision=227101
* Fix the text and attribution of the poem "Youth" by Samuel Ullman.Doug Barton2011-10-291-19/+31
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=226898
* Minor typo, fix 2 attributionsDoug Barton2011-06-091-3/+5
| | | | Notes: svn path=/head/; revision=222890
* Convert a file to UTF-8. This only changes a character in theUlrich Spörlein2011-05-141-1/+1
| | | | | | | copyright section and will not require UTF-8 for fortune(6). Notes: svn path=/head/; revision=221909
* fortune(6): fix typos and misspellings.Ulrich Spörlein2011-05-149-67/+11
| | | | | | | | | | While here, drop words in the spelling files that are no longer used anywhere. Speling errors found via: codespell from Lucas De Marchi Notes: svn path=/head/; revision=221908
* Move potentially offensive fortune to fortunes-o.Rebecca Cran2011-02-132-4/+4
| | | | | | | | PR: bin/137702 MFC after: 3 days Notes: svn path=/head/; revision=218650
* Add advice to new fathers from Thomas Ptacek.Colin Percival2010-09-291-0/+6
| | | | | | | | | Suggested by: wilko Approved by: Thomas Ptacek Security: New parents often feel very insecure. Notes: svn path=/head/; revision=213287
* fix the move so that it matches what the rest of the internetJohn-Mark Gurney2010-09-031-1/+1
| | | | | | | | | says about this game... This move also makes more sense... MFC after: 1 week Notes: svn path=/head/; revision=212168
* "whereis netscape" gives empty output for quite a long time already.Max Khon2010-08-091-1/+1
| | | | | | | Suggest to use "whereis firefox" instead. Notes: svn path=/head/; revision=211094
* Fix indention of attribution line for some recent additions.Ulrich Spörlein2010-07-301-3/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=210662
* Correct a Cecil Beaton quoteDoug Barton2010-07-251-1/+1
| | | | | | | | PR: docs/148916 Submitted by: Rob Farmer <rfarmer@predatorlabs.net> Notes: svn path=/head/; revision=210484
* Taken from actual police videos ...Doug Barton2010-06-261-0/+33
| | | | Notes: svn path=/head/; revision=209531
* Sync fortunes with other *BSDsUlrich Spörlein2010-03-317-1342/+1311
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=205995
* s/all ready/already/Wilko Bulte2010-02-261-1/+1
| | | | | | | Submitted by: ru@, gj@ Notes: svn path=/head/; revision=204360
* On the (non)sense of legal disclaimers in emails.Wilko Bulte2010-02-251-0/+16
| | | | Notes: svn path=/head/; revision=204314
* Prefer exit(0) from main over return(0).Ulrich Spörlein2010-02-211-1/+1
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=204178
* fortune(6) switch to 3-clause BSDL; style(9)Ulrich Spörlein2010-02-157-267/+244
| | | | | | | | | | This reduces the diff to other *BSD and makes it possible to actually see the code differences. Approved by: ed (Co-mentor) Notes: svn path=/head/; revision=203926
* games: make WARNS=6 the default, remove overridesUlrich Spörlein2010-02-153-3/+0
| | | | | | | | | This also bumps factor, fortune, primes, and random to WARNS=6. Approved by: ed (Co-mentor) Notes: svn path=/head/; revision=203923
* fortune(6) make WARNS=6 cleanUlrich Spörlein2010-02-151-106/+71
| | | | | | | | | Fixes taken mostly from DragonflyBSD. Approved by: ed (Co-mentor) Notes: svn path=/head/; revision=203922
* Add the definition of MistakeholderGeorge V. Neville-Neil2010-02-091-0/+6
| | | | Notes: svn path=/head/; revision=203703
* Our standard "xterm" termcap entry supports colour, so this tip is redundant.Gavin Atkinson2010-01-111-12/+0
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=202115
* For the now-infamous Rumsfeld quote:Doug Barton2010-01-071-3/+3
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=201764
* - Move potentially offensive quotes I committed recently to fortunes-o.Stanislav Sedov2010-01-052-14/+15
| | | | | | | | | | - Reference date. - Be more clear on context. Suggested by: dougb Notes: svn path=/head/; revision=201626
* Remove more duplicatesDoug Barton2010-01-051-219/+14
| | | | | | | Minor reformatting on a few Notes: svn path=/head/; revision=201601
* - Add two particulary interesting quotes from the past decade.Stanislav Sedov2010-01-041-0/+14
| | | | Notes: svn path=/head/; revision=201477
* Use ANSI C function declarations.Ed Schouten2009-12-292-17/+20
| | | | Notes: svn path=/head/; revision=201175
* Properly sort a math fortune after the changes in r193486Doug Barton2009-11-071-26/+26
| | | | | | | Properly sort fortunes added in r174879 and r174959 Notes: svn path=/head/; revision=199025
* Move Warner's very funny comparison of VCS to anal sex into fortunes-oDoug Barton2009-11-072-6/+6
| | | | Notes: svn path=/head/; revision=199023
* Remove the svn:executable property from this fileDoug Barton2009-11-071-0/+0
| | | | Notes: svn path=/head/; revision=199021
* Fix not only the grammar, but also the formatting that makes the gagDoug Barton2009-11-041-1/+2
| | | | Notes: svn path=/head/; revision=198921
* "Potluck Pogo" was a collection of Walt Kelly's "Pogo" cartoonsDoug Barton2009-10-062-2/+2
| | | | | | | first published in 1955. "Putluck Pogo" seems to be a typo. Notes: svn path=/head/; revision=197797
* 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