NetBSD/usr.bin
christos ca13337dfe From Anon Ymous:
- Remove all longjmp(3) calls from signal handlers.  Instead, we post
to an internal signal queue and check that periodically.  All signal
related code is now in sig.c, except for the SIGCHLD handler which
remains in popen.c as it is intimately tied to routines there.

- Handle SIGPIPE in type1() regardless of mime support, or else the
handler in execute() will prevent our error code from being returned
resulting in 'sawcom' not being set on the first command as it should.
This only affected the initial behavior of the "next" command without
mime support.

- Add the 'T' flag to many commands in cmdtab.c that should not look
like the first command.  E.g., start mail on a mailbox with multiple
messages, run "set foo", then "next", and watch the second message get
displayed rather than the first as is the case without the first "set"
command.

- Add file descriptor and file handle leak detection.  Enabled by
DEBUG_FILE_LEAK.  This will likely disappear in the future.

- Fix a long standing (since import in 1993) longjmp() bug in
edstop(): the jmpbuf was invalid when quit() is called at the end of
main.

- Fix a long standing bug (since import in 1993) in snarf() where it
didn't strip whitespace correctly if the line consisted only of
whitespace.

- Lint cleanup.

- New Feature: "Header" command.  This allows miscellaneous header
fields to be added to the header, e.g., "X-Organization:" or
"Reply-To:" fields.

- New Feature: "page-also" variable.  This allows the specification of
additional commands to page.  It is more flexible than "crt".

