1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/usr.bin
Mike Heffner 856f23ed35 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
..
apply Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
ar Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
at Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
awk Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
banner Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
basename Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
biff Start option definition with: ``The following options are available'' 2001-12-12 18:22:09 +00:00
brandelf Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
bzip2
c89 Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
calendar Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
cap_mkdb Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
chat
checknr
chflags Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
chkey Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
chpass Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
cksum WARNS=2 fixup. 2001-12-02 12:54:40 +00:00
cmp Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
col Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
colcrt Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
colldef Only use __FBSDID if it is defined. This fixes the 4.4-release (but 2001-12-08 02:28:16 +00:00
colrm Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
column Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
comm Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
compile_et
compress Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
ctags mdoc(7) police overhaul. 2001-12-14 09:48:03 +00:00
cut WARNS=2 and -Wall are not both needed. (The second is a subset of the 2001-12-03 00:16:52 +00:00
dig
dirname
dnskeygen
dnsquery
doscmd WARNS=2 fixup 2001-12-02 13:48:40 +00:00
du WARNS=2 fixup 2001-12-02 13:48:40 +00:00
ee FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
enigma
env
expand
false WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
fetch Set fetchDebug if v_level is 3 or more. 2001-12-09 15:07:26 +00:00
file Install files via FILES. 2001-12-17 16:02:15 +00:00
file2c
find Add a missing comma. 2001-11-20 15:45:29 +00:00
finger Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
fmt
fold Make clear that -w gets an argument. Add __FBSDID and remove unused 2001-12-12 18:25:53 +00:00
from Fix two minor grammar mistakes. 2001-11-19 09:01:43 +00:00
fstat Add support for devfs. In other words, for -CURRENT, make work at all 2001-12-17 13:42:46 +00:00
fsync
ftp Connect lukemftp to the build as the default ftp client. Lukemftp 2001-12-13 23:46:44 +00:00
gcore Removed unused include of kernel-only file <sys/lock.h>. 2001-10-13 04:54:03 +00:00
gencat Fix grammar in AUTHORS section. 2001-11-23 14:37:27 +00:00
getconf
getopt Warns cleanup (just make main return an int). 2001-12-03 20:57:49 +00:00
gprof Oops, forgot to remove the `beforeinstall' block. 2001-12-17 16:04:40 +00:00
gprof4 Add -K support to gprof(1), which enables dynamic symbol resolution from 2001-10-30 15:54:09 +00:00
head In order to perform faster when doing "head -n", use a pair of 2001-11-02 09:27:16 +00:00
hesinfo Warns cleanup. 2001-12-03 20:58:56 +00:00
hexdump WARNS=2 fixups. 2001-12-02 12:09:41 +00:00
host
id Fold groups(1) and whoami(1) into id(1). 2001-09-14 14:04:08 +00:00
indent Make this compile cleanly when warnings are enabled: 2001-10-28 18:35:32 +00:00
ipcrm Warns cleanups: 2001-12-03 21:00:33 +00:00
ipcs
join
jot Actually, arc4random() returns a uint32_t, not an int. Use the correct 2001-11-08 22:01:35 +00:00
kdump Really fix this work to work. While rev 1.24 did allow awk to run w/o 2001-11-01 02:16:10 +00:00
kenv Deuglify the usage message by putting the program name after the 2001-11-15 15:46:45 +00:00
keylogin
keylogout
killall killall operates on all processes owned by the real uid, not the 2001-11-30 00:30:28 +00:00
ktrace Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
lam Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
last localtime() was being called on an int pointer (due to recent 2001-10-29 00:34:20 +00:00
lastcomm
ldd Fix long format mismatch with int arg 2001-10-29 00:32:58 +00:00
leave
less
lessecho
lesskey
lex
limits
locate Print the path with the shortest absolute length, rather than 2001-12-12 20:38:07 +00:00
lock Warns cleanups: 2001-12-03 21:01:52 +00:00
lockf Warns cleanups. 2001-12-03 21:07:23 +00:00
logger The default for -p was ``kern.notice'' in the -h case. 2001-09-06 12:48:44 +00:00
login Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
logname Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
look Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
lorder
lsvfs
m4
mail Sync with most of NetBSD's changes, including: 2001-12-18 20:52:09 +00:00
make
makewhatis
mesg Add xref to wall(1). 2001-11-20 15:39:58 +00:00
minigzip
mkdep
mkfifo
mklocale
mkstr Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
mktemp Warns cleanups. 2001-12-03 21:07:23 +00:00
msgs File positions are off_t nowdays, not long, so: 2001-09-03 04:30:46 +00:00
mt
ncal
ncplist
ncplogin Warns cleanups. 2001-12-03 21:07:23 +00:00
netstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
newkey Turn on WARNS=2. this compiles cleanly. 2001-12-02 23:09:09 +00:00
nfsstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
nice Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
nl Fix typo. 2001-11-24 21:22:16 +00:00
nm
nohup Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
objformat Warns cleanups. Don't use gccism -Wall. 2001-12-03 21:13:03 +00:00
opieinfo Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
opiekey
opiepasswd Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
pagesize
passwd Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
paste Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
pr Cross-reference rs(1), the general array re-shaper. (pr(1) is commonly used 2001-09-21 02:57:56 +00:00
printenv Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
printf Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
quota Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
ranlib mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
renice Warns cleanups. 2001-12-03 21:27:45 +00:00
rev Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
rlogin Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rpcgen Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
rpcinfo
rs Do not overrun entry array when printing output tables. 2001-09-10 15:09:12 +00:00
rsh Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rup If the remote uptime is less than one minute, print the uptime in 2001-10-17 01:44:34 +00:00
ruptime
rusers Fix time_t == int assumption, properly convert protocol int to time_t. 2001-10-28 20:24:51 +00:00
rwall
rwho Fix time_t == int assumption, convert protocol int to time_t. 2001-10-28 20:26:54 +00:00
sasc Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
script Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2. 2001-12-12 23:23:52 +00:00
sed WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings. 2001-12-12 23:20:16 +00:00
shar
showmount Warns cleanups. This makes the showmount code warns clean, but some 2001-12-03 21:25:28 +00:00
size Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat
soelim Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
split WARNS=2 fixes, use __FBSDID, remove GCC-specific flags. 2001-12-12 23:09:07 +00:00
strings Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
strip Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
su Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
symorder WARNS=2 fixes, Use __FBSDID(), kill register keyword. 2001-12-12 23:02:30 +00:00
systat WARNS=2 fixes with NO_WERROR set, as there are some header issues 2001-12-12 00:13:37 +00:00
tail WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
talk WARNS=2 fixes with NO_WERROR set because of system-header originating 2001-12-11 23:51:14 +00:00
tconv Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tcopy Fix the time of an intmax_t calculation; it is unsigned. Also print 2001-12-12 22:46:56 +00:00
tee Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
telnet Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tftp WARNS=2 fixes. NO_WERROR set as there are some hard-to-fix 2001-12-11 23:43:15 +00:00
time Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
tip ${BINDIR} already has the leading slash. 2001-11-27 09:54:02 +00:00
top Protect this against the coming WARNS=2 default. 2001-12-12 00:05:16 +00:00
touch WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00
tput WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:39:38 +00:00
tr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:36:25 +00:00
true Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truncate Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truss Partial WARNS=1 fizes with NO_WERROR set to prevent world breakage. 2001-12-11 23:34:02 +00:00
tset WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
tsort Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tty Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
uac
ul WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uname WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:16:25 +00:00
unexpand WARNS=2 is to become the default, so remove. Use __FBSDID(). 2001-12-11 23:18:25 +00:00
unifdef WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:20:23 +00:00
uniq WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
units Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon. 2001-12-18 11:25:58 +00:00
unvis WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
usbhidctl WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
users WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uudecode WARNS=2 is to become the default, so remove it from here. 2001-12-11 23:14:43 +00:00
uuencode WARNS=2 is to become the default, so remove it from here. 2001-12-11 23:14:43 +00:00
vacation Protect this from the coming WARNS=2 default. 2001-12-11 23:12:44 +00:00
vgrind Install files via FILES. 2001-12-17 16:02:15 +00:00
vi Protect this against the to-come WARNS=2 default. 2001-12-11 23:05:06 +00:00
vis WARNS=2 fix, add externs.h to centralise external prototypes, 2001-12-11 23:02:44 +00:00
vmstat WARNS=2 fixes, but set NO_WERROR, as there are some HardToFix(tm) 2001-12-11 22:59:36 +00:00
w WARNS=2 fix, use __FBSDID() and sort includes. 2001-12-11 22:18:47 +00:00
wall WARNS=2 fix, use __FBSDID(). 2001-12-11 22:22:15 +00:00
wc WARNS=2 fix, use __FBSDID(). 2001-12-11 22:23:53 +00:00
what Use __FBSDID(). remove WARNS=2 as this is going to be default. 2001-12-11 22:25:43 +00:00
whereis
which Use FBSDID(), WARNS=2 fix. 2001-12-11 22:27:26 +00:00
who WARNS=2 fix, use __FBSDID(). 2001-12-11 22:29:53 +00:00
whois Fix a typo. Don't call options flags. Remove some documentation that 2001-12-16 01:44:49 +00:00
window Temporarily "protect" this against the coming WARNS=2 default as it 2001-12-11 22:33:11 +00:00
write WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:34:38 +00:00
xargs WARNS=2 fixes, remove register keyword, use __FBSDID() 2001-12-11 22:36:26 +00:00
xinstall More "const" poisoning, and only use NO_WERROR if we're bootstrapping. 2001-12-12 08:49:51 +00:00
xlint WARNS=2 fixes. 2001-12-11 22:52:36 +00:00
xstr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
yacc WARNS=2 fix, but do not set this im Makefile, because this ill be the 2001-12-11 22:13:02 +00:00
yes Remove WARNS=2 as this is to become default. 2001-12-11 22:56:05 +00:00
ypcat WARNS=2 fixes 2001-12-11 22:08:58 +00:00
ypmatch WARNS=2 fixes 2001-12-11 22:08:58 +00:00
ypwhich WARNS=2 fixes 2001-12-11 22:08:58 +00:00
Makefile Kernel support for smbfs is only built on the i386 at the moment, so 2001-12-14 23:11:45 +00:00
Makefile.inc Protect "make world", as I am doing some (potentially) dangerous 2001-12-02 23:10:57 +00:00