Commit Graph

4858 Commits

Author SHA1 Message Date
grog
a4531b31aa Correct typos. 2001-12-31 23:59:53 +00:00
alfred
275bf1142e Print open(2) flags in hex instread of decimal for clarity. 2001-12-30 23:11:52 +00:00
ache
1088528f87 Use LC_ALL to pick LC_COLLATE too (for strcoll()) 2001-12-30 19:30:10 +00:00
bde
1951cbf9ee Fixed bitrot in DPADD in rev.1.8. 2001-12-29 14:03:03 +00:00
mikeh
b2975fd8e9 Fix comment. 2001-12-23 06:12:41 +00:00
mikeh
45093b4f56 Add support for ~_, ~x, ~i, ~a, ~A, ~<, and ~r! tilde-escapes. Improve
tilde-escapes documentation.

Mostly obtained from:	NetBSD
2001-12-22 22:16:48 +00:00
markm
c80ce513a9 Re-enable tip, now that the import and merge are done. 2001-12-20 14:27:23 +00:00
markm
ea00e48044 Fix merge conflicts, and because this still has a zillion warnings,
protect the build with a WARNS=2.

Fix the build.
2001-12-20 14:25:46 +00:00
markm
3551cbb12e Bring files back from the dead prior to remote commit to fix import
conflicts.
2001-12-20 13:40:48 +00:00
markm
1bca9f318e Temporarily remove tip(1) from the build while I upgrade it. 2001-12-20 13:01:47 +00:00
ache
3e366cfcab Add missing {} to 'for'. It fix coredump (result of NetBSD changes merge) 2001-12-19 22:25:11 +00:00
ache
8d59503ab2 Add (unsigned char) cast to ctype macros
ftell->ftello, fseek->fseeko
File 'newsize' type int->off_t
Add visible (long) cast to fsize() when it called to small one message file and
result is assigned to long.
2001-12-19 21:50:22 +00:00
imp
7380723594 xinstall is part of the upgrade path for 4.4-RELEASE as well.
Do the usualy ifdef trick here.

Reported by: dworkin muller <addr-removed> and faried nawaz <fn@hungry.com>
2001-12-19 06:05:42 +00:00
mikeh
e4034fe298 Sync with most of NetBSD's changes, including:
*) Sync with 4.4BSD-Lite2
 *) Set usecs for utimes()
 *) Add 'inc' command and 'autoinc' option that check for new mail
    manually and automatically, respectively
 *) Use POSIX signal handling and tty semantics
 *) Handle long lines correctly when paging messages
 *) Add ability to explicitly search 'To:' line
 *) Various manpage cleanups
 *) Support overriding '~/.mailrc' with $MAILRC
 *) Support 'askbcc' and 'asksub' options
 *) Fix various bugs