- Document the "pager-off" variable: if set, it disables paging
entirely.
2009-04-10 13:08:24 +00:00
..
apply lint patches from Anon-Ymous 2008-03-08 03:35:53 +00:00
apropos Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
asa
at Don't escape %, but do escape DD and SS macros. OK wiz@ 2009-03-09 14:26:44 +00:00
audio remove clause #3 from my license where there are no other 2008-05-29 14:51:25 +00:00
awk Fix and improve mark up. 2009-03-15 16:21:46 +00:00
banner Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
basename Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
bdes Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
biff Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
bthset Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
btkey Use item list instead of tag list 2009-03-10 19:36:33 +00:00
btpin Use item list as no tag is present. Fix markup for item. 2009-03-10 19:34:18 +00:00
bzip2
bzip2recover
cal Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
calendar If the parser scrapes up something it thinks is positionally a month, but 2008-09-30 05:51:41 +00:00
cap_mkdb coverity CID 515: Use assert. 2009-02-18 20:00:32 +00:00
cdplay fix a dud indent 2009-02-22 08:32:25 +00:00
checknr Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
chflags Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
chpass Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
cksum Don't use macros for the synopsis. Improve markup to break argument 2009-03-13 10:51:56 +00:00
cmp Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
col Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
colcrt Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
colrm Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
column Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
comm Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
compile_et Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
compress Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
config .sp -> .Pp 2009-03-24 00:14:01 +00:00
crontab Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
crunch Use paragraph breaks before notes, not just line breaks. 2009-03-12 12:36:48 +00:00
csplit Don't workaround ancient macro argument limit with .Xo/.Xc. Don't use 2009-03-12 12:35:51 +00:00
ctags remove debugging code. 2009-03-27 21:48:26 +00:00
cut A couple minor fixes, from Alan R. S. Bueno in PR 41046. 2009-03-29 05:58:41 +00:00
db Bump date for previous. 2009-01-28 09:11:16 +00:00
deroff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
dirname Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
du Fix 'total' output from 'du -sc'. 2008-07-30 22:03:40 +00:00
eject Don't include the AMD stuff if SMALLPROG is defined. 2009-03-28 12:19:51 +00:00
elf2aout
elf2ecoff
env Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
error Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
expand PR/11228: Ben Harris: Unexpand -t should take tab list. Based on patch 2008-12-21 02:33:13 +00:00
extattr
false
fdformat If this is built for arm, build it for armeb as well, so that 2009-03-08 15:37:12 +00:00
fgen
file no more magic.mime 2008-08-30 12:25:41 +00:00
find Fix first part of PR 38987 by Robert Elz: 2009-01-04 12:13:56 +00:00
finger Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
fmt Specify width for tag list. 2009-03-10 20:23:47 +00:00
fold Increase last_space only after we wrote the line, so we 2008-10-29 01:31:09 +00:00
fpr Fix markup. 2009-03-15 15:18:04 +00:00
from Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
fsplit Two robustness fixes: 2008-11-23 09:13:20 +00:00
fstat only print warnings if vflg. 2009-02-26 17:30:51 +00:00
ftp Don't workaround ancient macro argument limit with .Xo/.Xc. Don't use 2009-03-12 12:35:17 +00:00
gcore Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
genassym In shell scripts invoked during a build, and in crunchgen, use ${AWK} 2008-10-19 22:10:04 +00:00
gencat Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
getconf setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko 2008-08-27 08:56:49 +00:00
getent Fix number of columns. 2009-03-15 15:19:57 +00:00
getopt Use semantic markup 2009-03-11 13:53:30 +00:00
gprof
grep sign-compare fixes 2009-01-25 14:06:00 +00:00
gss Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
gzip note that -n also stops the timestamp from being output. 2009-04-01 08:15:37 +00:00
head Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
hesinfo
hexdump Integer values, no matter what their width, are cast to int64_t or 2009-01-18 21:34:32 +00:00
hxtool Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
iconv on errors, output whatever we have before bailing out. 2009-02-20 15:28:21 +00:00
id Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
indent Remove physical markup. 2009-03-24 00:17:25 +00:00
innetgr Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
ipcrm fix -Wsign-compare issues 2009-01-18 01:02:41 +00:00
ipcs fix -Wsign-compare issues 2009-01-18 01:02:41 +00:00
join Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
jot Use semantic markup 2009-03-11 13:53:30 +00:00
kdestroy Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
kdump resolve conflict. 2009-01-11 03:05:41 +00:00
kgetcred Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
kinit Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
klist Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
krb5-config Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
ktrace merge christos-time_t 2009-01-11 02:57:17 +00:00
ktruss merge christos-time_t 2009-01-11 02:57:17 +00:00
lam Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
last fix time format. 2008-12-29 01:25:04 +00:00
lastcomm Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
ldd Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
leave Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
less don't parse $LESS env-var in more_mode. (also, don't parse $LESS twice 2008-08-28 07:20:20 +00:00
lex
locale Fix off-by-one. 2009-01-16 13:30:07 +00:00
locate sign over my copyright to TNF 2008-09-22 13:10:25 +00:00
lock fix time_t printf format. 2008-12-29 01:26:46 +00:00
logger PR/39912: Jukka Salmi: Logger eats the first word because of incorrect 2008-11-13 15:51:07 +00:00
login Add newgrp(1) to SEE ALSO cross-reference list. 2008-11-19 17:56:53 +00:00
logname Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
look Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
lorder
m4 Don't break scope for .Oo/.Oc to workaround ancient argument limit. 2009-03-10 13:46:43 +00:00
machine
mail From Anon Ymous: 2009-04-10 13:08:24 +00:00
make remove unneeded special rule for main.o 2009-03-24 13:54:37 +00:00
man Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
menuc Specify width for tag list. 2009-03-10 20:23:47 +00:00
mesg Fix markup 2009-03-11 13:54:05 +00:00
midiplay Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
mixerctl Fix typo in Dd argument. 2008-08-15 21:10:57 +00:00
mk_cmds Change incorrect usage of CFLAGS to CPPFLAGS 2008-02-16 18:27:48 +00:00
mkcsmapper MKMAN does not belong in source makefiles; use NOMAN. 2008-03-10 01:08:05 +00:00
mkdep Comment out CFLAGS+=-g. 2009-02-13 16:02:05 +00:00
mkesdb MKMAN does not belong in source makefiles; use NOMAN. 2008-03-10 01:08:05 +00:00
mkfifo Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
mklocale 1. reworking PR lib/40317: 2009-01-05 06:11:43 +00:00
mkstr Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
mktemp convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
moduli fix -Wsign-compare issues 2009-01-18 01:34:30 +00:00
msgc Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
msgs Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
nbsvtool Fix markup 2009-03-11 13:54:05 +00:00
netgroup Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
netstat Fix markup 2009-03-11 13:54:05 +00:00
newgrp Move to 2 clause license 2008-05-02 21:48:18 +00:00
newsyslog Fix an embarrassing mistake regarding moving down log files. Reported by 2009-02-17 02:56:43 +00:00
nfsstat Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
nice Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
nl Fix markup 2009-03-11 13:54:05 +00:00
nohup Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
nvi fix "make cleandir" 2009-02-18 13:26:15 +00:00
openssl new openssl 2008-05-09 21:55:30 +00:00
pagesize
passwd Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
paste Null-terminate the delimiter list string after processing escapes 2009-04-07 01:52:26 +00:00
patch Don't workaround ancient macro argumentent limitation with .Xo/.Xc. 2009-03-10 13:57:08 +00:00
pathchk
pkill Drop trailing whitespace. 2009-02-28 19:21:42 +00:00
pmap Add Xref to pmap(9), from Anon Ymous. 2009-02-15 22:49:37 +00:00
pmc fix -Wsign-compare issues 2009-01-18 07:05:53 +00:00
pr Use semantic markup 2009-03-11 13:57:11 +00:00
printenv Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
printf Use semantic markup 2009-03-11 13:57:11 +00:00
progress Cosmetic fix: don't exit without completing the progress bar, either on 2008-05-26 04:53:11 +00:00
pwhash
qsubst
quota Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
radioctl
rdist Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
renice Fix markup. 2009-04-08 13:20:23 +00:00
rev May have multiple files on command line. 2008-11-28 20:30:05 +00:00
revoke Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
rfcomm_sppd Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
rlogin Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
rpcgen Fix markup 2009-03-11 13:57:53 +00:00
rpcinfo Add missing .Os, improve column size. 2009-04-08 13:28:16 +00:00
rs Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
rsh fix -Wsign-compare issues 2009-01-18 00:37:53 +00:00
rup convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
ruptime Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
rusers
rwall Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
rwho Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
script Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
sdiff
sdpquery Specify width for tag list. 2009-03-10 20:23:47 +00:00
sed Sort options. Uppercase GNU. 2008-09-21 16:46:01 +00:00
seq new sentence, new line 2008-11-26 15:03:47 +00:00
shar
shlock Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
showmount Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
shuffle Mark up author with An and Aq. 2009-02-19 10:08:15 +00:00
skey
skeyinfo Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
skeyinit Default for -n is 100 not 99. 2008-04-05 04:02:06 +00:00
sockstat Move TNF licenses to 2 clause form 2008-05-04 19:43:05 +00:00
soelim Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
sort Don't workaround ancient macro argument limit with .Xo/.Xc. 2009-03-11 13:58:29 +00:00
spell more MKSHARE == no fixes: 2008-10-30 21:37:55 +00:00
split Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
ssh link in fmt_scaled.c 2009-02-17 04:07:30 +00:00
stat Drop trailing space. 2008-11-07 16:49:45 +00:00
string2key Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
su Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
systat - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
tabs fix -Wsign-compare issues. minor knf 2009-01-18 07:08:30 +00:00
tail Use off_t, not __off_t. 2008-09-30 04:03:37 +00:00
talk Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
tcopy Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
tee Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
telnet Don't workaround ancient macro argument limit with .Xo/.Xc. 2009-03-11 13:58:29 +00:00
tftp fix -Wsign-compare issues 2009-01-18 07:11:45 +00:00
time Mention -c. Hi Matt. 2009-01-24 15:00:55 +00:00
tip Use .Tn for XMODEM. Use .Bl -column for physically marked up table. 2009-03-13 11:12:28 +00:00
tn3270 Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
touch Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
tput Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
tr Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
true
tset Replace .br and .sp with .Pp for vertical spacing. 2009-03-10 01:53:30 +00:00
tsort Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
tty Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
ul Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
uname
unexpand PR/11228: Ben Harris: Unexpand -t should take tab list. Based on patch 2008-12-21 02:33:13 +00:00
unifdef
uniq Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
units
unvis Add RFC 2045 MIME Quoted-Printable support. 2009-02-10 23:06:31 +00:00
usbhidaction fix -Wsign-compare issues 2009-01-18 07:11:45 +00:00
usbhidctl Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
users Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
utoppya Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
uudecode Sync usage message with man page. PR 40063. 2008-11-29 22:36:57 +00:00
uuencode Specify width for tag list. 2009-03-10 19:54:43 +00:00
uuidgen Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
vacation Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
verify_krb5_conf Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
vgrind Fix markup 2009-03-11 13:59:00 +00:00
vi/docs bye old vi! 2008-10-29 16:49:33 +00:00
vis Fix typo in usage. 2009-02-11 06:42:31 +00:00
vmstat fix -Wsign-compare issues 2009-01-18 07:11:45 +00:00
vndcompress Take a small step toward making vndcompress into a host tool: 2008-02-18 03:34:04 +00:00
w Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
wall Skip over the ":0" entries that gdm, kdm, and unpatched versions of xdm 2009-02-15 06:06:55 +00:00
wc Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
what Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
whatis Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
whereis Fix a bug in which which(1) would check only the first element of the 2008-10-17 10:53:26 +00:00
who pass lint. 2008-10-28 14:01:46 +00:00
whois Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
window Explicitly escape : in .It. 2009-03-10 21:18:35 +00:00
write Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
xargs Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
xinstall Changes for installing with a metalog: 2009-04-07 22:07:54 +00:00
xlint Remove use of .Xo/.Xc to workaround argument number limit. 2009-03-10 13:44:02 +00:00
xstr Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
yacc Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
yes Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-21 14:19:20 +00:00
ypcat
ypmatch
ypwhich wait for 15 seconds, not 15 microseconds. 2008-01-25 19:54:40 +00:00
Makefile Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to 2009-01-19 07:08:14 +00:00
Makefile.inc