Commit Graph

862 Commits

Author SHA1 Message Date
schweikh
dd86e6792b s/seems to thing/seems to think
X-MFC after:	4.7 is out the door
2002-09-21 16:13:20 +00:00
tg
da0df40e61 Fix spelling of Bismarck's name and remove duplicate
Bertrand Russell quotations.
2002-09-11 11:21:36 +00:00
jmallett
9878f0eb0e Add a tip about using sed(1)'s FreeBSD-specific -i option.
MFC after:	42 days
2002-09-04 23:28:35 +00:00
dwmalone
8e06166a98 Spell Ken Olsen's name the same way everywhere.
PR:		7434
2002-08-31 23:15:41 +00:00
jmallett
b5dabb1bbc Rewrite wargames(6) in C. A program in C in the public domain is better than
a shell script with a big copyright.  Or maybe just a good way to spend an hour
after watching a Matthew Broderick flick.
2002-08-30 07:14:42 +00:00
jmallett
77037b0dd1 Wargames was PG-13, not PGP 13. I just watched it with my girlfriend, and
there was no mention of PGP, despite what the manpage said!  Total let down!

MFC After:	65456665556666545666655654 DTMF tones.
2002-08-29 04:07:20 +00:00
charnier
06afb62b3c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
schweikh
e98f885b38 Fix typos (s/seperat/separat/ et al); add FreeBSD ID.
Suggested by:	bde
MFC after:	3 days
2002-08-12 10:04:32 +00:00
fanf
86ac9c0394 Remove some Dijkstra quotes from fortunes that are duplicated in fortunes2.
Move the single remaining one across to fortunes2 to join its friends.
Spell his name consistently. Remove a couple of other duplicate fortunes.
2002-08-09 20:37:01 +00:00
fanf
7d12add921 Re-sort. 2002-08-09 19:54:11 +00:00
fanf
b07f3a0a55 Remove spurious quotes. 2002-08-09 19:31:27 +00:00
fanf
5f7c47f1e3 Correctly sort previous addition. 2002-08-09 19:30:20 +00:00
fanf
f74837b232 Some more advice from Dijkstra. 2002-08-09 19:08:02 +00:00
fanf
151f2668c5 Fix a couple of typos in a Dijkstra quote. 2002-08-09 19:00:10 +00:00
ru
34de99cd26 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
ru
0438f8a407 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
dwmalone
221e26a61f Fix a typo.
PR:		40539
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
2002-07-14 22:50:12 +00:00
dwmalone
3aa52a7faf Fix a typo.
PR:		40523
Submitted by:	Andrew Stevenson <andrew@ugh.net.au>
2002-07-14 15:28:01 +00:00
peter
459c7cbe27 Fix whitespace botch in previous commit. 2002-07-09 06:47:29 +00:00
peter
f6897a39de Add C code that counts the bits in a 32 bit word, right next to the C code
that reverses the bits in a 32 bit word.  Who thinks up this stuff?
2002-07-09 02:56:10 +00:00
mp
0e678b293d Paraphrase a quote to remove year specific references.
PR:		40291
Submitted by:	Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
2002-07-07 16:13:48 +00:00
jmallett
9bc16138c3 Use varargs for syserr().
Pointed out by:	snapshots.jp.freebsd.org warnings log.
2002-06-23 18:30:29 +00:00
jmallett
d25ebb7206 syserr()'s first argument is not exit status, avoid dereferencing (char *)0
in printf(3).
2002-06-23 18:29:52 +00:00
mike
d8cc828c9a Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
schweikh
31b9da5ba3 Backout recent typo "fix". I've been enlightened that it's an obsolete
and rare synonym for indomitable (from the French indomptable)