Reviewed by:	ru (mail.1)
Obtained from:	NetBSD
2001-12-18 20:52:09 +00:00
joe
54c092ee14 Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon.
Submitted by:	banshee <banshee@pork.abattoir.com>
MFC after:	7 days
2001-12-18 11:25:58 +00:00
ru
aa219a0e7b Oops, forgot to remove the `beforeinstall' block. 2001-12-17 16:04:40 +00:00
ru
7ed2dfe749 Install files via FILES. 2001-12-17 16:02:15 +00:00
ru
bbef88e1a5 FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
green
4e8d120512 Add support for devfs. In other words, for -CURRENT, make work at all
again for normal device nodes.
2001-12-17 13:42:46 +00:00
mike
22f5b26d81 Fix a typo. Don't call options flags. Remove some documentation that
is no longer applicable to whois.  Bump document date.
2001-12-16 01:44:49 +00:00
sheldonh
588c679809 Kernel support for smbfs is only built on the i386 at the moment, so
limit the building and installation of the userland utilities to that
architecture for now.

Reported by:	bmah
2001-12-14 23:11:45 +00:00
sheldonh
551d694f64 Add bmake glue for src/contrib/smbfs and connect userland smbfs
support to the build.

The MFC reminder below is subject to <re@FreeBSD.org> approval
prior to 4.5-RELEASE.

Reviewed by:	bp, fjoe
MFC:	1 week
2001-12-14 11:41:22 +00:00
ru
0f12d1a7a9 mdoc(7) police overhaul. 2001-12-14 09:48:03 +00:00
mikeh
3bd06972c4 Connect lukemftp to the build as the default ftp client. Lukemftp
supports most of the previous features of FreeBSD ftp, but has been
better maintained and includes new features.
2001-12-13 23:46:44 +00:00
markm
f2aeb4ab4f UUCP is gone from base. 2001-12-13 18:27:08 +00:00
ru
02911c1b4a Fold example text into 80 column width display.
PR:		docs/32676
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-12-13 09:13:01 +00:00
markm
00e6a12e4a Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
markm
5388af43e4 Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2. 2001-12-12 23:23:52 +00:00
markm
f7397edc4d WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings.
Use __FBSDID(), kill register keyword.
2001-12-12 23:20:16 +00:00
markm
e006d8bee0 WARNS=2 fixes, use __FBSDID, remove GCC-specific flags. 2001-12-12 23:09:07 +00:00
markm
d7f873fae9 WARNS=2 fixes, Use __FBSDID(), kill register keyword. 2001-12-12 23:02:30 +00:00
markm
b7a2b7c5dd Fix the time of an intmax_t calculation; it is unsigned. Also print
it with the correct formatting (%ju, not %lld). GCC's -Wformat does
not understand this, so turn on NO_WERROR.
2001-12-12 22:46:56 +00:00
mikeh
53b37471d4 Print the path with the shortest absolute length, rather than
arbitrarily selecting one.

PR:		bin/14361
Approved by:	wosch
MFC after:	1 week
2001-12-12 20:38:07 +00:00
charnier
a5cd3299b7 Make clear that -w gets an argument. Add __FBSDID and remove unused
#include
2001-12-12 18:25:53 +00:00
charnier
f6879ce93c Remove unused #includes. lex -> Lex, yacc -> Yacc, ... Some .Nm to .Em
conversions. Sort #includes. Spelling. use errx() instead of err() when
explicit message is given.
2001-12-12 18:24:42 +00:00
charnier
cc22344fd1 Start option definition with: ``The following options are available''
Use .Ev for env variables.
Remove unused #includes, and sort others.
2001-12-12 18:22:09 +00:00
mikeh
ceaaa7f6f5 I'm working on cleaning this up, however it probably won't be done for
awhile. Turn off WARNS so that this doesn't break the build when WARNS
is turned on higher up. Also add $FreeBSD$.
2001-12-12 15:42:19 +00:00
ru
d27bd7160f More "const" poisoning, and only use NO_WERROR if we're bootstrapping. 2001-12-12 08:49:51 +00:00
markm
fa1f2b9280 WARNS=2 fixes with NO_WERROR set, as there are some header issues
with namelists. use __FBSDID().
2001-12-12 00:13:37 +00:00
markm
a5ca913bde Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
markm
a1e7edd73c Protect this against the coming WARNS=2 default. 2001-12-12 00:05:16 +00:00
markm
d7e4e2a006 WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
markm
a82545dcd4 WARNS=2 fixes with NO_WERROR set because of system-header originating
warnings. Use __FBSDID().
2001-12-11 23:51:14 +00:00
markm
7f940dc06c WARNS=2 fixes. use __FBSDID(). 2001-12-11 23:44:53 +00:00
markm
1aabf9d8de WARNS=2 fixes. NO_WERROR set as there are some hard-to-fix
signed/unsigned comparisons. Use __FBSDID().
2001-12-11 23:43:15 +00:00
markm
d392ea4ac5 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:39:38 +00:00
markm
832832ca4c WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00
markm
eddee66a58 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:36:25 +00:00
markm
87c4eaeeed Partial WARNS=1 fizes with NO_WERROR set to prevent world breakage.
Use __FBSDID().
2001-12-11 23:34:02 +00:00
markm
279222ba62 WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
markm
a71a530c96 WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
markm
b986f33d02 WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
markm
66061c79bd WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:20:23 +00:00
markm
ce71668417 WARNS=2 is to become the default, so remove. Use __FBSDID(). 2001-12-11 23:18:25 +00:00
markm
7344bc0c0c WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:16:25 +00:00
markm
59796f812d WARNS=2 is to become the default, so remove it from here. 2001-12-11 23:14:43 +00:00
markm
2b9e49a79f Protect this from the coming WARNS=2 default. 2001-12-11 23:12:44 +00:00
markm
c5cd5cd156 WARNS=2 fix, kill register keyword, use __FBSDID().
NO_WERROR set because of hard-to-fix warnings originating in
system headers.
2001-12-11 23:10:26 +00:00
markm
7df3906a00 Protect this against the to-come WARNS=2 default. 2001-12-11 23:05:06 +00:00
markm
b4090206eb WARNS=2 fix, add externs.h to centralise external prototypes,
use __FBSDID(), kill register keyword.
2001-12-11 23:02:44 +00:00
markm
7320009338 WARNS=2 fixes, but set NO_WERROR, as there are some HardToFix(tm)
warnings originating in system headers.
2001-12-11 22:59:36 +00:00
markm
ad3748f9ba Remove WARNS=2 as this is to become default. 2001-12-11 22:56:05 +00:00
markm
97dc1962a9 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
markm
4a776e8d0d WARNS=2 fixes. 2001-12-11 22:52:36 +00:00
markm
50e4bbdea1 WARNS=2, use __FBSDID(), set NO_WERROR, as there are "dirty" files used
during the bootstrap phase.
2001-12-11 22:46:42 +00:00
markm
1513601c49 WARNS=2 fixes, remove register keyword, use __FBSDID() 2001-12-11 22:36:26 +00:00
markm
46520c3514 WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:34:38 +00:00
markm
4d4f0a49d8 Temporarily "protect" this against the coming WARNS=2 default as it
is "hard to fix" (meaning I will come back to fix it if nobody gets
there first).
2001-12-11 22:33:11 +00:00
markm
77bb412269 Remove WARNS=2 as this is to be the default. 2001-12-11 22:31:01 +00:00
markm
ff1e6296f0 WARNS=2 fix, use __FBSDID().
WARNS=2 is not in Makefile, as this will be the default.
2001-12-11 22:29:53 +00:00
markm
1f1707d892 Use FBSDID(), WARNS=2 fix.
Mkaefile does not use WARNS=2 beacuse this will be made default.
2001-12-11 22:27:26 +00:00
markm
496247b54e Use __FBSDID(). remove WARNS=2 as this is going to be default. 2001-12-11 22:25:43 +00:00
markm
6a4e19a831 WARNS=2 fix, use __FBSDID().
Not added to Makefgile as WARNS=2 will be made default.
2001-12-11 22:23:53 +00:00
markm
c6dc21807e WARNS=2 fix, use __FBSDID().
Not added to Makefile as WARNS=2 will be made default.
2001-12-11 22:22:15 +00:00
markm
a23dd012ce WARNS=2 fix, use __FBSDID() and sort includes.
WARNS=2 not added to Makefile as it is to become default.
2001-12-11 22:18:47 +00:00
markm
9c9a045dca WARNS=2 fix, but do not set this im Makefile, because this ill be the
default for src/usr.bin/
2001-12-11 22:13:02 +00:00
markm
acf06cc72a WARNS=2 fixes
__FBSDID() additions
some include file sorting.
Some Makefile sorting.

WARNS?=2 is not added to the Makefile, because it is going to be
default for usr.bin/
NO_WERROR is set because there are rpc*.h file issues.
2001-12-11 22:08:58 +00:00
dwmalone
d9613ea383 Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
des
a1922f6bbf Set fetchDebug if v_level is 3 or more.
PR:		bin/32615
MFC after:	1 week
2001-12-09 15:07:26 +00:00
jkh
8496a60c31 Don't assume that the number of fds to select on is known quantity (in
this case 16).  Use dynamic FD_SETs and calculated high-water marks
throughout.
Obtained from:	OpenBSD and Apple's Radar database
MFC after:	2 days
2001-12-08 21:51:34 +00:00
mike
d43f783040 Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.
PR:	30676
2001-12-08 21:22:42 +00:00
imp
8f226dc222 Only use __FBSDID if it is defined. This fixes the 4.4-release (but
not stable) -> current upgrade path.

Reviewed by: markm
2001-12-08 02:28:16 +00:00
dwmalone
ce9ba9f911 Yes seems to be warns clean on alpha and i386. 2001-12-03 21:42:15 +00:00
dwmalone
2d98aab133 Some warns cleanups - I think this is still not warns clean on the alpha. 2001-12-03 21:40:07 +00:00
dwmalone
56460a2eb0 Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:39:04 +00:00
dwmalone
383583bd4f Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:37:35 +00:00
dwmalone
d0e180a89a Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile. 2001-12-03 21:33:59 +00:00
dwmalone
8136379bed Warns cleanups. Add missing prototype. 2001-12-03 21:32:54 +00:00
dwmalone
4713a986f4 Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
dwmalone
cffa7a579a Strip seems to be warns clean on i386 and alpha. 2001-12-03 21:28:37 +00:00
dwmalone
71a3cce2f6 Warns cleanups. 2001-12-03 21:27:45 +00:00
dwmalone
d2c37ac50b Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.
2001-12-03 21:25:28 +00:00
dwmalone
7b333c32e3 Warns cleanups. Add FreeBSD ID. 2001-12-03 21:22:56 +00:00
dwmalone
267de3dc10 Warns cleanups, add FreeBSD IDs. 2001-12-03 21:20:37 +00:00
dwmalone
935f368eab Warnc cleanups. Add FreeBSD IDs. 2001-12-03 21:15:40 +00:00
dwmalone
a7b69c0f25 Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
dwmalone
3b51ef3427 Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile. 2001-12-03 21:12:03 +00:00
dwmalone
ad2914a674 Warns cleanup. Add FreeBSD ID to Makefile and nice.c. 2001-12-03 21:10:47 +00:00
dwmalone
81ff03de25 Warns cleanups. 2001-12-03 21:07:23 +00:00
dwmalone
fc0ee8a40b Warns cleanup. Add FreeBSD ID to Makefile. 2001-12-03 21:06:20 +00:00
dwmalone
ffd5084704 Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
dwmalone
db0b731dac Warns cleanups. Add FreeBSD ID to Makefile. 2001-12-03 21:03:39 +00:00
dwmalone
743061688b Warns cleanups:
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.
2001-12-03 21:01:52 +00:00
dwmalone
0a2730ac8b Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.
2001-12-03 21:00:33 +00:00
dwmalone
d4937950eb Warns cleanup. 2001-12-03 20:58:56 +00:00
dwmalone
a4427dae23 Warns cleanup (just make main return an int). 2001-12-03 20:57:49 +00:00
dwmalone
2a38aa8ed1 Cast off_t to long long before printing. Use %ll instead of %q incase
long long and quad_t are not the same.
2001-12-03 20:56:16 +00:00
jhay
8694133670 Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
the kerberos libraries and includes.
2001-12-03 17:53:09 +00:00
markm
2149facaa0 Merge from master (crypto) telnet. WARNS fixes for alpha. 2001-12-03 12:41:19 +00:00
markm
518bba4cc1 Use __FBSDID(). 2001-12-03 01:15:28 +00:00
markm
a37ff29e1e Reorder Makefile for style. 2001-12-03 01:09:17 +00:00
markm
a8c1d247f8 WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)
2001-12-03 00:16:52 +00:00
markm
a6a5a52862 Use __FBSDID(). 2001-12-03 00:07:59 +00:00
markm
efb1461388 Style fixes.
Use __FBSDID().
Be consistent WRT ANSI use.

OK'ed by:	obrien
2001-12-03 00:00:22 +00:00
markm
fc99e4f765 Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
markm
45888ee363 Use __FBSDID(). 2001-12-02 23:52:47 +00:00
markm
c318e515ab Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
markm
6aad061ae7 WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
markm
8896138d55 Use __FBSDID(). 2001-12-02 23:34:16 +00:00
markm
155bbc12c7 Turn on WARNS=2.
Use __FBSDID().
2001-12-02 23:29:26 +00:00
markm
fc2e4b54ec WARNS=2 fixes. Also, use __FBSDID(), and sort includes. 2001-12-02 23:12:33 +00:00
markm
f817012db6 Protect "make world", as I am doing some (potentially) dangerous
WARNS=2 fixes.

Add a commented out WARNS=2 to indicate future intentions.
2001-12-02 23:10:57 +00:00
markm
36745b0201 Turn on WARNS=2. this compiles cleanly. 2001-12-02 23:09:09 +00:00
markm
b3be1b374c Slight makefile style.
Use __FBSDID().
2001-12-02 23:04:14 +00:00
markm
6bd89ae377 Use __FBSDID(). 2001-12-02 22:46:47 +00:00
markm
18cc007439 WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Use __FBSDID().
Sort some headers.
2001-12-02 22:44:14 +00:00
markm
c73844e02d Use __FBSDID(). 2001-12-02 21:24:03 +00:00
markm
08eb6fed71 Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.
2001-12-02 20:54:57 +00:00
markm
3202164edc Use __FBSDID(). 2001-12-02 20:45:24 +00:00
markm
a7016d6ca8 Use __FBSDID(). 2001-12-02 20:40:22 +00:00
markm
d46c91fd8b Use __FBSDID() 2001-12-02 20:23:02 +00:00
markm
f8ba6799fd WARNS=2 fix, remove 'register' and use __FBSDID(). 2001-12-02 20:13:42 +00:00
markm
085302d146 WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
markm
11e67a9342 WARNS=2 fixup 2001-12-02 13:48:40 +00:00
markm
aeb55e91a2 WARNS=2 fixup. 2001-12-02 13:36:14 +00:00
markm
eadebf9b4a WARNS=2 fix and 'register' removal. 2001-12-02 13:31:22 +00:00
markm
b8b83fee29 WARNS=2 fixup. 2001-12-02 13:18:59 +00:00
markm
6ca5ece2c9 WARNS=2 fixup.
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
markm
9c4ab2cc6f WARNS=2 fixup. 2001-12-02 12:36:35 +00:00
markm
1713f5e655 WARNS=2 fixup. 2001-12-02 12:26:18 +00:00
markm
df573903aa Style. Use __P() macro (Yuk!). 2001-12-02 12:19:26 +00:00
markm
8e33fb69fc WARNS=2 fixup.
Turn on YP (NIS) while I'm about it.
2001-12-02 12:17:20 +00:00
markm
a59a3a99ce WARNS=2 fixups. 2001-12-02 12:09:41 +00:00
markm
4aa5e7d2a3 Sort includes. 2001-12-02 00:06:22 +00:00
markm
8a79fc4a5a Style fixups.
Sort function declarations, includes. Make consistent WRT use of _P()
macro (ugh!)

Inspired by:	bde
2001-12-01 21:12:04 +00:00
bde
13c461f200 Work around world breakage in previous commit. The bug is in
<security/pam_misc.h>.  It declares a function parameter named 'send',
so nothing that includes both <unistd.h> (which declares send(2)) and
<security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is
set.

Fixed order of WARNS.
2001-12-01 19:48:59 +00:00
markm
144609e331 WARNS=2 fixes.
Reviewed by:	bde (a while back)
2001-12-01 17:46:46 +00:00
markm
65ffba233b Remove the 'irq' string from the irqN part of the "interrupts" display.
This allows us to see the irq number when device names ate too long.
2001-12-01 17:41:37 +00:00
markm
4a974575ba WARNS=2 and s/register//.
Set NO_WERROR=true because there are some flex(1) issues that need
to be dealt with.
2001-12-01 17:34:42 +00:00
markm
9d10280c0b Merge the (in)complete ANSIfication work from src/crypto/telnet. 2001-11-30 22:37:28 +00:00
markm
57acab063b After running "make unifdef", commit the result. This code is now
a complete subset of the crypto (master) code.
2001-11-30 22:09:10 +00:00
markm
3962485896 Diff-reduce WRT src/secure/*telnet*/Makefile.
Also, add an "unifdef:" target, so that the telnet sources can
be remade from the crypto sources in src/crypto/telnet.
2001-11-30 21:34:51 +00:00
ru
cfe5212a8b - Make ip_rtaddr() global, and use it to look up the correct source
address in icmp_reflect().
- Two new "struct icmpstat" members: icps_badaddr and icps_noroute.

PR:		kern/31575
Obtained from:	BSD/OS
MFC after:	1 week
2001-11-30 10:40:28 +00:00
bsd
04a3a965ed killall operates on all processes owned by the real uid, not the
effective uid.

MFC after:	3 days
2001-11-30 00:30:28 +00:00
ache
d415ec9a10 Rewrite buffer handling code a bit to handle large values.
Add more checks for data overflow.
2001-11-28 09:50:24 +00:00
ache
1c29b90f4b Increase internal buffer space 2001-11-28 09:26:57 +00:00
ache
c5c274cf2c Add safeguard to prevent charmap symbol length overflowing 2001-11-27 23:39:14 +00:00
ache
8eefba4b03 Move extern definitions to common.h
Increase charmap symbol length to 64
2001-11-27 23:11:05 +00:00
tg
9135c64022 Remove check for the DISPLAY environment variable. It's easier to use
the `-x' option to get an X window than to temporarily disable DISPLAY.

