freebsd-dev/usr.bin
Joerg Wunsch 5dc67cd725 Fix some of the more blatant bugs in the original code, provide a
BSD-able Makefile, add a man page (that also puts a bold warning about
the weakness of the encryption), and implement the -k option for
compatibility with other vendor's implementations.  (Unlike those
other vendors, we actually also document this option and its
problems.)

There are more violations of style(9) in it, like the not-use of
getopt(3), but it's not worth the while fixing all of this.
1998-10-30 18:24:54 +00:00
..
apply Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
ar Don't build or install ${MAN1}. It's just a copy of ${MAN1aout} and 1998-10-10 12:48:48 +00:00
at atq ignored locale info when printing dates. Is the other call to 1998-10-15 13:30:48 +00:00
banner .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
basename PR: 4866 1998-04-14 22:08:48 +00:00
biff -Wall cleanup. 1997-12-29 00:09:06 +00:00
brandelf Add a forgotten 'static'. 1998-04-21 02:44:12 +00:00
c89 Added -D_ANSI_SOURCE as discussed with bde, 1997-10-05 18:44:37 +00:00
calendar Fixed gratuitous unformatting in rev.1.8. 1998-10-22 18:17:30 +00:00
cap_mkdb Fixed printf format errors. 1998-08-02 15:18:45 +00:00
chat Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth) 1998-06-23 21:58:41 +00:00
checknr Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
chflags Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, 1997-07-06 06:54:14 +00:00
chkey Fixed missing DPADD. 1997-12-16 14:42:08 +00:00
chpass Fixed printf format errors. Assume that uid_t's are representable as 1998-10-17 14:08:12 +00:00
cksum Avoid infinite loop if read() fails consistently. 1998-09-16 15:53:25 +00:00
cmp "EOF of file..." is written to stderr and not stdout. 1998-05-26 00:39:12 +00:00
col compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
colcrt -Wall cleanup. 1997-12-29 00:09:06 +00:00
colldef I have been running with these locale data for a while now and 1998-08-10 09:49:42 +00:00
colrm -Wall cleanup. 1997-12-29 00:09:06 +00:00
column Fix example to match ls(1)'s output. 1997-08-20 02:05:29 +00:00
comm Teach comm(1) and uniq(1) about an option for case-insensitive work. 1997-09-07 15:09:22 +00:00
compile_et Simplified using new yacc rules and by not generating y.tab.h. The 1998-05-04 18:40:18 +00:00
compress Fixed previous commit to actually work. The wrong variable was initialized 1998-10-21 11:48:39 +00:00
cpp Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
ctags Ctags write to buffer beyond the end of it when the source file 1998-04-19 18:00:49 +00:00
cut Use err(3) instead of local redefinition. Change argument name in man 1997-06-30 06:48:46 +00:00
dig Update for bind-8 1998-05-03 05:16:58 +00:00
dirname compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
dnsquery Update for bind-8 1998-05-03 05:16:58 +00:00
doscmd Fix typos. 1998-10-13 08:57:45 +00:00
du Print correct total for -c option (previously, the total for the last 1998-09-11 15:53:08 +00:00
ee Use lpr' vs. lp' to print 1998-10-01 21:18:18 +00:00
enigma Fix some of the more blatant bugs in the original code, provide a 1998-10-30 18:24:54 +00:00
env Add usage(). 1997-06-30 06:51:20 +00:00
error .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
expand PR: bin/5529 1998-02-02 07:10:59 +00:00
f2c During compilation of a Fortran program f2c/f77 will spew the 1998-07-24 07:13:57 +00:00
false
fetch If we know the content-length, only read that number of bytes from 1998-10-26 02:39:21 +00:00
file Added Microsoft's PE formatted executables for mips, i386 and Alpha. 1998-10-22 04:41:34 +00:00
file2c Nm does not always need an argument. 1997-07-02 06:30:51 +00:00
find Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
finger fix 8bit clean issue 1998-08-07 16:21:09 +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 fd_set is documented to be a typedef, not a struct. Conform more 1998-07-26 18:49:36 +00:00
gcore When the "-s" option is given, try to ensure that we restart the 1998-10-22 04:02:37 +00:00
gencat Fixed printf format errors. 1998-08-02 15:18:45 +00:00
gensetdefs Fixed 7 style bugs. The contents of such a simple Makefile is entirely 1998-10-14 10:21:10 +00:00
getopt compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 04:34:07 +00:00
global Don't create an unused obj directory. 1998-02-20 11:18:57 +00:00
gprof Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +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 Localize it 1997-11-04 05:33:15 +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 PR: 7583 1998-10-18 04:46:24 +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 Random data is no longer based on the time of day, rather the random 1998-01-24 03:32:33 +00:00
kdump Generate code to interpret ioctl numbers for all ioctls defined in 1998-10-16 15:33:17 +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 Diagnostic rewritten in English. 1998-09-02 10:05:47 +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 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
locate Create a save TMPDIR using `mktemp -d'. 1998-06-18 09:26:22 +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 Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:38:33 +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 Fixed anachronisms (nuked vfs type number; don't give a 1/6-baked list 1998-08-29 13:53:22 +00:00
m4 Make the builtin unix macro work as it should (well like Solaris's, 1998-09-07 22:09:13 +00:00
mail vfork -> fork. The child calls abort(), which calls stdio. 1998-10-10 19:21:39 +00:00
make Only process the ``PWD'' environmental var if built with "WANT_ENV_PWD" 1998-10-18 00:51:46 +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 I have added the support for BIG5 encoding into libc/libxpg4/mklocale. 1998-08-15 12:51:49 +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
modstat .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
more Ignore (effectively) SIGTSTP if we're already in the process of tstoping. 1998-08-03 03:11:09 +00:00
msgs Revert "POSIX saved uids change". seteuid(2) is not POSIX, and 1998-07-14 19:07:30 +00:00
mt Don't bother trying to support Wangtek tapes on the alpha. 1998-10-03 10:58:54 +00:00
ncal fix ncal.1 grammar 1998-04-26 06:21:29 +00:00
netstat Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS 1998-08-23 15:23:11 +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 Use err(3). 1997-07-31 06:54:45 +00:00
objformat Add manpage for objformat. This needs major word smithing. 1998-10-25 13:25:42 +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 Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:38:33 +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 Back out revision 1.10. It broke the build of sh, which compiles 1997-11-18 15:23:23 +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 Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +00:00
rpcgen include <pthread.h> 1998-09-25 11:43:48 +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 Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +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 Use err(3). Add usage(). 1997-08-08 12:18:16 +00:00
rwho Be picky about the format of the commandline and cleanup 1998-05-03 23:22:37 +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 Terminate our output string correctly if we've got 1998-09-22 18:39:47 +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
soelim Use err(3). Add prototype. 1997-08-11 07:29:17 +00:00
split Cosmetic in err() string. 1997-08-11 07:30:22 +00:00
strings Install the legacy man file in section 1aout. 1998-09-07 06:01:37 +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 Quiet many compiler warnings. 1998-10-08 09:56:10 +00:00
tail Fixed printf format errors. 1998-07-06 21:01:54 +00:00
talk Fixed printf format errors. 1998-07-06 21:01:54 +00:00
tconv change `ingored'' to `ignored'' in two places. I noticed this typo 1997-12-08 21:36:25 +00:00
tcopy Use err(3). Correct usage string. Change default tape to /dev/rst0. 1997-08-14 06:41:00 +00:00
tee Use err(3) instead of local redefinition. Add usage(). 1997-08-14 06:42:43 +00:00
telnet Fixed printf format errors. 1998-07-06 21:01:54 +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 Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
tip Some 64bit portability fixes. 1998-10-03 11:01:39 +00:00
tn3270 Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
top Some fixes for swap space accounting. 1998-09-11 14:38:12 +00:00
touch Don't assume that time_t is long. 1998-06-29 15:52:49 +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 Add lstat() as a known system call. 1998-10-15 04:31:44 +00:00
tset Many places in the code NULL is used in integer context, where 1997-09-18 14:08:40 +00:00
tsort Nm tsort -> Nm. 1997-08-18 07:28:50 +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 Localize it 1998-03-08 20:56:43 +00:00
units Install using ${INSTALL}, not using `install'. 1998-09-20 21:38:12 +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 Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +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 Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is* 1998-09-05 12:25:55 +00:00
vis Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
vmstat Back out previous work-around for "vmstat -i" failing on ELF 1998-10-28 06:41:24 +00:00
w Remove unused strvisx. 1998-06-09 04:35:20 +00:00
wall A bit of PR7278 which belongs here. 1998-07-22 20:34:24 +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 Sort SEE ALSO section alphabetically. 1998-05-22 11:09:01 +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 #include <arpa/inet.h> 1998-06-12 12:55:46 +00:00
window One vfork() changed to fork(); one execl() changed to execv(). The 1998-10-13 15:14:37 +00:00
write Allow backspace too 1997-09-15 00:42:04 +00:00
xargs Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
xinstall Calls one or more of malloc(), warn(), err(), syslog(), execlp() or 1998-10-13 14:52:33 +00:00
xlint Put y.tab.h back in SRCS. This used to be the best way to get 1998-05-05 13:00:26 +00:00
xstr Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
yacc Use mkstemp rather than mktemp for yacc's temp files. This change was made 1998-06-09 04:20:51 +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 +gensetdefs 1998-10-14 03:41:25 +00:00
Makefile.inc