Requested by:	"Jacques A. Vidrine" <nectar@FreeBSD.org>
2002-05-31 14:36:45 +00:00
schweikh
8b76b81398 Typo: s/Indomptable/Indomitable/
MFC after:	3 weeks
2002-05-31 13:26:56 +00:00
wollman
101f6ff2fa Add used include of <stdlib.h>, copying style bugs from adjacent lines. 2002-05-30 21:28:58 +00:00
wollman
98693a12e9 Fix preprocessor directive syntax (text after #endif). 2002-05-30 21:04:11 +00:00
alfred
7d613cbac0 Make almost WARNS=5 compliant:
ANSI'fy function declarations.
Constify some globals and function paramters.
Remove unsused arguments.
Fix (rename) shadowed variables.
2002-05-28 21:41:02 +00:00
alfred
9a224c4d1d Comment out comments after #endif directives 2002-05-28 21:06:03 +00:00
alfred
c3f67aab4e Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
2002-05-28 17:03:12 +00:00
bde
2369fc5459 Fixed lossage of the prototype for usage() in previous commit.
Fixed higher WARNS levels while I was here (missing prototype for main(),
and missing const poisoning).
2002-05-28 12:20:15 +00:00
kris
df60e93ab8 Quiet some format string warnings by marking prototypes with
__printflike()

MFC After:	1 week
2002-05-28 06:12:31 +00:00
des
d98d0ebd67 Comment out extra tokens after #else and #endif. 2002-05-23 00:38:07 +00:00
peter
8da2718bed Do not guess what a bool is, just use it. 2002-05-21 08:34:18 +00:00
dougb
40118377c4 Correctly attribute a Douglas Adams quote, and remove a duplicate of
the same quote.
2002-05-15 04:35:27 +00:00
alfred
c68dc294fd Fix warnings by commenting out text after #else/#endif. 2002-05-11 04:40:13 +00:00
obrien
a877ff37af It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complains
loudly, so don't do it.
2002-05-08 20:39:10 +00:00
obrien
98202729ca It is not clear if "#endif FOO" is allowed by ANSI.
Gcc 3.1 complains loudly, so don't do it.
2002-05-08 20:37:48 +00:00
mph
effdf69e8d s/-300K/~300K/
This is an absolute (kelvin) temperature.  I expect that in the original
source it was typeset as $\sim 300~{\rm K}$ or similar, meaning
"approximately 300 K".  Changing it to a minus sign in the fortunes file
was clearly an error, as absolute temperatures are by definition positive.
2002-05-01 06:20:57 +00:00
dougb
1f36a16039 More ispell fun 2002-04-30 10:13:42 +00:00
dougb
61bd4ea717 Fix a few more of my typos, a few others I noticed, and some ispell help. 2002-04-30 08:08:31 +00:00
sheldonh
4977e35059 Correct typo (is -> us). 2002-04-30 07:36:44 +00:00
jmallett
f76f59dd03 Add something absurd I used one night as an example of CS overcomplication
of things most hackers take for granted.
2002-04-29 06:26:12 +00:00
jmallett
e8ecce27b2 Add one more here.
Submitted by:	Glen "Going to be a Daddy" Neff
2002-04-29 02:00:53 +00:00
jmallett
b7d0246cb4 Remove a Kurt Vonnegut quote that appears in fortunes. 2002-04-29 01:44:16 +00:00
jmallett
1e9989bf5d Spell out the name of Hunter S. Thompson. 2002-04-29 01:38:43 +00:00
jmallett
ed3d675eaa Sort one, remove some dupes. 2002-04-29 01:22:50 +00:00
jmallett
a9197fe14a Add something I found amusing when overheard, and a paraphrasal of it. 2002-04-29 01:05:23 +00:00
dougb
3abe9601f2 Move the Rush Limbaugh fortunes to the offensive file, right after the
Anti-Reagan section. :) Apparently, people find opinions contrary to
their own to be offensive.
2002-04-29 00:41:55 +00:00
dougb
a42e8abd4f Sort according to ../tools/do_sort 2002-04-29 00:33:30 +00:00
dougb
84ff18d0de * Add a quote about the differences between human and machine
understanding from Ellen Ullman.
* Add Rush Limbaugh's 35 Undeniable Truths of Life. The ordering
of the entries is due to the ../tools/do_sort script.
2002-04-28 23:34:25 +00:00
dougb
51b4a1bb3f * Add $FreeBSD$ to limerick and zippy
* Delete trailing white space in all its forms. In addition to being
bad style in general, it also causes formatting, and other problems
for various third party items (like xscreensaver) which use fortunes
for their own purposes.
2002-04-28 21:59:07 +00:00
jmallett
c017c7c0f7 Kill one version of a limerick here.
Approved by:	The usual suspects on that IRC channel.
2002-04-28 21:16:32 +00:00
jmallett
5ca5424da3 Kill some duplicates.
Kill an incorrectly duplicated Einstein limerick (thanks phk!)
2002-04-28 21:03:26 +00:00
jmallett
7a2f53730c Kill one exact duplicate of a Hunter S. Thompson quote. Put on peril-sensitive
sunglasses for great evil, too.
2002-04-27 06:14:32 +00:00
jmallett
20c161959d Death to duplicate fortunes. 2002-04-27 05:46:13 +00:00
ceri
8b6938dc30 There is no host called new.bbc.co.uk - fix url.
Reviewed by:	jkh
Approved by:	jkh, murray
MFC after:	3 days
2002-04-26 10:58:06 +00:00
wollman
080d274680 Sort. 2002-04-25 19:31:43 +00:00
wollman
3533791b4c Spell Fred Brooks's name right. 2002-04-25 19:27:40 +00:00
wollman
36acd0437b Resort and suppress dupes. 2002-04-25 19:12:30 +00:00
wollman
125efc9572 Add a few more aphorisms. 2002-04-25 18:53:41 +00:00
wollman
bd62ccb24d Add some of uncontroversial fortunes from my files. 2002-04-25 03:20:27 +00:00
tg
98c33954e6 Add some fortunes and re-order the Feynman problem solving algorithm.
Thanks to gsutter for the quotes.

