Commit Graph

601 Commits

Author SHA1 Message Date
Eitan Adler
acdfecd359 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)
2013-03-21 12:42:25 +00:00
John Baldwin
eaa2cf4022 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
2013-03-12 12:35:02 +00:00
Dag-Erling Smørgrav
9c37bca751 Remove political propaganda 2013-02-05 14:39:37 +00:00
Eitan Adler
8d36e2f17b 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
2012-12-05 13:57:00 +00:00
John-Mark Gurney
fab7340c59 fix a couple of spelling errors... 2012-11-15 03:22:50 +00:00
Dimitry Andric
3da6b5f9a5 In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it is
*not* a boolean).

MFC after:	3 days
2012-11-14 18:52:37 +00:00
Eitan Adler
5ceadbe035 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
2012-11-04 15:15:47 +00:00
Eitan Adler
2a00f5cc5c Prefer the use of stdbool to custom defines.
Approved by:	cperciva (from discussion)
MFC after:	3 days
2012-11-04 15:15:43 +00:00
Eitan Adler
c868b4b5a1 Remove extra word:
Submitted by:	many
Approved by:	cperciva (implicit)
MFC after:	3 days
2012-10-23 15:03:25 +00:00
Eitan Adler
5becbbf49c Sysinstall has been removed from base.
Approved by:	cperciva
2012-10-22 03:00:43 +00:00
Eitan Adler
1acb71e699 Make do_uniq work with python3
Approved by:	cperciva
MFC after:	3 days
2012-10-22 02:29:56 +00:00
Eitan Adler
ca4fbd1884 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
2012-10-02 00:30:15 +00:00
Doug Barton
dedc690aa6 Add a couple of nice quotes from Edward Everett Hale 2012-07-29 01:01:35 +00:00
Eitan Adler
69a9b7f16b 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
2012-05-10 12:46:12 +00:00
Eitan Adler
3dad564249 Add a few new tips and update some old ones to more modern commands
MFC after:	1 week
2012-05-09 22:13:56 +00:00
Ed Schouten
b3608ae18f 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.
2012-01-03 18:51:58 +00:00
Doug Barton
0ef7f263a7 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]
2011-12-28 22:18:53 +00:00
Ulrich Spörlein
8064fedced Prefer ASCII apostrophes over Unicode ones like the rest of the file. 2011-12-28 19:37:03 +00:00
Doug Barton
436c93525d 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.
2011-12-27 10:21:57 +00:00
Ed Schouten
3b9fe1e175 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.
2011-11-05 07:18:53 +00:00
Doug Barton
5db2dc2a3a 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
2011-10-29 06:33:12 +00:00
Doug Barton
3f6c8f3765 Minor typo, fix 2 attributions 2011-06-09 06:10:39 +00:00
Ulrich Spörlein
1372d81a40 Convert a file to UTF-8. This only changes a character in the
copyright section and will not require UTF-8 for fortune(6).
2011-05-14 19:03:54 +00:00
Ulrich Spörlein
ad85c5040d 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
2011-05-14 19:03:45 +00:00
Rebecca Cran
d886030b8a Move potentially offensive fortune to fortunes-o.
PR:	bin/137702
MFC after:	3 days
2011-02-13 18:18:56 +00:00
Colin Percival
0873fefd57 Add advice to new fathers from Thomas Ptacek.
Suggested by:	wilko
Approved by:	Thomas Ptacek
Security:	New parents often feel very insecure.
2010-09-29 23:47:06 +00:00
John-Mark Gurney
ec6f1f4a71 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
2010-09-03 03:20:34 +00:00
Max Khon
1dd592007a "whereis netscape" gives empty output for quite a long time already.
Suggest to use "whereis firefox" instead.
2010-08-09 09:26:17 +00:00
Ulrich Spörlein
684eaf44c0 Fix indention of attribution line for some recent additions.
MFC after:	3 days
2010-07-30 20:20:14 +00:00
Doug Barton
19b7052d55 Correct a Cecil Beaton quote
PR:		docs/148916
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net>
2010-07-25 21:35:56 +00:00
Doug Barton
9dad55defc Taken from actual police videos ... 2010-06-26 07:02:31 +00:00
Ulrich Spörlein
5889adb09d 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)
2010-03-31 18:21:25 +00:00
Wilko Bulte
fb24fced05 s/all ready/already/
Submitted by:	ru@, gj@
2010-02-26 16:27:11 +00:00
Wilko Bulte
499608ad34 On the (non)sense of legal disclaimers in emails. 2010-02-25 15:03:57 +00:00
Ulrich Spörlein
cd6ceabc3d 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)
2010-02-21 21:03:15 +00:00
Ulrich Spörlein
5499562eca 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)
2010-02-15 15:10:21 +00:00
Ulrich Spörlein
f6a71b56a1 games: make WARNS=6 the default, remove overrides
This also bumps factor, fortune, primes, and random to WARNS=6.

Approved by:	ed (Co-mentor)
2010-02-15 14:32:00 +00:00
Ulrich Spörlein
21b0c303a4 fortune(6) make WARNS=6 clean
Fixes taken mostly from DragonflyBSD.

Approved by:	ed (Co-mentor)
2010-02-15 14:31:30 +00:00
George V. Neville-Neil
c97a53e8b9 Add the definition of Mistakeholder 2010-02-09 14:51:39 +00:00
Gavin Atkinson
1b19ce3e0a 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)
2010-01-11 21:17:49 +00:00
Doug Barton
c670f97a6b 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.
2010-01-07 23:30:10 +00:00
Stanislav Sedov
e851fd040e - Move potentially offensive quotes I committed recently to fortunes-o.
- Reference date.
- Be more clear on context.

Suggested by:	dougb
2010-01-05 23:35:43 +00:00
Doug Barton
a573c11cf5 Remove more duplicates
Minor reformatting on a few
2010-01-05 19:40:32 +00:00
Stanislav Sedov
8d7446f925 - Add two particulary interesting quotes from the past decade. 2010-01-04 09:16:35 +00:00
Ed Schouten
f29b2b9bef Use ANSI C function declarations. 2009-12-29 08:42:58 +00:00
Doug Barton
79b871ac8a Properly sort a math fortune after the changes in r193486
Properly sort fortunes added in r174879 and r174959
2009-11-07 22:13:29 +00:00
Doug Barton
152f5570db Move Warner's very funny comparison of VCS to anal sex into fortunes-o 2009-11-07 21:28:21 +00:00
Doug Barton
355179569c Remove the svn:executable property from this file 2009-11-07 21:02:40 +00:00
Doug Barton
4c061eaa53 Fix not only the grammar, but also the formatting that makes the gag 2009-11-04 18:40:05 +00:00
Doug Barton
0f3d628ce3 "Potluck Pogo" was a collection of Walt Kelly's "Pogo" cartoons
first published in 1955. "Putluck Pogo" seems to be a typo.
2009-10-06 02:13:32 +00:00