PR:		32180
2001-11-27 13:14:49 +00:00
ru
ce68efb1de ${BINDIR} already has the leading slash. 2001-11-27 09:54:02 +00:00
ru
6d4362392c Put the "tip" in exactly the same place where it was in rev. 1.169. 2001-11-27 09:42:50 +00:00
markm
d7f0a44ce0 Some CVS surgery has been done to tip(1) to clean out a commit that I
should have done differently.

Restore tip(1) to the build. I will return to this with a clean
import to tip in due course.
2001-11-26 23:18:21 +00:00
markm
1ab9cf7b4b After some CVS surgery to remove an unwise commit, restore some
post-UUCP-removal stuff:

1) Link cu(1) to tip(1).
2) Force removal of system immutable bit. (Was needed by UUCP's
   insecure cu(1).
2001-11-26 23:13:33 +00:00
markm
e7b48738c9 Temporarily remove tip/cu from the build while repo-surgery is done. 2001-11-26 22:35:10 +00:00
iedowse
f9343b3578 Since kqueue support was added to tail, the "-F" option (check for
renames/rotations) only detected cases where the file itself was
moved or deleted. If part of the path to the file (or a symlink
in the path) was changed instead, tail would not notice.

Fix this by ensuring that we stat the path at least once every
second in the -F case to check for changes. We still use kqueue
when possible to inform us quickly when the file has changed.

PR:		bin/24955
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
MFC after:	1 week
2001-11-25 18:03:28 +00:00
dd
347d22cb8a Fix typo. 2001-11-24 21:22:16 +00:00
brian
28c7078186 Allow an ``at now'' specification.
PR:		32242
Submitted by:	Alan E <alane@geeksrus.net>
MFC after:	3 weeks
2001-11-24 10:43:53 +00:00
dd
4ee088e5a0 The RETURN VALUES section is not appropriate for section 1 manual
pages; rename it to DIAGNOSTICS.  Also use the .Ex macro while I'm
here.
2001-11-23 14:40:35 +00:00
dd
534b7e1f5c Fix grammar in AUTHORS section. 2001-11-23 14:37:27 +00:00
jlemon
be5f14aae7 Add #include <net/route.h> in order to get this to compile.
Spotted by: David Wolfskill
Forgotten by: me
2001-11-22 17:19:52 +00:00
ru
e82e55512f Be pedantic; we don't know of any shell that provides
"similar but not identical" built-in replacements for
false(1) and/or true(1).
2001-11-22 11:05:31 +00:00
jlemon
7e4737a17a Add syncache statistics to netstat. 2001-11-22 04:48:52 +00:00
grog
1fb8e0e550 Add St. Cecilia's Day. 2001-11-21 21:55:46 +00:00
knu
96265e088e Remove the printf builtin command from sh(1), which command is not
used so often that it's worth keeping it as a builtin.

Now that all the printf invocations from within the system startup
scripts, we can safely remove it.

Urged by:	sheldonh  :)