Reviewed by:	jkh
2002-04-24 12:15:00 +00:00
des
c91c856b3e Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
roam
ab47c5638c Fix a segfault if 'wear' is used without an argument or with
an argument that is not a valid word from the battlestar dictionary.

PR:		36992
Submitted by:	Ceri Davies <ceri@FreeBSD.org>
Reviewed by:	dd
Approved by:	dd, silence on -audit
MFC after:	2 weeks
2002-04-15 17:27:34 +00:00
charnier
7559ff86af End of comment was missing at FreeBSD Id line. Switch to FBSDID. 2002-04-12 20:16:15 +00:00
joe
c286531e32 Add a few more tips, and tweak a couple.
PR:		misc/34039
2002-04-01 08:53:21 +00:00
joe
116144d8b9 Augment the BLOCKSIZE tip. (Based on the PR with slight changes by myself).
PR:	misc/34039
2002-04-01 08:43:58 +00:00
jhb
5aecca0f24 Add a new fortune seen in the sig of an e-mail.
Submitted by:	ue (indirectly)
Approved by:	eivind
2002-03-29 21:32:08 +00:00
imp
e60d3245d5 o remove __P 2002-03-24 01:09:35 +00:00
schweikh
d919056a16 Remove a duplicate with a typo.
MFC after:	3 days
2002-03-23 22:10:02 +00:00
dd
9ccc2d828e Assorted mechanical fixes.
PR:		34790
Submitted by:	Mike Makonnen <mike_makonnen@yahoo.com>
2002-03-09 04:38:25 +00:00
phk
20615f7183 Add one.
Submitted by:	jedgar
Reviewed by:	The usual gang of idiots in that IRC channel.
2002-02-25 21:52:34 +00:00
bde
59dc6e7117 #include <time.h> for the definition of time functions instead of
depending on namespace pollution 2 layers deep in <sys/stat.h>.

Sorted includes.  Removed some unused includes.
2002-02-25 01:50:43 +00:00
billf
8d9a1c219f BDECFLAGS
Reviewed by:	md5(1)
2002-02-23 10:44:04 +00:00
billf
aaab12dab9 KNF -> ANSI function declarations
Reviewed by:	md5(1)
2002-02-23 10:35:25 +00:00
billf
24e49293f0 KNF to ANSI function declaration, silence a warning 2002-02-23 10:21:19 +00:00
billf
adddfd0667 warning fixes, mostly type matching 2002-02-23 09:59:45 +00:00
billf
7ae0a1a66b convert from KNR to ANSI function declarations
Reviewed by:	md5(1)
2002-02-23 09:53:27 +00:00
billf
3e838de946 staticize functions and variables
change function declarations to ANSI
change a variable that stores sizeof() values to size_t
use return to escape the end of main(), not exit(3)
2002-02-21 18:13:31 +00:00
billf
6eb04d494f use the typedef 'ubig' to declare pr_limit, not what ubig is typedef'd
to be.

PR:		misc/35181
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after:	3 days
2002-02-21 17:33:56 +00:00
mike
b2f3aa6012 o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
  Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
  and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
2002-02-18 20:35:27 +00:00
imp
11b4b22996 Fix last second botch of adding $FreeBSD$. 2002-02-18 05:40:54 +00:00
imp
8f3a92d2ad Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
2002-02-18 05:15:19 +00:00
keramida
7db1380b6b Add a tip about pkg_info and checking for multiple installed versions
of a package/port.
2002-02-11 03:45:29 +00:00
bde
121f825e31 Don't declare our own common version of the library variable `ospeed'.
Include <termcap.h> to get its declaration.  Our initialization of it
is still dubious, but it agrees with ncurses' documentation of it
(none) and with ncurses' recently fixed internals for it (old speeds
from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
2002-02-02 09:50:45 +00:00
bde
e1f2e305e8 Don't declare the library variable `ospeed' without even getting its
type correct.  Include <termcap.h> to get its declaration.  Our
initialization of it is still dubious, but it agrees with ncurses'
documentation of it (none) and with ncurses' recently fixed internals
for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite
documentation for it.
2002-02-02 09:37:20 +00:00
bde
28431348e6 Don't declare our own common version of the library variable `ospeed'
without even getting its type correct.  Include <termcap.h> to get its
declaration.  Our initialization of it is still dubious, but it agrees
with ncurses' documentation of it (none) and with ncurses' recently
fixed internals for it (old speeds from <sys/ttydev.h>) and with the
4.4Lite documentation for it.
2002-02-02 09:32:09 +00:00
tg
ccf1891399 Clean up G. B. Shaw quotes:
- fix missing punctuation,
- remove duplicates in fortunes2,
- don't abbreviate first names.

Remove duplication of Shaw's principle in fortunes2.
2002-01-07 13:47:22 +00:00
grog
0c033b3d2b Correct typo. 2002-01-01 00:50:30 +00:00
roam
9db7a8fbc3 Fix a typo. While 'iff' might make sense in a mathematics-related text,
'if and only iff' does not.

