freebsd-dev/usr.bin
Sheldon Hearn 42a1247753 * Add a command-line option to enable debugging mode, which sends error
messages to stderr instead of syslog.

* Fix manpage with respect to diagnostics.

Reported by:	rfg@monkeys.com (Ronald F. Guilmette)
1999-06-17 14:44:42 +00:00
..
apply Merge from OpenBSD up to rev 1.7 (matches NetBSD rev 1.4): 1999-02-12 15:06:55 +00:00
ar Eliminate compiler warnings from -Wall 1998-12-06 07:36:44 +00:00
at More egcs warning fixes: 1999-04-25 22:37:58 +00:00
banner Use const where appropriate. 1999-04-19 04:05:25 +00:00
basename Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
biff Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
brandelf Added "SVR4" as an acceptable brand 1999-01-30 06:16:48 +00:00
c89 Added -D_ANSI_SOURCE as discussed with bde, 1997-10-05 18:44:37 +00:00
calendar More egcs warning fixes: 1999-04-25 22:37:58 +00:00
cap_mkdb Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
chat Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
checknr Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
chflags Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
chkey Fixed missing DPADD. 1997-12-16 14:42:08 +00:00
chpass More egcs warning fixes: 1999-04-25 22:37:58 +00:00
cksum Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
cmp More egcs warning fixes: 1999-04-25 22:37:58 +00:00
col Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
colcrt More egcs warning fixes: 1999-04-25 22:37:58 +00:00
colldef Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5. 1999-06-08 02:25:19 +00:00
colrm Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
column Fix display of example usage. 1999-03-07 19:24:39 +00:00
comm Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
compile_et Unbreak K&R support, and generate code that works in K&R C as well as 1998-12-18 14:29:51 +00:00
compress Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
cpp Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ctags Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
cut Back out the NetBSD .Nm changes - we don't have the required 1999-02-12 13:24:45 +00:00
dig Update for bind-8 1998-05-03 05:16:58 +00:00
dirname Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
dnsquery Update for bind-8 1998-05-03 05:16:58 +00:00
doscmd X11 include directory may not actually contain any header file, check for 1999-04-17 01:57:06 +00:00
du Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
ee Typo. 1999-01-15 02:38:33 +00:00
enigma Typo. 1999-01-28 19:22:22 +00:00
env Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
error Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
expand Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
f2c Update to the most recent version. Among other things, this also solves 1999-02-03 17:23:49 +00:00
false
fetch make md5 checksums actually work instead of simply calculating the length 1999-05-18 19:37:37 +00:00
file Don't go looking for weird #includes if major isn't a macro. 1999-05-10 18:06:37 +00:00
file2c Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
find The -perm option takes argument [-]mode, not [-mode] 1999-06-06 07:37:18 +00:00
finger Impliment elements of TCP Wrappers's `safe_finger'. 1999-05-08 00:46:06 +00:00
fmt Ooops, the Makefile was not supposed to be changed. Unspam this. 1997-09-30 19:42:55 +00:00
fold Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
fpr
from Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
fsplit .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
fstat Fixed printf format errors. 1998-07-06 21:01:54 +00:00
ftp Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again. 1999-06-07 16:35:15 +00:00
gcore Fix errors detected by -Wformat. 1998-11-01 06:35:36 +00:00
gencat More egcs warning fixes: 1999-04-25 22:37:58 +00:00
gensetdefs Install the right man page. 1999-05-05 07:09:21 +00:00
getopt Further backouts and changes to the example. 1999-04-04 13:49:10 +00:00
global Fixed breakage of `make checkdpadd' in previous commit. 1999-01-19 00:23:25 +00:00
gprof Construct the profile file name from the name of the executable. A program 1999-05-23 00:37:56 +00:00
gprof4 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
head fread() returns 0 on eof or error, not EOF. This fixes the following 1998-10-09 10:33:46 +00:00
hexdump PR: bin/9016 1998-12-13 06:40:18 +00:00
host Update for bind-8 1998-05-03 05:16:58 +00:00
id Add "-P" display the id as a password file entry. 1998-08-21 06:47:58 +00:00
indent Improve handling of "do ... while" following "else". This change 1999-05-21 14:46:52 +00:00
ipcrm Add rcsid. Cosmetic in usage string. Typo in man page. 1997-07-15 09:54:34 +00:00
ipcs .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
join Require all compatability options to begin with '-'. 1997-08-19 15:58:15 +00:00
jot Correct an error in a manpage example, add -Wall -W to Makefile (no 1999-05-13 12:18:24 +00:00
kdump Syscall arguments are now properly aligned. Print them, and syscall return 1999-06-16 18:46:40 +00:00
key The elf build wants to link against libcrypt. 1998-08-31 00:42:21 +00:00
keyinfo Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
keyinit Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
keylogin Fixed DPADD. 1997-12-16 17:37:23 +00:00
keylogout Add rcsid, remove unused #includes, change exit(-1). 1998-01-14 07:14:11 +00:00
killall Added myself as maintainer. 1999-02-09 17:23:03 +00:00
ktrace Delete truss manpage link. We have now a real truss command. 1997-12-06 23:40:13 +00:00
kzip Use -aout for kernels right now. This will have to be changed back if 1998-09-14 11:32:52 +00:00
lam Use err(3) instead of local redefintion. Add usage() as a separate 1997-07-18 06:43:15 +00:00
last Reviewed by: Peter Hawkins <thepish@FreeBSD.org> 1998-05-28 00:58:29 +00:00
lastcomm Cosmetic in usage string. 1997-07-21 12:01:47 +00:00
ldd Make ldd work on alpha. 1998-09-16 09:31:48 +00:00
leave Don't let secs variable wrap if <= 2. 1998-04-14 00:23:54 +00:00
lex Backed out "fix for PR 7575". It was bogus. 1998-10-01 19:40:27 +00:00
limits Typo fix. 1999-04-13 02:32:12 +00:00
locate Fix a width. 1999-06-05 15:03:47 +00:00
lock Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
lockf Add a "-k" option, to specify that the lock file should be kept 1998-07-08 05:29:05 +00:00
logger Use err(3). 1997-07-22 07:33:48 +00:00
login remove uid switching before login_getpwclass, now done inside libutil 1999-04-24 17:26:32 +00:00
logname Show the real revision date and not the date that this 1997-06-23 04:03:49 +00:00
look Support multiple databases. For example 1998-08-31 16:38:23 +00:00
lorder Removed explict PATH which tended to cause the *wrong* path to be used 1998-08-15 07:10:21 +00:00
lsvfs getvfsbyname() returns zero on success. 1999-06-03 09:03:50 +00:00
m4 Change the wording to reflect that only the first character of the two 1998-12-13 23:15:50 +00:00
mail Ignore the MAIL environment variable when the -u flag is set. 1999-05-20 22:23:04 +00:00
make Handle ".if ${T} > 1 || ${T} < 3" and friends correctly. 1999-05-25 13:45:08 +00:00
makewhatis Fix a minor nit in the .Dd macro invocation so that 1997-06-23 04:52:13 +00:00
mesg Add usage(). 1997-07-24 07:00:17 +00:00
minigzip Add SEE ALSO section including ref to gzip. Add .An. 1998-01-05 07:14:54 +00:00
mk_cmds Added y.tab.h to SRCS. This should have been used to get dependencies 1998-05-05 13:16:35 +00:00
mkdep Remove -n for ignoring system headers. Instead add finer grain shell 1998-09-13 09:39:39 +00:00
mkfifo Add includes and prototype. 1997-07-24 07:02:55 +00:00
mklocale Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5. 1999-06-08 02:25:19 +00:00
mkstr Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
mktemp Sort cross references. 1998-08-31 16:41:09 +00:00
more - When trying to decide if $EDITOR == "vi", match against only the first 1999-06-05 20:27:08 +00:00
msgs Revert "POSIX saved uids change". seteuid(2) is not POSIX, and 1998-07-14 19:07:30 +00:00
mt add and document seteotmodel and geteotmodel commands 1999-05-10 20:05:19 +00:00
ncal Due to the switch form Julian to Gregorian calender, 1999-03-27 21:08:13 +00:00
netstat Add support for printing bridging statistics with ``-p bdg '' . 1999-04-26 16:11:50 +00:00
newkey Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
nfsstat Backout out previous commit. The bug was in the kernel. 1998-10-25 10:59:44 +00:00
nice .Nm nice -> .Nm. 1998-03-23 07:45:40 +00:00
nm Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
nohup If we're going to do such a non-UNIX(tm)y thing as appending output 1999-05-22 06:57:22 +00:00
objformat Correctly document the two different object file formats that can be 1999-06-15 19:19:51 +00:00
opieinfo Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
opiekey Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
opiepasswd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
pagesize Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
passwd Clarify when the user gets a prompt for the old password, and that 1999-05-03 00:56:05 +00:00
paste Add #include <stdlib.h> to get prototype for malloc(). Without this, 1998-02-20 04:21:46 +00:00
pr Don't assume that time_t is long. 1998-06-29 17:06:00 +00:00
printenv environmental -> environment. 1997-08-04 06:40:41 +00:00
printf Fixed warnx format errors in printf and csh, and snprintf format errors 1998-12-07 12:14:04 +00:00
quota Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
ranlib Don't build or install ${MAN1}. It's just a copy of ${MAN1aout} and 1998-10-10 12:48:48 +00:00
rdist Fix formatting bug. 1998-10-15 05:04:28 +00:00
renice Use err(3). Add usage() and prototypes. 1997-08-05 06:42:48 +00:00
rev Document that multiple args are allowed, i.e Ar file -> Ar file ... 1997-08-05 06:44:28 +00:00
rlogin Fixed usage message to almost match the man page. The old -d option and 1999-05-27 12:58:41 +00:00
rpcgen Backed out previous commit. The bug was in rev.1.49 of src/Makefile.inc1, 1999-01-04 12:36:23 +00:00
rpcinfo #include <arpa/inet.h> 1998-06-12 12:37:15 +00:00
rs Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
rsh Don't use an arbitrary hardcoded value for nfds in select() calls. 1999-02-10 18:08:51 +00:00
rup PR: bin/6193 1998-04-01 21:34:10 +00:00
ruptime Small formatting change to interval() to align columns so that: 1997-03-31 09:36:59 +00:00
rusers Proper casting for clnt_broadcast() args. 1997-09-15 09:47:16 +00:00
rwall PR: bin/8680 1998-12-13 03:44:19 +00:00
rwho Fixed typo. 1998-12-20 02:52:30 +00:00
sasc Removed all `vector xxxintr' specifications. Interrupt handlers are now 1998-10-22 15:53:06 +00:00
script Mention default time between output flushes in manual page. 1998-09-29 01:49:49 +00:00
sed More egcs warning fixes: 1999-04-25 22:37:58 +00:00
shar more sanity check before making output. 1997-08-29 00:44:34 +00:00
showmount Added an replacement for callrpc that uses tcp as primary transport method. 1997-09-04 21:21:56 +00:00
size Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
sockstat Don't use STDOUT_TOP. 1999-05-01 11:31:19 +00:00
soelim Use err(3). Add prototype. 1997-08-11 07:29:17 +00:00
split Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix. 1999-02-05 00:42:14 +00:00
strings malloc(3) need to allocate one byte more. 1999-03-29 13:18:16 +00:00
strip Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +00:00
su Add JKH's auth.conf parser to turn on/off Kerberos in userland 1998-10-09 20:14:48 +00:00
symorder Use err(3) instead of local redefinition. Add prototypes. 1997-08-12 06:46:56 +00:00
systat Tidy up references to <sys/rlist.h> and support for the old swap management 1999-05-11 14:32:18 +00:00
tail Fixed printf format errors. 1998-07-06 21:01:54 +00:00
talk Remove couple of 'extern int errno'. (They turned to something funny when 1999-02-14 22:22:54 +00:00
tconv change `ingored'' to `ignored'' in two places. I noticed this typo 1997-12-08 21:36:25 +00:00
tcopy Tcopy uses 32 bit unsigned to accumulate a count of bytes read/written. 1999-04-30 13:13:32 +00:00
tee Use err(3) instead of local redefinition. Add usage(). 1997-08-14 06:42:43 +00:00
telnet Add "-N" option to the SYNOPSIS and usage(). 1999-06-17 07:12:39 +00:00
tftp Rename a function name so that it doesn't conflict with a future system call. 1998-10-30 16:17:50 +00:00
time Adds the '-p' option to make time(1) output POSIX.2 compliant. 1999-03-10 17:22:12 +00:00
tip Rename a function to avoid conflict with the new syscall 'pwrite'. 1999-04-04 21:47:11 +00:00
tn3270 More egcs warning fixes: 1999-04-25 22:37:58 +00:00
top Man pages for top refer to only 2.x, but not to 3.x and later 1999-06-14 12:06:11 +00:00
touch Brucify. 1999-05-12 06:57:07 +00:00
tput Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, 1997-07-06 06:54:14 +00:00
tr Submitted by: Joachim Kuebart, thanks. 1997-10-12 09:52:49 +00:00
true Nm true -> Nm. 1997-08-18 07:25:50 +00:00
truss Flush the output file before exiting; short-lived programs don't even fill 1998-12-21 06:34:50 +00:00
tset Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
tsort An even number of nodes, not node pairs are required for tsort(1) to work. 1999-03-20 21:24:18 +00:00
tty Add usage(). 1997-08-18 07:30:15 +00:00
ul Main() returns int. 1997-08-26 11:08:24 +00:00
uname Fixed printf format errors. 1998-07-06 21:01:54 +00:00
unexpand Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
unifdef Main() returns int. 1997-08-26 11:08:24 +00:00
uniq Grammar nits, double negatives 1999-03-15 02:57:29 +00:00
units Add euro-currency and constant rates of EMU area. 1999-05-22 02:01:59 +00:00
unvis Main() returns int. 1997-08-26 11:08:24 +00:00
users Main() returns int. 1997-08-26 11:08:24 +00:00
uudecode Allow spaces in the filename to be decoded to. 1998-05-25 06:27:09 +00:00
uuencode Add two new options: 1998-01-25 19:26:05 +00:00
vacation * Add a command-line option to enable debugging mode, which sends error 1999-06-17 14:44:42 +00:00
vgrind Change the name of a variable from _start to s_start. On alpha there 1998-05-15 09:26:28 +00:00
vi The perlinterp option builds and works, but I'm not so sure how it'll go 1998-12-16 04:02:56 +00:00
vis Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
vmstat Correct description of -c and -w options 1999-06-06 14:16:51 +00:00
w fix -n with 16-chars hostnames, modified patch from PR 1999-04-22 23:40:56 +00:00
wall PR: bin/8680 1998-12-13 03:42:51 +00:00
wc Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
what Make compatible with standard what command: 1998-05-04 22:26:56 +00:00
whereis Also look in /usr/src/contrib. 1998-10-04 10:33:37 +00:00
which Added myself as maintainer. 1999-02-09 17:23:03 +00:00
who Back out Steve's fix, as this was already fixed by me in revision 1.6 1998-05-25 12:04:47 +00:00
whois Add -R for .RU domains 1999-02-02 01:49:14 +00:00
window Fix the style of my previous commit. 1999-03-03 14:02:50 +00:00
write Allow backspace too 1997-09-15 00:42:04 +00:00
xargs xargs was spliting the input in a very different way from everyone else, 1999-05-23 15:58:22 +00:00
xinstall Free memory from setmode. 1998-12-16 04:51:27 +00:00
xlint Use __XSTRING() from cdefs.h instead of rolling my own. 1999-01-25 11:25:24 +00:00
xstr Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
yacc Clean up the skeleton code a little. There was a #ifdef to avoid 1999-04-18 13:37:49 +00:00
yes
ypcat .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
ypmatch .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
ypwhich #include <arpa/inet.h> 1998-06-12 13:04:59 +00:00
Makefile Disconnect modload/modunload/modstat from their Makefiles.. 1999-04-18 15:56:20 +00:00
Makefile.inc