NetBSD/usr.bin
simonb 40ca17538d Extend the -T option show that it shows the year as well as seconds.
Also print the full time on interrupt and exit, regardless of the
-T setting.  Replace all uses of asctime()/ctime() and magic number
offsets within their return strings with strftime().

Fixes PR bin/5311 from Geoff Wing and much more.
2000-06-25 13:44:42 +00:00
..
apply Fix off by one error in string length calculation (from OpenBSD rev 1.6) 2000-01-14 06:21:25 +00:00
apropos char -> unsigned char 1998-11-06 22:29:44 +00:00
asa Use new .St -xcu5 macro, instead of spelling it out 1999-06-03 21:42:50 +00:00
at Use LOGIN_NAME_MAX for checking username length, not something based 2000-06-25 13:35:48 +00:00
audio remove unused crap. 2000-06-18 07:20:15 +00:00
banner Allow the LPD font to be selected at runtime rather than compile time. 2000-05-30 12:03:31 +00:00
basename
bdes Make this build in a WARNS'ified environment. 2000-06-16 17:16:33 +00:00
biff More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
bzip2 On suggestion by Alistair Crooks use stat() instead of lstat() for "bzcat" 1999-04-08 18:34:27 +00:00
bzip2recover Remove bsd.own.mk include; it doesn't appear to be necessary. 1999-02-12 18:55:28 +00:00
cal Fix a documentation bug in this man page: The Gregorian Reformation in Great 1999-11-03 14:32:25 +00:00
calendar Don't declare 'extern opt*' getopt variables. 2000-04-14 06:07:14 +00:00
cap_mkdb s/ as as / are as / 1999-10-08 18:13:16 +00:00
cdplay use play_track() instead of play_blocks() when play whole disk 2000-06-15 21:07:37 +00:00
checknr More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
chflags implement lchflags(2), which does the chflags(2) dance without following 2000-04-17 14:31:21 +00:00
chpass Spell "privilege" correctly (correct spelling from Jonathan Stone). 1999-08-16 02:59:22 +00:00
cksum More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
cmp * Hint MADV_SEQUENTIAL. 2000-03-20 18:23:26 +00:00
col Fix wrong option string in call to getopt(3). Patch supplied by 1999-09-23 08:47:47 +00:00
colcrt More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
colrm More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
column - include <termios.h> for winsize 1998-11-06 22:59:12 +00:00
comm Add -f option to allow case folding, as in sort(1). 1999-02-11 00:53:24 +00:00
compile_et Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
compress Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
crontab WARNSify 1998-02-22 12:08:33 +00:00
crunch sweep of my licenses (userland files w/o only my copyright) for 2000-06-14 17:24:02 +00:00
ctags Don't recognize `int (*f)();' as a function. The false match caused the 1999-06-05 19:04:23 +00:00
cut char -> unsigned char 1998-11-06 23:06:38 +00:00
dirname convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
du Include -r flag in usage message. 2000-04-02 12:46:04 +00:00
eject Oups, complete braindamage yesterday. DIOCEJECT does the rigth thing for both 1999-03-26 09:14:58 +00:00
elf2aout Build on m68k and powerpc: needed for amigappc kernel with old boot loader. 2000-05-21 06:48:08 +00:00
elf2ecoff Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
env Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
error Eliminate hard coded buffer sizes in fgets() statements, use 2000-01-14 06:53:48 +00:00
expand More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
false More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
fdformat More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
fgen kill trailing blank line. 2000-04-16 04:57:55 +00:00
file Recognize NetBSD/powerpc core file. 2000-06-08 13:57:41 +00:00
find Fix typo. 2000-03-16 18:56:41 +00:00
finger Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
fmt GC savestr() function. Makes this build again on i386 (this hadn't been used 1999-11-02 21:17:16 +00:00
fold Fix fold not to break line too early in word boundary (-s) mode. 1999-02-07 12:14:32 +00:00
fpr More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
from More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
fsplit More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
fstat Bring into line with recent ktrace changes 2000-05-27 15:02:04 +00:00
ftp * migrate the SYST parsing from setpeer() into a separate remotesyst(). 2000-06-15 13:08:23 +00:00
gencat Use: 1999-12-29 06:54:00 +00:00
getconf We have _SC_2_C_BIND now, enable POSIX2_C_BIND. 2000-04-20 00:41:20 +00:00
getopt cleanup formatting, improve example 1999-12-01 12:03:16 +00:00
gprof Goodbye, Berkeley gprof; we shall miss you! 1999-02-09 18:28:10 +00:00
head Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
hesinfo add hesinfo (from hesiod 3.0.2 distribution) 1999-01-25 22:45:55 +00:00
hexdump Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
id Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
indent Remove a spurious .ne. 1999-03-24 06:25:57 +00:00
innetgr Add missing .El line. 1999-03-10 05:14:51 +00:00
ipcrm Don't pass so many args to .Nd macro. It just overflows. 1999-11-19 01:12:39 +00:00
ipcs Don't check namelist when choosing to use the sysctl interface. 2000-06-16 03:51:00 +00:00
join Fix another off-by-one error, attempting to output a non-existant field. 2000-06-10 19:21:05 +00:00
jot Clean up SYNOPSIS formatting. 1999-03-07 11:29:58 +00:00
kdestroy Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
kdump Add "pecoff" emulation. 2000-06-13 00:59:22 +00:00
kf Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
kinit Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
klist Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
kpasswd Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
ktrace Two tweaks: 2000-05-27 00:45:37 +00:00
ktruss Convert to use setemul() stuff from kdump. This also fixes mapping to 2000-04-10 09:42:37 +00:00
lam
last Extend the -T option show that it shows the year as well as seconds. 2000-06-25 13:44:42 +00:00
lastcomm More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
ldd Use LDSTATIC, not LDFLAGS. 2000-02-20 07:14:13 +00:00
leave char -> unsigned char 1998-12-19 17:44:22 +00:00
less Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
lex add an unused attribute to yyunput to avoid warnings (errors) when 2000-06-17 11:56:21 +00:00
locate Do not count the end of a line in the bigram table. Newlines are stripped 2000-05-06 10:26:45 +00:00
lock Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
logger More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
login Add MK... variables to enable/disable various aspects of building 2000-06-23 06:01:10 +00:00
logname More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
look Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
lorder Convert the evil sed crap to 3 separate invocations of sed. 1998-11-09 04:52:44 +00:00
m4 Add -P to the usage message (forgot this, long ago). 2000-05-08 00:52:18 +00:00
machine s/uname -p/uname -m/ of course. Noted by Simon Burge. 1999-07-30 11:44:57 +00:00
mail sync with sendmail path change (/etc/aliases -> /etc/mail/aliases) 2000-05-05 18:21:06 +00:00
make Use a lower threshold for rebuilding hash tables. 2000-06-11 07:54:32 +00:00
man Allow "-s" to specify a section name, ala the SysV man command. 2000-06-12 14:53:48 +00:00
menuc Make this work again now that curses no longer does an implicit tgetent() 2000-04-22 21:34:25 +00:00
mesg
midiplay Add a -p flag to set the MIDI program. From lindroos@nls.fi. 2000-02-18 23:03:05 +00:00
mixerctl Add missing .El line. 1999-03-10 05:14:51 +00:00
mk_cmds Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
mkdep Rather than hardcoding _PATH_TMP (and relying on const string concatenation), 1999-07-21 15:20:55 +00:00
mkfifo More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
mkstr remove comment about pi (we don't ship it) and ex (nvi doesn't use mkstr) 1998-06-08 12:05:34 +00:00
mktemp RCS ID police (sigh) 1999-09-21 06:24:46 +00:00
modstat sweep of my licenses (userland files w/o only my copyright) for 2000-06-14 17:24:02 +00:00
msgc Add FILES and EVIRONMENT sections detailing what files these programs use, 1999-12-31 04:03:18 +00:00
msgs sync with sendmail path change (/etc/aliases -> /etc/mail/aliases) 2000-05-05 18:21:06 +00:00
netgroup Add missing .El line. 1999-03-10 05:14:51 +00:00
netstat print # of packets filtered by icmp6 rate limitation 2000-06-16 02:08:40 +00:00
newsyslog Use: 1999-12-29 06:54:00 +00:00
nfsstat Use the NFS_NFSSTATS sysctl that has been around since Feb '96. 2000-06-13 12:39:43 +00:00
nice Classical Unix guaranteed that nice +19 would not compete with base priority 1999-08-20 20:03:21 +00:00
nl Pasto in previous; noticed by Perry. 1999-09-06 21:50:39 +00:00
nohup Change = to == in exit return code expression. From Chris Engebretson. 1997-12-23 18:21:34 +00:00
openssl Add MK... variables to enable/disable various aspects of building 2000-06-23 06:01:10 +00:00
pagesize - Add "/sbin" to path so that "sysctl" is found again. Problem noted 2000-03-22 17:35:56 +00:00
passwd Add a MKKERBEROS check to enable/disable kerberos support during the build. 2000-06-24 06:52:10 +00:00
paste include unistd.h 1998-10-13 17:02:16 +00:00
patch Fix PR2429: catch doubly-applied patches which create new files. 1999-02-09 05:15:45 +00:00
pr Typos (from OpenBSD) 1999-11-19 22:29:24 +00:00
printenv Fix inconsistancy at start of copyright message. 1999-09-10 04:05:28 +00:00
printf brace pollution, and char -> unsigned char 1998-12-19 20:21:44 +00:00
qsubst fix a bug with terminal modes being badly set on exit 1999-09-04 18:02:58 +00:00
quota Explicitely cast to (u_quad_t) calls to btodb() and dbtob() to avoid 1999-12-16 17:29:52 +00:00
rdist apply patches in PR bin/9249: rdist doesn't remove temporary file, from 2000-06-12 04:43:11 +00:00
renice Note that nice +20 only guarantees exclusion w.r.t. the base priority, 1999-08-20 18:09:48 +00:00
rev
rlogin Merge a bunch of things from crypto-us and crypto-intl into basesrc, 2000-06-20 06:00:24 +00:00
rpcgen fix the function prototypes in the generated header file (the second 2000-06-07 13:53:07 +00:00
rpcinfo Fixup field with a bit. 2000-06-03 15:34:44 +00:00
rs RCS Id Police. 1998-01-09 08:03:16 +00:00
rsh IPv6 support. (I thought I've committed these but was not yet) 2000-01-31 14:19:34 +00:00
rup Complete ANSIfication. 2000-06-03 19:32:34 +00:00
ruptime More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
rusers Adapt to TI-RPC, enable IPv6. 2000-06-03 19:30:03 +00:00
rwall fix up NetBSD RCS Ids to match the standard, and the leading comment as 2000-06-14 06:48:47 +00:00
rwho Use full hostnames when sorting rwho database entries. Fixes PR bin/8401 1999-09-20 20:35:43 +00:00
script More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
sed Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
shar /appears/appeared/ 2000-02-08 23:48:54 +00:00
shlock portable printf args. 1998-12-19 22:14:30 +00:00
showmount More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
shuffle Add missing newline in usage string. 1999-02-03 16:22:16 +00:00
skey Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
skeyinfo More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
skeyinit More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
soelim Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
split revert previous 1999-11-02 10:55:47 +00:00
string2key Fixup Heimdal/KTH Kerberos usr.bin bits. 2000-06-16 23:57:18 +00:00
su Add MK... variables to enable/disable various aspects of building 2000-06-23 06:01:10 +00:00
systat Use my proper name. 2000-06-13 13:36:42 +00:00
tail avoid repeated error messages by making bytes(), lines() and rlines() return 1999-07-21 06:38:49 +00:00
talk Teach the socket code a few things about this decade (should fix the 2000-03-02 17:37:46 +00:00
tcopy More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
tee
telnet Add MK... variables to enable/disable various aspects of building 2000-06-23 06:01:10 +00:00
tftp Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
time * Require an `utility' argument to be specified and fail otherwise. 1999-06-05 19:19:19 +00:00
tip Fix missing space 2000-05-29 19:49:48 +00:00
tn3270 Sprinkle in a little const. 2000-06-11 03:38:29 +00:00
top Use u_int64_t to avoid an integer overflow when converting total number 2000-06-09 07:09:28 +00:00
touch Nit: In the compatibility case, set the seconds to 0. 1999-11-05 04:54:10 +00:00
tput Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
tr Correct the ctype function used for [:print:] character class; from Soren S. 1999-03-16 14:57:48 +00:00
true
tset If there is no "set column" capability, don't try to use the "cursor 2000-06-07 13:21:43 +00:00
tsort Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tty
ul Use new termcap interface. 2000-05-28 10:27:13 +00:00
uname Add a -p option to uname(1), which returns the machine's processor 1998-11-09 13:24:05 +00:00
unexpand convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
unifdef More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
uniq char -> unsigned char 1998-12-19 23:22:51 +00:00
units sweep of my licenses (userland files w/o only my copyright) for 2000-06-14 17:24:02 +00:00
unvis More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
usbhidctl Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
users More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
uudecode revert usage string to be like it was, but with '[-p] ' added. the new 1999-03-23 05:59:09 +00:00
uuencode More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
vacation In name section, use .Dq macro rather than writing double quote directly. 1999-08-17 03:36:35 +00:00
vgrind typo (: -> ;) and sync with 1998 change in ../regexp.c 2000-06-23 15:40:13 +00:00
vi Correct behavior of options octal, print and noprint 2000-06-19 20:09:37 +00:00
vis More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
vmstat Implement the more flexiable `evcnt' interface as discussed (briefly) on 2000-06-04 19:14:14 +00:00
w Use p_login from struct proc instead of ut_name from struct utmp so 2000-06-25 13:41:12 +00:00
wall Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
wc Normalize usage string. 1999-03-05 22:52:09 +00:00
what Initialize locale on startup. 1999-12-22 14:39:18 +00:00
whatis More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
whereis Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
which More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
who How did this bug survive for so long? 'who am i' was busted because 1999-07-17 16:41:44 +00:00
whois The never-sufficiently-damned Network Solutions has whacked around 1999-12-03 08:22:09 +00:00
window update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
write Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
xargs Default value for -s option is ARG_MAX - 4096, not - 2048. 2000-01-20 04:22:05 +00:00
xinstall Make the STRIP env var a little more obvious in the documentation, and 2000-03-22 18:34:43 +00:00
xlint change lint to ${LINT} ${LINTFLAGS} so that includes in ${DESTDIR} are used. 2000-06-14 20:22:19 +00:00
xstr Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
yacc Use 2000-06-07 23:54:17 +00:00
yes More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:16:34 +00:00
ypcat Don't pass so many args to .Nd macro. It just overflows. 1999-11-19 01:12:39 +00:00
ypmatch Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
ypwhich fix up NetBSD RCS Ids to match the standard, and the leading comment as 2000-06-14 06:48:47 +00:00
Makefile Add MK... variables to enable/disable various aspects of building 2000-06-23 06:01:10 +00:00
Makefile.inc