PR:		33242
Submitted by:	Eric Yu <ericyu@mail2000.com.tw>
2001-12-27 13:33:10 +00:00
wilko
9ccc76d605 A case of ninfo (non-info)
Submitted by:	Hans.VanSluis@compaq.com
MFC after:	1 month
2001-12-20 17:25:45 +00:00
ru
fb9cd1d54d Install files via FILES. 2001-12-17 15:23:57 +00:00
ru
d5844d0aa7 FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
mikeh
8e7e67079f Modify tip that no longer applies for ftp(1). 2001-12-17 08:16:14 +00:00
wilko
124c284320 Unix: Just Say No..
Obtained from:	Jan.Hendriks@Compaq.com
MFC after:	3 days
2001-12-12 09:49:02 +00:00
keramida
44bb02014a Be more specific in an example of fortune's -e option.
PR:		32085
Submitted by:	setantae@submonkey.net <setantae@submonkey.net>
2001-12-08 04:54:55 +00:00
jhb
5def684c36 Trim yet another duplicate fortune. 2001-12-05 22:40:44 +00:00
jhb
5f5aa2335a Properly sort the last two fortunes alphabetically. 2001-12-05 22:39:00 +00:00
jhb
98a9703024 Add a short commentary on libdialog by jkh. 2001-12-05 22:13:53 +00:00
jhb
b1c4bfcba9 Remove an incorrect duplicate Douglas Adam quote and properly format and
the correct duplicate.  Both versions also attributed the quote to the
wrong book.
2001-12-05 22:09:39 +00:00
jhb
22ab467d54 Fix a typo and add a missing period. 2001-12-05 21:36:14 +00:00
jhb
913208eb1c Remove some duplicate fortunes. 2001-12-05 21:06:30 +00:00
phk
e1f2318f3a s/Kenned y/Kennedy/
Pointed out by: $a_lot_of_people
2001-11-27 17:10:54 +00:00
phk
f7bf7fe389 This string of coincidences was too good to let pass.
Obtained from:	BBC World Service on 9410kHz
2001-11-27 16:53:43 +00:00
peter
185338268a Fix some duplicate quotes and tidy up some Dr. Who quotes. 2001-11-27 12:02:03 +00:00
keramida
415289f81a Other committers do not mention their personal names and/or email
addresses when adding stuff, so it seems fair to stop ``getting all
the fame'' by having my name displayed on login sessions.

Approved by:	nik
2001-11-19 20:17:19 +00:00
joe
ce9dc0dbb7 Fix a typo:
Flinstone -> Flintstone.

Submitted by:	grog (during the kernel debugging session at BSDConEurope)
2001-11-12 12:21:39 +00:00
dillon
dbbd67f9d9 Add terminating % so the last fortune can be found.
Add a fortune.
2001-11-09 18:24:09 +00:00
phk
186b85e5f1 Separate concatenated fortunes.
Remove unattributed duplicate of Frederick Brooks eternal words
about the danger of second systems.
2001-11-03 16:43:13 +00:00
phk
ff1193f3a6 Correct attribution and fix translation from Danish. 2001-11-03 16:38:06 +00:00
asmodai
f0043f77c1 Correct attribution.
PR:		30500
Submitted by:	Drew Derbyshire <ahd@kew.org>
2001-10-28 13:23:39 +00:00
roam
addd3a5be5 Correct a typo: numtiple -> multiple.
PR:		31474
Submitted by:	Eric Yu <ericyu@mail2000.com.tw>
MFC after:	1 week
2001-10-24 12:51:23 +00:00
dd
0eca860437 Slightly improve wording in the opening paragraph.
PR:		31202
Submitted by:	Jasmin Blanchette <jasmin@troll.no>
2001-10-14 23:13:01 +00:00
kris
abc31cc7de Add some important advice for young optical physicists. 2001-10-05 08:27:21 +00:00
kris
ce0abd5eb0 Add a brief comparative analysis of 3 popular religions.
Approved by:	maintainer
2001-10-01 01:10:15 +00:00
jhb
fcbd12cd2a Borrow Peter's peril-sensitive sunglasses and add a short parody quoted in
the unnamed IRC channel.
2001-09-27 22:04:42 +00:00
murray
4e88440bcf Tip Correction : s/seconds/minutes/
PR:		docs/30844
Submitted by:	Andrew <andrew@ugh.net.au>
2001-09-27 00:43:28 +00:00
ru
b99e1fca14 - Only use sig_atomic_t objects in signal handlers.
- Use getopt() to parse command line.
- Add usage().
- WARNSify.
- Convert manpage to mdoc(7).

PR:		bin/30641
Submitted by:	Andrey Simonenko <simon@simon.org.ua>, ru
MFC after:	1 week
2001-09-25 13:45:46 +00:00
dd
c2ce63ecc4 list' should be an extern'd char **', not a local `char *' which we
never set.  Ideally, we'd get the extern from tutor.h, but that
defines a number of other variables that conflict with ours.