No MFC is planned so far because it may break compatibility and
violate POLA.
2001-11-20 18:33:59 +00:00
arr
d2f823593c - When copying into a fixed buffer, bounds checking should occur.
PR: bin/31673
2001-11-20 16:47:42 +00:00
ru
80a463b623 mdoc(7) police: kill whitespace at EOL. 2001-11-20 15:49:18 +00:00
ru
ed868c2f62 Add a missing comma. 2001-11-20 15:45:29 +00:00
ru
dfea2339f3 mdoc(7) police: kill whitespace at EOL and HSB. 2001-11-20 15:43:25 +00:00
ru
334403c166 Add xref to wall(1).
PR:		docs/32128
Submitted by:	Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
2001-11-20 15:39:58 +00:00
knu
dbbdb537c1 Add a note that some shells may have the command built-in.
(sh(1) indeed does)

Add a cross-reference to builtin(1).
2001-11-20 12:40:38 +00:00
ru
6d8eb2d775 Remove obfuscating details of using the false(1) and true(1) utilities
inside the Bourne shell scripts.

PR:		docs/32082
2001-11-20 11:11:36 +00:00
max
c069ca765d Make this a bit closer to a true tradition by adding one more committer. 2001-11-20 01:49:11 +00:00
murray
31d89aa48d Fix two minor grammar mistakes.
PR:           docs/32083
Submitted by: setantae@submonkey.net
2001-11-19 09:01:43 +00:00
murray
56252b5cc7 Add a missing word to form a complete sentence.
PR:           docs/32084
Submitted by: setantae@submonkey.net
2001-11-19 08:35:59 +00:00
murray
fb660d461e Use .Nm to correctly display the program name.
PR:           docs/32086
Submitted by: setantae@submonkey.net
MFC After:    2 days
2001-11-19 08:12:17 +00:00
iedowse
06e34fd560 Make completion work with filenames containing spaces.
PR:		bin/23526
Submitted by:	root@yoda.fwe.pi.musin.de
MFC after:	1 week
2001-11-18 17:49:09 +00:00
des
69c40b2704 Print the correct return code for successful Linux syscalls.
Submitted by:	Vitezslav Novy <vita@fio.cz>
PR:		32036
MFC after:	1 week
2001-11-17 17:18:36 +00:00
jmallett
aaec7e94a0 Import OpenBSD m4 as of today. 2001-11-16 23:50:40 +00:00
rwatson
0922d9a44c o Add support for a 'nocheckmail' capability, which (if true) prevents
the 'You have mail.' check.  This is useful for sites that rely on
  remote mail access, rather than a local mail spool.  Due to the
  behavior of login_getcapbool(), the negated form is required so as
  to have appropriate results.
