aboutsummaryrefslogtreecommitdiff
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Update the freebsd-tips example to use drill instead of dig since bind is no ↵Allan Jude2014-07-251-3/+3
| | | | | | | | | | longer in base CR: D460 Approved by: bcr (mentor) Notes: svn path=/head/; revision=269089
* Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
| | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* fortune(8): Search fortune files installed by ports/packages as well asGavin Atkinson2014-07-141-1/+2
| | | | | | | | | | | those supplied by the base system. PR: 191800 Submitted by: Andy Kosela MFC after: 1 week Notes: svn path=/head/; revision=268637
* Fix equation and limerick to be correct. NetBSD fixed this 14 years agoGavin Atkinson2014-07-051-2/+2
| | | | | | | | | | | | (src/games/fortune/datfiles/fortunes2 1.7). PR: 188714 Submitted by: ksmakoto dd.iij4u.or.jp Reviewed by: Wolfram Alpha MFC after: 3 days Notes: svn path=/head/; revision=268295
* use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-202-2/+2
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-062-2/+2
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Add placeholder Kyuafiles for various top-level hierarchies.Julio Merino2014-04-212-2/+18
| | | | | | | | | | | | | | | This change adds tests/ directories in the source tree to create various subdirectories in /usr/tests/ and to install placeholder Kyuafiles for them. the relevant hierarchies are: cddl, etc, games, gnu and secure. The reason for this is to simplify the addition of new test programs for utilities or libraries under any of these directories. Doing so on a case by case basis is unnecessary and is quite an obscure process. Notes: svn path=/head/; revision=264741
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-133-3/+3
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Correct a typo in Malcolm MacDougall's name.Joe Marcus Clarke2014-02-151-1/+1
| | | | | | | Approved by: gabor Notes: svn path=/head/; revision=261948
* Fix typo in fortune (go -> to)Gavin Atkinson2013-12-101-1/+1
| | | | Notes: svn path=/head/; revision=259189
* Remove "Warning: file \"%s\" unreadable". It was introduced with revisionMarcel Moolenaar2013-12-071-4/+0
| | | | | | | | | | 44599 and turned less than useful ever since fortunes-o.dat got removed. Running "fortunes -a" is enough to always see it for fortunes-o.dat. Since we compile with debugging enabled, the removal is easily compensated for by running "fortune -D -D". Notes: svn path=/head/; revision=259057
* Fix r203922 for "fortune -o": we free tpath when was_malloc is trueMarcel Moolenaar2013-12-071-2/+2
| | | | | | | | | | but don't define tpath everytime we set was_malloc to true. We end up calling free() multiple times for the same pointer, resulting in: <jemalloc>: jemalloc_arena.c:355: Failed assertion: ... When we set path to offensive, we need to set tpath as well. Notes: svn path=/head/; revision=259056
* Refresh the tips for the new pkg system.Gleb Smirnoff2013-10-031-14/+6
| | | | | | | | Reviewed by: bapt Approved by: re (hrs) Notes: svn path=/head/; revision=256019
* Remove a reference to instant-server which has been removed from theEitan Adler2013-03-211-10/+0
| | | | | | | | | | | ports tree in r313427. PR: 177012 Submitted by: Kevin Zheng <kevinz5000@gmail.com> Approved by: bcr (mentor) Notes: svn path=/head/; revision=248580
* Remove fortunes-o from the base system. Debating what does or does notJohn Baldwin2013-03-124-17160/+6
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=248200
* Remove political propagandaDag-Erling Smørgrav2013-02-051-227/+0
| | | | Notes: svn path=/head/; revision=246362
* 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
* Free buf when its no longer used. This helps eliminate a static analysisEitan Adler2012-10-221-0/+2
| | | | | | | | | | | | warning. PR: ports/172566 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=241847
* bcd isn't installed setuid.Eitan Adler2012-10-222-6/+0
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=241846
* 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
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-1/+1
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* o Preserve argv[0] to use it later in usage().Maxim Konovalov2012-01-281-2/+3
| | | | | | | | | PR: bin/164570 Submitted by: Klaus Aehlig MFC after: 1 week Notes: svn path=/head/; revision=230644
* Reencode morse.c to UTF-8. This does not make it Unicode aware.Ulrich Spörlein2012-01-151-85/+90
| | | | | | | | | 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. Notes: svn path=/head/; revision=230131
* 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
* In games/factor/factor.c, fix a warning about a format string not beingDimitry Andric2011-12-161-1/+1
| | | | | | | | | a literal. MFC after: 1 week Notes: svn path=/head/; revision=228596
* Add static keywords to variables and functions where possible in games/.Ed Schouten2011-11-057-153/+151
| | | | | | | | 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
* morse(6): fix typos and space-before-tabsUlrich Spörlein2011-05-141-20/+20
| | | | Notes: svn path=/head/; revision=221907
* Improve the distributeworld target in Makefile.inc1 and update the releaseNathan Whitehorn2011-03-021-0/+1
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=219177
* 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
* factor(6): Check return values of BN_* functions.Ulrich Spörlein2010-12-201-4/+8
| | | | | | | Coverity Prevent: CID 4862, 8771, 8772, 8773 Notes: svn path=/head/; revision=216598
* Drop advertising clause in manpages. It was done a long time agoUlrich Spörlein2010-12-068-41/+9
| | | | | | | | | for the source code. Discussed with: core Notes: svn path=/head/; revision=216239
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-2/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* 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