This fixes a segmentation fault when trying to return to the main menu.

PR:		30172
2001-09-03 14:19:46 +00:00
kris
cfb188fa6f Update a duplicate quotation.
PR:		30228
MFC after:	2 weeks
2001-09-01 08:01:06 +00:00
alex
cd61331420 Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.
2001-08-30 22:44:51 +00:00
roberto
5fce54729e Put the correct path for robots_roll in /var/games.
Submitted by:	Elodie Raynal-Melchy <elodie@babafou.eu.org>
MFC after:	2 days
2001-08-15 19:22:04 +00:00
ru
173222b339 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ru
325db7b385 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
mharo
aac37d01b0 Remove whitespace after %. The whitespace was causing strfile to not see
the % string section break and thus fortune was producing a rather large
multi-fortune fortune message.
2001-08-12 20:32:37 +00:00
ru
09d142dfd5 mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
markm
c085fb87f3 Fix some fractured english. The translators can ignore this. 2001-08-07 09:14:51 +00:00
kris
4d5e995904 A good sysadmin always carries around a few feet of fiber. If he ever
gets lost, he simply drops the fiber on the ground, waits ten minutes,
then asks the backhoe operator for directions.
                -- Bill Bradford <mrbill@mrbill.net>

Submitted by:	Kris Kirby <kris@catonic.net>
2001-08-01 22:51:09 +00:00
dd
c49a4e6620 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
dd
171c82a5f4 Remove whitespace at EOL and add $FreeBSD$. 2001-07-15 07:48:01 +00:00
ru
d937ef0cab Eliminate troff(1) warnings. 2001-07-12 12:12:24 +00:00
ru
cb65b26b16 Convert to mdoc(7). 2001-07-12 12:00:58 +00:00
ru
d177b65ce4 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
dd
978810079e mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
brian
34ad3e29c4 Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
ru
dec3c4007d mdoc(7) police: removed extraneous .Pp call. 2001-07-04 10:19:02 +00:00
mpp
bb591d7027 Fix a couple of typos. 2001-06-30 14:42:20 +00:00
dd
59e85dfa38 Remove two duplicate tips and correct formatting of an attribution. 2001-06-26 02:36:26 +00:00
dd
c40f00cda2 Correct usage. 2001-06-26 02:11:48 +00:00
ache
7be881695d Convert to nl_langinfo(CODESET) 2001-06-26 01:43:52 +00:00
brian
d51fdf65ce What to do when :w tells you you haven't got permission. 2001-06-25 21:05:55 +00:00
brian
776116e308 Mention that sh supports command line editing 2001-06-25 20:45:52 +00:00
brian
7b53be41a5 Mention that vi supports split-screen mode. 2001-06-25 20:44:03 +00:00
brian
6c375dc99a Suggest using .login/.profile to set environment variables, not
.cshrc/.bashrc/.zshrc/.shrc
2001-06-25 20:41:42 +00:00
dd
ec59248b42 WARNS= -> WARNS?=
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
des
24e5367f8a More -fno-builtin failures. 2001-06-21 12:10:35 +00:00
jhb
c5be4570c2 Document the mysterious Peter Wemm Murphy Field (PWMF).
Reviewed by:	phk, eivind, nra
2001-06-20 20:58:04 +00:00
jhb
0be2a10a91 Remove some more duplicate fortunes. 2001-06-20 20:25:56 +00:00
mph
71b649e2bb "Unmount" is spelled "umount", not "unmount". 2001-06-20 20:14:36 +00:00
jhb
2e573c95dc Resort the last entry to its proper location. D definitely comes before Z. 2001-06-20 19:55:41 +00:00
jhb
4b669e837e Remove a duplicate entry. 2001-06-20 19:45:15 +00:00
nik
311c26c90f Fix a couple of tips, and add a new one.
Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-06-19 16:46:58 +00:00
dd
c768fc4beb Correct some typos.
PR:		28251
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-06-19 05:46:30 +00:00
nik
a4c844e307 More tips. I'd never heard of look(1) before.
Submitted by:	Dru <genisis@istar.ca>
2001-06-16 16:45:52 +00:00
nik
964f4ec476 More tips, this time from the Russian Fidonet FreeBSD Echo.
And I never knew about ports(7) before.

Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-06-16 11:42:28 +00:00
eivind
df9360fd95 De-credit myself in order to be consistent.
Also add a few more tips while I am here.
2001-06-15 18:23:44 +00:00
nik
88881e3fe3 More tips.
Submitted by:	David Scheidt <dscheidt@tumbolia.com>
2001-06-15 10:47:30 +00:00
nik
6301deb2d2 Add a new category of fortunes, 'freebsd-tips'. Useful hints, advice, and
pointers to areas of the system that might not be apparent on first
inspection.
2001-06-15 08:45:43 +00:00
ru
186ac7c8f4 DECR() macro still depended on -traditional-cpp behaviour.
Noticed by:	bde
2001-06-14 08:33:59 +00:00
ru
eca33c7587 Style nits:
GBINDIR -> ORIGBINDIR
GBINGRP -> ORIGBINGRP