o This behavior may have to be independently added to sshd due to
  redundant implementation.
2001-11-16 04:39:16 +00:00
dd
bbce60529d Deuglify the usage message by putting the program name after the
"usage:" string.  This is how most (all?) other programs in the system
do it.

PR:		31596
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-11-15 15:46:45 +00:00
cy
f2e1c31bea My final rite of FreeBSD is now complete.
Reviewed by:	nectar
Approved by:	nectar
2001-11-15 14:28:03 +00:00
grog
4827d8d48e Remove accidentally included NZ holidays.
Get floating holidays right.

Add the richness of NT holidays.

Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 03:53:57 +00:00
grog
ed0f61b4cf Add public holidays in Australia and New Zealand.
Submitted by:	Conrad Parker <conrad@vergenet.net>
2001-11-15 02:35:14 +00:00
pat
34b97e73d9 Follow tradition and add myself
Approved by:	lioux
2001-11-15 02:27:48 +00:00
arr
c20d0cf9eb Never added my entry which the committers guide says is a
tradition.
2001-11-13 17:44:40 +00:00
alfred
ae8c4c565e Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
gshapiro
c392a88ad0 Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation was
replaced with the new version in sendmail's distribution, vacation and
the necessary libraries (libsmdb and libsmutil) were changed so they
were always compiled.  This broke people who didn't checkout
src/contrib/sendmail/.  I don't know if it's best to think of NO_SENDMAIL
as no sendmail sources available or no sendmail binary.  It is now the former.

Also, remove the sendmail chapter from System Managers Manual (SMM) if
NO_SENDMAIL is defined (for similar reasons -- source not available).

PR:		31863, 31865
Submitted by:	matusita, Joe Kelsey <joe@zircon.seattle.wa.us>
MFC after:	3 days
2001-11-11 05:26:59 +00:00
iedowse
526c677d03 Remove an extraneous argument to fprintf that -Wformat noticed.
Reviewed by:	des
2001-11-10 18:39:54 +00:00
wollman
e68b7c9ebf Actually, arc4random() returns a uint32_t, not an int. Use the correct
constant, just in case uint32_t turns into a `short' ten years from now.
If this is MFC'd it will be necessary to hard-code the constant since
-stable doesn't have UINT32_MAX.
2001-11-08 22:01:35 +00:00
gallatin
243eea3da8 fix jot -r on 64-bit platforms by teaching it that arc4random outputs
an int, not a long

Submitted by: Paul Herman <pherman@frenchfries.net>
PR#: alpha/31859
2001-11-08 20:49:24 +00:00