Dag-Erling Smørgrav
d397408818
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
Peter Pentchev
7664eb8fc2
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
Philippe Charnier
5c0d6186d9
End of comment was missing at FreeBSD Id line. Switch to FBSDID.
2002-04-12 20:16:15 +00:00
Josef Karthauser
3db15d8edf
Add a few more tips, and tweak a couple.
...
PR: misc/34039
2002-04-01 08:53:21 +00:00
Josef Karthauser
aa1970a03f
Augment the BLOCKSIZE tip. (Based on the PR with slight changes by myself).
...
PR: misc/34039
2002-04-01 08:43:58 +00:00
John Baldwin
8c47a53d2c
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
Warner Losh
35c85fe2c8
o remove __P
2002-03-24 01:09:35 +00:00
Jens Schweikhardt
7d03b11905
Remove a duplicate with a typo.
...
MFC after: 3 days
2002-03-23 22:10:02 +00:00
Dima Dorfman
ae444ae634
Assorted mechanical fixes.
...
PR: 34790
Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
2002-03-09 04:38:25 +00:00
Poul-Henning Kamp
4670ae1cea
Add one.
...
Submitted by: jedgar
Reviewed by: The usual gang of idiots in that IRC channel.
2002-02-25 21:52:34 +00:00
Bruce Evans
b4358c15a1
#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
Bill Fumerola
1210c77166
BDECFLAGS
...
Reviewed by: md5(1)
2002-02-23 10:44:04 +00:00
Bill Fumerola
578a176b1e
KNF -> ANSI function declarations
...
Reviewed by: md5(1)
2002-02-23 10:35:25 +00:00
Bill Fumerola
d911c680ee
KNF to ANSI function declaration, silence a warning
2002-02-23 10:21:19 +00:00
Bill Fumerola
c533148aab
warning fixes, mostly type matching
2002-02-23 09:59:45 +00:00
Bill Fumerola
b30325de41
convert from KNR to ANSI function declarations
...
Reviewed by: md5(1)
2002-02-23 09:53:27 +00:00
Bill Fumerola
a48e6c8736
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
Bill Fumerola
a30946043b
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 Barcroft
fd8e4ebc8c
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
Warner Losh
8654c84817
Fix last second botch of adding $FreeBSD$.
2002-02-18 05:40:54 +00:00
Warner Losh
ad64363769
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
Giorgos Keramidas
505e7511bc
Add a tip about pkg_info and checking for multiple installed versions
...
of a package/port.
2002-02-11 03:45:29 +00:00
Bruce Evans
c1e954d14a
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
Bruce Evans
b8483c75e1
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
Bruce Evans
2d042c9bb9
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
Thomas Gellekum
b051995c7f
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
Greg Lehey
eb8d2682ce
Correct typo.
2002-01-01 00:50:30 +00:00
Peter Pentchev
ca33a43ede
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 Bulte
9e33f9cfe0
A case of ninfo (non-info)
...
Submitted by: Hans.VanSluis@compaq.com
MFC after: 1 month
2001-12-20 17:25:45 +00:00
Ruslan Ermilov
b8ffbbf1c1
Install files via FILES.
2001-12-17 15:23:57 +00:00
Ruslan Ermilov
a7aaf57e4a
FILES support for bsd.prog.mk. See bsd.README for details.
...
Stolen from: NetBSD
2001-12-17 13:59:35 +00:00
Mike Heffner
4dc1e2e2c5
Modify tip that no longer applies for ftp(1).
2001-12-17 08:16:14 +00:00
Wilko Bulte
aa84159a86
Unix: Just Say No..
...
Obtained from: Jan.Hendriks@Compaq.com
MFC after: 3 days
2001-12-12 09:49:02 +00:00
Giorgos Keramidas
bed6ccabc3
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
John Baldwin
d860ec7a2b
Trim yet another duplicate fortune.
2001-12-05 22:40:44 +00:00
John Baldwin
ae4385c3b1
Properly sort the last two fortunes alphabetically.
2001-12-05 22:39:00 +00:00
John Baldwin
6d8773a960
Add a short commentary on libdialog by jkh.
2001-12-05 22:13:53 +00:00
John Baldwin
01ad25b722
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
John Baldwin
b2b286f559
Fix a typo and add a missing period.
2001-12-05 21:36:14 +00:00
John Baldwin
bc584bd7b6
Remove some duplicate fortunes.
2001-12-05 21:06:30 +00:00
Poul-Henning Kamp
c47d61ce4e
s/Kenned y/Kennedy/
...
Pointed out by: $a_lot_of_people
2001-11-27 17:10:54 +00:00
Poul-Henning Kamp
116debb603
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 Wemm
73025dc48c
Fix some duplicate quotes and tidy up some Dr. Who quotes.
2001-11-27 12:02:03 +00:00
Giorgos Keramidas
a521a4eece
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
Josef Karthauser
a5e74e2314
Fix a typo:
...
Flinstone -> Flintstone.
Submitted by: grog (during the kernel debugging session at BSDConEurope)
2001-11-12 12:21:39 +00:00
Matthew Dillon
83ce8c6db8
Add terminating % so the last fortune can be found.
...
Add a fortune.
2001-11-09 18:24:09 +00:00
Poul-Henning Kamp
874ba4513a
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
Poul-Henning Kamp
f9e2c4f5e8
Correct attribution and fix translation from Danish.
2001-11-03 16:38:06 +00:00
Jeroen Ruigrok van der Werven
096830fe4e
Correct attribution.
...
PR: 30500
Submitted by: Drew Derbyshire <ahd@kew.org>
2001-10-28 13:23:39 +00:00
Peter Pentchev
f6c0e0ef6f
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
Dima Dorfman
cd4ca11ce8
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 Kennaway
247a741b8a
Add some important advice for young optical physicists.
2001-10-05 08:27:21 +00:00
Kris Kennaway
adea229e21
Add a brief comparative analysis of 3 popular religions.
...
Approved by: maintainer
2001-10-01 01:10:15 +00:00
John Baldwin
c33f34c05e
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 Stokely
a43a70d6c6
Tip Correction : s/seconds/minutes/
...
PR: docs/30844
Submitted by: Andrew <andrew@ugh.net.au>
2001-09-27 00:43:28 +00:00
Ruslan Ermilov
fb2473d217
- 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
Dima Dorfman
9429078c33
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 Kennaway
ae62a4cf07
Update a duplicate quotation.
...
PR: 30228
MFC after: 2 weeks
2001-09-01 08:01:06 +00:00
Alexander Langer
d33a962d07
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
Ollivier Robert
a4eb665448
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
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Michael Haro
821213b97f
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
Ruslan Ermilov
c4d9468ea0
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
Mark Murray
a298b38237
Fix some fractured english. The translators can ignore this.
2001-08-07 09:14:51 +00:00
Kris Kennaway
9070692e9d
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
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Dima Dorfman
d087ad9cc9
Remove whitespace at EOL and add $FreeBSD$.
2001-07-15 07:48:01 +00:00
Ruslan Ermilov
97e5eec61a
Eliminate troff(1) warnings.
2001-07-12 12:12:24 +00:00
Ruslan Ermilov
1bf1e1e36c
Convert to mdoc(7).
2001-07-12 12:00:58 +00:00
Ruslan Ermilov
63919764c2
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:42:19 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Brian Somers
7bc6d0158f
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
Ruslan Ermilov
281ed6d30c
mdoc(7) police: removed extraneous .Pp call.
2001-07-04 10:19:02 +00:00
Mike Pritchard
d6368edb13
Fix a couple of typos.
2001-06-30 14:42:20 +00:00
Dima Dorfman
6a2ceb2365
Remove two duplicate tips and correct formatting of an attribution.
2001-06-26 02:36:26 +00:00
Dima Dorfman
0c3f957cb5
Correct usage.
2001-06-26 02:11:48 +00:00
Andrey A. Chernov
b031f22d4a
Convert to nl_langinfo(CODESET)
2001-06-26 01:43:52 +00:00
Brian Somers
4a824adfc0
What to do when :w tells you you haven't got permission.
2001-06-25 21:05:55 +00:00
Brian Somers
b363588c62
Mention that sh supports command line editing
2001-06-25 20:45:52 +00:00
Brian Somers
3579379c2d
Mention that vi supports split-screen mode.
2001-06-25 20:44:03 +00:00
Brian Somers
5fc478617d
Suggest using .login/.profile to set environment variables, not
...
.cshrc/.bashrc/.zshrc/.shrc
2001-06-25 20:41:42 +00:00
Dima Dorfman
982f5d88ff
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
Dag-Erling Smørgrav
dc352222aa
More -fno-builtin failures.
2001-06-21 12:10:35 +00:00
John Baldwin
a9df2152da
Document the mysterious Peter Wemm Murphy Field (PWMF).
...
Reviewed by: phk, eivind, nra
2001-06-20 20:58:04 +00:00
John Baldwin
26df205f44
Remove some more duplicate fortunes.
2001-06-20 20:25:56 +00:00
Matthew Hunt
bfe01aa7f2
"Unmount" is spelled "umount", not "unmount".
2001-06-20 20:14:36 +00:00
John Baldwin
798c771f8d
Resort the last entry to its proper location. D definitely comes before Z.
2001-06-20 19:55:41 +00:00
John Baldwin
5a69ac96f5
Remove a duplicate entry.
2001-06-20 19:45:15 +00:00
Nik Clayton
c0ff1dac05
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
Dima Dorfman
df7f3392c8
Correct some typos.
...
PR: 28251
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-06-19 05:46:30 +00:00
Nik Clayton
dc6af80701
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 Clayton
d2c070d4fb
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 Eklund
6bd894ed2f
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 Clayton
d03d64a379
More tips.
...
Submitted by: David Scheidt <dscheidt@tumbolia.com>
2001-06-15 10:47:30 +00:00
Nik Clayton
a69a66d079
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
Ruslan Ermilov
9ed6ca77b9
DECR() macro still depended on -traditional-cpp behaviour.
...
Noticed by: bde
2001-06-14 08:33:59 +00:00
Ruslan Ermilov
dfcf88a3a0
Style nits:
...
GBINDIR -> ORIGBINDIR
GBINGRP -> ORIGBINGRP
Submitted by: bde
2001-06-14 06:08:02 +00:00
Ruslan Ermilov
ecce24742d
Games ownership cleanup.
...
Urged by: bde
2001-06-13 15:26:31 +00:00
Ruslan Ermilov
1ca5464aae
Axe -traditional-cpp that behaves badly with -nostdinc and WARNS=2.
2001-06-13 15:05:55 +00:00