Submitted by:	bde
2001-06-14 06:08:02 +00:00
ru
f80703e219 Games ownership cleanup.
Urged by:	bde
2001-06-13 15:26:31 +00:00
ru
ead3189ce8 Axe -traditional-cpp that behaves badly with -nostdinc and WARNS=2. 2001-06-13 15:05:55 +00:00
ache
d764bb0637 Fix ISO_ to preferred MIME name 2001-06-10 20:30:41 +00:00
dwmalone
8390e0ce62 mvprintw is varadic - it doesn't take a va_list. Use vw_printw
instead.

Submitted by:	Andrew Gordon <arg@arg1.demon.co.uk>
MFC after:	1 week
2001-06-06 19:44:58 +00:00
imp
7d25f8bce0 Remove #if 0'd code. It turned up on my MAXPATHLEN + 1 sweep. 2001-06-05 04:29:55 +00:00
phk
a8ea886399 When a game ends that makes the top 10, the function insert_score in
score.c is called to make the new score file.  But the case for KFIRE
(killed by fire) incorrectly uses strcpy instead of strcat (all the
other cases use strcat).  This puts the string in the wrong place and
corrupts the score file.

PR:		13278
Submitted by:	Mark W. Krentel krentel@dreamscape.com
2001-05-23 21:01:01 +00:00
dcs
10e20418e0 s/Cthulu/Cthulhu/
Alas, the first one is a repeat in a slightly different format and
ought to be removed (or the other copy). I'll leave that to more
enterprising souls, though (Cthulhu loves enterprising souls).

MFC after:	3 days
2001-05-21 21:30:45 +00:00
kris
21555c913e Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after:	1 week
2001-05-20 05:44:03 +00:00
kris
60a89caa1b Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after:	1 week
2001-05-20 05:37:46 +00:00
imp
90c1fe5c6b %DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct. 2001-04-23 06:08:30 +00:00
ru
2ac87222ba beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
phk
2b860dbadd Axe out duplicate.
Not to submitter: (I don't let Jordan use my axe)

PR:		24782
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-03-28 11:10:50 +00:00
phk
6fc1bf2442 Spelling fixes.
PR:		20474
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2001-03-28 11:08:32 +00:00
phk
79807c498f Remove duplicate.
PR:		19670
Submitted by:	Anton Berezin <tobez@tobez.org>
2001-03-28 11:06:50 +00:00
phk
c68da02687 Remove a duplicate piece of chalk.
PR:		23132
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-03-28 11:02:14 +00:00
ru
1ef340bf02 - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
wilko
3441e77394 Lets spell the guys name correctly: s/Avogardo/Avogadro/ 2001-03-23 22:42:16 +00:00
ru
0f13d32b13 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
dwmalone
87a080a4ff Compare initscr to NULL not ERR. Add FreeBSD tag.
PR:		19044
2001-03-05 11:54:27 +00:00
ru
b5a960e3c7 setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
ru
0b8c9cff2d Prepare for mdocNG. 2001-02-26 09:05:48 +00:00
bde
a4e71b37fc Don't include "${.CURDIR}/../../Makefile.inc" explicitly. Doing so was
a bogus no-op in the usual case where fortune/ is a subdir of games/
(since <bsd.prog.mk> does an equivalent include automatically if
possible), but breaks building fortune when fortune/ is outside of the
games/ tree (since the include was unconditional here).  This fix
depends on a previous fix for non-recursiveness of ../Makefile.inc
(it didn't exist).

PR:	25232
2001-02-21 06:12:38 +00:00
bde
22257df097 Fixed style bug (bloat of a line length past 80 columns) in previous commit. 2001-02-18 01:26:17 +00:00
grog
cbefc59559 Correct typo.
Submitted by:	"James and Amanda" <jhar2gthr@yahoo.com> (well, ~James, anyway).

Of necessity add $FreeBSD$.

Required by:	Precommit checks.
2001-02-15 07:48:28 +00:00
phk
53693be8ad Remove spurious '"'.
PR:		24979
Submitted by:	Joseph Scott <joseph@randomnetworks.com>
2001-02-10 08:30:21 +00:00
ru
74ecc06fa7 mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged.  With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
ru
2616f73893 mdoc(7) police: correct .Dd, add missing .El. 2001-02-06 16:17:49 +00:00
ru
9ac37e042e mdoc(7) police: .Xr name -> .Nm 2001-02-06 16:15:11 +00:00
ru
147efa725a mdoc(7) police: correct .Dd format. 2001-02-06 16:13:09 +00:00
asmodai
db24d83a1c Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
asmodai
d01f7d9c4a Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Also add $FreeBSD$

Submitted to look at by:	kris
2001-02-06 10:39:13 +00:00
phk
e1e97767f0 Unfortunately low-altitude overflights is not enough to make penguins crash. 2001-02-02 22:35:13 +00:00
dwmalone
bfd1e9523b Correct spelling of foresight.
PR:		24637
Submitted by:	Christopher Rued <christor@ug.cs.sunysb.edu>
2001-01-25 17:17:11 +00:00
ru
4e978a24b5 mdoc(7) police: fixed a few bogons. 2001-01-25 14:16:42 +00:00
phantom
b216b76172 man(7) -> mdoc(7) 2001-01-25 12:36:16 +00:00
phantom
8acdd4d3f2 Give morse(6) own manual page since common manpage for bcd(6), ppt(6) and
morse(6) was mostly dedicated to morse(6)
2001-01-25 12:35:49 +00:00
phantom
e38871fd4d Remove never used home-born implementation of curses library from source
tree.
2001-01-25 12:24:29 +00:00
ru
dfc16871ec Prepare for mdoc(7)NG. 2000-12-19 15:46:46 +00:00
phk
43ff49bb28 Remove a duplicate fortune.
PR:		21629
Submitted by:	Sean C. Farley <sean-freebsd@farley.org>
2000-12-18 20:37:12 +00:00
ru
cfafe5cee1 mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
ru
d321795841 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:15:20 +00:00
ru
7606a30cfa Eliminate groff(1) and tbl(1) warnings. 2000-11-28 17:05:25 +00:00
kris
a966de6cc8 Constify 2000-11-26 10:56:12 +00:00
kris
6aaa026f1a Format string auditing 2000-11-26 09:51:46 +00:00
ru
617d4b1428 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:06:19 +00:00
ru
3f0ed120e1 mdoc(7) police: Nm is a must in the NAME section. 2000-11-17 17:11:26 +00:00
ru
77559ae015 mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
ru
f9c7198049 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
grog
6178eb8fa7 Correct a bignum.
Detected-by: 	lang/clisp
Approved-by:	jkh
2000-10-31 07:20:46 +00:00
alex
2c9aaa06f3 Make the -d option actually work.
Today fast terminals are usually the default.

PR:		21634
Submitted by:	Eric S. Van Gyzen <eric@vangyzen.net>
2000-10-28 07:37:57 +00:00
dwmalone
f7735deb8c Remove one other dup. 2000-10-12 09:26:33 +00:00
dwmalone
21709674f6 Remove some duplicated Dijkstra quotes and add a new one.
Approved by:	jkh
2000-10-12 09:16:23 +00:00
kris
e540c38c09 Add an amusing spoonerism.
Submitted by:	Benno Rice <benno@hiro.netizen.com.au>
Approved by:	jkh
2000-10-10 01:55:08 +00:00
wollman
5e8b712997 Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
2000-10-10 01:50:26 +00:00
kris
147323f801 Format string paranoia. 2000-10-08 04:33:21 +00:00
billf
b810c134af Conform to BDECFLAGS 2000-10-08 03:24:30 +00:00
phk
a8ab33e42e Remove a duplicate Feyman quote. Add his problem-solving algorithm. 2000-09-30 09:52:49 +00:00
dcs
7123809437 Add definitions of hardware and software. 2000-09-25 10:42:04 +00:00
ache
9bfeec900a Remove unneded -ltermcap or -lmytinfo 2000-09-16 03:52:06 +00:00
billf
3498585e17 BDECFLAGS (with a whitespace change or two) 2000-08-29 03:25:49 +00:00
billf
2dee9ac8d2 Clean up previous commit. 2000-08-28 05:54:14 +00:00
billf
2e9f9018aa BDECFLAGS 2000-08-27 22:24:43 +00:00
jlemon
06a140567d Add another Bill Paul quote.
Approved by:	jkh
2000-08-07 20:49:08 +00:00
mpp
c112b1ac2b Xref strfile(8).
PR:		misc/20304
Submitted by:	Kim Scarborough <sluggo@unknown.nu>
2000-07-31 07:28:16 +00:00
jmg
61b4505620 put the entires back in order.... I forgot to do that after we dicussed
this at the BSDi get together...
2000-07-28 19:49:43 +00:00
bde
880da29883 Fixed bitrot in DPADD. 2000-07-19 16:24:08 +00:00
kris
79a564c264 Don't call printf with no format string. 2000-07-10 05:24:02 +00:00
kris
911669a1de Don't call printf with no format string. 2000-07-10 05:16:59 +00:00
billf
c965731cac minor brucification. 2000-07-06 05:46:37 +00:00
billf
8f2f297ce6 ${BDEFLAGS} 2000-07-04 02:27:49 +00:00
billf
b5e9cfabe5 "Fix" warnings. 2000-07-03 22:38:19 +00:00
roberto
d8c1bc1cb7 -lcompat doesn't seem to be needed anymore.
MFC candidate (compile fine on 5.0 and 4.0-STABLE).
2000-07-03 07:49:32 +00:00
billf
18fb744c3a add a real prototype for printit() 2000-06-30 03:17:42 +00:00
dcs
cf6c3db74c Remove garbage. 2000-06-02 12:49:57 +00:00
dcs
b61defa154 Some David Gerrold limericks, which he gratiously allowed us to
reproduce. I'll add the file to the makefile once I have finished adding
the limericks.
2000-06-01 20:33:14 +00:00
hoek
281cdf644c Remove a couple of dups and fix a typo. This doesn't touch dups that
are dupped between here (fortunes2) and fortunes.
2000-05-28 05:21:45 +00:00
hoek
5a7a39bfb1 A set of diffs to bring the new murphy into line with the
fortune/Notes fortmatting instructions.  Also fix a couple typos.
I did a bit of this, by Cy Schubert did most of it.  Thanks Cy!
2000-05-28 05:06:38 +00:00
hoek
71dddc8b90 Quoting submitter:
This is a recent conversion of an old IBM Mainframe application
 to the fortune datafile format.

 The "laws" were extracted from a S/370 Assembler program on a SHARE tape.
 The comments in the program:

 *---------------------------------------------------------------------*
 *        'MURPHY'  THE OLE PHILOSOPHER              18 AUGUST 1988    *
 *                                                                     *
 *        MURPHY WAS FOUND ON A JES2 TAPE OF ALL PLACES WITH ABOUT     *
 *        500 OR SO SAYINGS. GOT ANOTHER 250 FROM AN UNKNOWN SOURCE    *
 *        AND HAVE ADDED ABOUT 100 OR SO MYSELF.                       *
 *                                                                     *
     [list of changes omitted]
 *                                                                     *
 *        JIM MARSHALL, CAPT, USAF                                     *
 *        (301) 688-6829                                               *
 *                                                                     *
 *---------------------------------------------------------------------*

Fortunes that a sufficiently twisted mind could perceive as offensive
have been moved to murphy-o.  Thanks to the submitter for reviewing
these fortunes.

The copyright issues were considered before approval.

PR:		misc/8519
Submitted by:	Cy Schubert (misc/8519)
Approved by:	The Fortune Teller
2000-05-28 04:41:02 +00:00
hoek
495ff661f9 By overwhelming demand, revert the one=two joke to its previous form.
Also, fix a couple whitespace formatting errors and typos.

Note that the Klingon joke has a 12-point version in the
-chat list, mesg-id: <19990717120618.C269@marder-1> (thanks to
DES and to submitter doug@gorean).  Also, note that the following
people need to learn to double-space after a period: <DougB@gorean.org>,
<des@flood.ping.uio.no>, <mellon@pobox.com>, <jeroen@vangelderen.org>,
and <rsidd@physics.iisc.ernet.in>.
2000-05-28 04:10:33 +00:00
hoek
1210962841 Fix some newlines which have snuck in here in contradiction with
fortune's formatting rules.
2000-05-25 05:45:44 +00:00
hoek
6c6b367001 Add a missing negative to a clause. 2000-05-25 05:07:50 +00:00
hoek
1a391e80d3 Add some fortunes, typically gleaned from FreeBSD mailing lists, remove
some dups, fix some typos and formatting.

Submitted-by (in no particular order):
	Cy Schubert <cschuber@uumail.gov.bc.ca> (bin/12477)
	David Kelly <dkelly@hiwaay.net> (misc/16647)
	Zachary K Drew <drew0054@tc.umn.edu> (misc/16848)
	Mark Ovens <mark@ukug.uk.freebsd.org> (misc/15809)
	Bruce A. Mah <bmah@nimitz.ca.sandia.gov> (bin/17085)
	And myself.

Approved by:	The Fortune Teller
2000-05-25 04:38:47 +00:00
hoek
f9c493f01c Remove a period inserted by a previous commit. Corporate mottos and
the like usually don't have periods.

Approved by:	The Fortune Master
2000-05-25 04:25:54 +00:00
hoek
148cd39218 Don't segv if bs or bc aren't defined in termcap's entry. Misc cleanup.
Fix `|' -> `||'.  Use usleep() instead of delay loop.  Etc.

Submitted by:	Andrew <[3]andrew@ugh.net.au> (bin/8501)
2000-05-21 17:44:33 +00:00
jim
adc8fe5ac9 Add a new fortune and remove an email address.
Reviewed by:	jkh
2000-04-05 18:44:02 +00:00
green
ec41ca2c28 Get rid of some deltas lying around. This is a collection of lots of
small typo fixes.  Most have to do with periods and ellipses, but there
are some spelling, capitalization, and miscellaneous fixes.  No meanings
have been changed.
2000-03-26 09:04:06 +00:00
green
903a6969d2 Put the '%' before the new appended fortune, not after. 2000-03-26 08:47:26 +00:00
peter
a395316c70 This, we believe, is the first commit
from Disneyland, committed via ssh
on a Palm + wireless.

                                        Inspired by:  ps
                                        Thanks to:  Glenn (Damn, now I want one  of these :-)
2000-03-26 06:00:02 +00:00