freebsd-skq/usr.sbin
brian 69deecd8ae Allow "set device" to close the open modem if we're in
interactive mode.
Use `netfd' in fcntl() and tc[gs]etattr() calls rather than
the hard coded descriptor 0.
Use _FILENO constants from unistd.h

This un-breaks things after my recent `close(0)' in interactive
mode.

Close STDIN_FILENO, and open _PATH_TTY O_RDONLY as `netfd'.  This
has the effect of allowing `show route' to output more than about
a page of data (on FreeBSD, not OpenBSD....).  I have no idea why,
except that it was a direct consequence of the tcsetattr() in
TtyCommandMode().  My previous fix (closing descriptor 0) `fixed'
this because all calls to tcsetattr() failed :-(
1997-12-30 23:22:31 +00:00
..
ac Style in rcsid, sort #include. 1997-09-01 06:11:40 +00:00
accton Use err(3). 1997-09-01 06:12:37 +00:00
adduser Small bugfix: store $uid_start instead hard coded value 1000 1997-12-24 11:44:14 +00:00
amd Fixed missing DPADD by removing empty LDADD. 1997-12-17 11:13:26 +00:00
apm Output the estimated battery lifetime as "hh:mm:ss" along with 1997-11-12 04:16:23 +00:00
apmconf Use err(3). Silent -Wall. 1997-09-02 06:37:48 +00:00
arp Submitted by: Archie@Whistle.com (Archie Cobbs) 1997-11-13 01:16:57 +00:00
bad144 Fixed printing of and comparison with d_typename[]. It is not always 1997-12-12 18:01:57 +00:00
bootparamd Fix a number of buffer overflow conditions. 1997-10-19 10:42:39 +00:00
cdcontrol Use Pa for files and Ar for arguments. 1997-12-08 07:43:13 +00:00
chown Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does 1997-09-21 09:13:57 +00:00
chroot Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
ckdist Put includes in alphabetical order. various cosmetics. 1997-09-15 06:33:52 +00:00
config Fix incorrect format string detected by "-Wformat". 1997-11-18 03:41:51 +00:00
cron Don't use LDDESTDIR. Just put the -L arg in LDADD. 1997-12-17 15:11:43 +00:00
crunch Add a new special called `keep' to the list of special options. It 1997-10-05 13:35:05 +00:00
ctm Delete ctm_scan program. There is no manpage for ctm_scan 1997-10-12 19:58:53 +00:00
dev_mkdb Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
diskpart Fix: too many arguments passed to fprintf(). 1997-11-18 05:56:03 +00:00
edquota Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
fdcontrol Perror() -> warn(). 1997-09-17 06:30:22 +00:00
fdformat Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
fdwrite Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
inetd Add possibility to specify maximum number of connections per minute 1997-10-29 21:49:04 +00:00
iostat Use err(3). 1997-09-19 06:27:30 +00:00
IPXrouted Major IPXrouted rework. 1997-07-06 07:38:36 +00:00
kbdcontrol Use err(3). Typo fixes in man page. 1997-09-19 06:28:57 +00:00
kbdmap Use An macro for author name. 1997-09-19 06:29:52 +00:00
kernbb Typo fix. 1997-10-12 11:51:25 +00:00
keyadmin Use err(3). Make it -Wall friendly. Typo fix in man page. 1997-09-23 06:32:33 +00:00
keyserv Fixed DPADD. 1997-12-16 17:43:33 +00:00
kgmon Use err(3). Add usage() and prototypes. 1997-09-23 06:38:54 +00:00
kvm_mkdb Statisize usage(). Add return(0) for -wall. 1997-09-24 06:44:12 +00:00
lpr Fix top-of-form bogon. 1997-12-27 20:49:39 +00:00
lptcontrol Use err(3). 1997-09-25 06:36:29 +00:00
manctl Stylistic changes in man page. 1997-09-25 06:38:17 +00:00
mixer According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commits 1997-10-01 06:34:09 +00:00
mkdosfs Handle the ``maintenance'' case better. 1997-12-19 23:56:18 +00:00
mount_portalfs compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00
mountd Oops..The default behaviour should be *not* to log all succeeded 1997-12-13 19:50:14 +00:00
moused - Added support for a new MouseMan model (4 buttons, no wheel). 1997-12-23 08:04:38 +00:00
mptable Use err(3). Add missing parameter for printf() (reviewed by steve). 1997-09-25 06:47:33 +00:00
mrouted Don't use LDDESTDIR. Just put the -L arg in LDADD. 1997-12-17 15:11:43 +00:00
mtest Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
mtree Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
named Don't override BINOWN and BINGRP by setting them to "bin". Use the 1997-05-17 11:53:03 +00:00
named.reload Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
named.restart Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
natd Added copyright (taken from natd.c). 1997-12-30 00:38:56 +00:00
ncrcontrol Use err(3). 1997-10-02 11:46:53 +00:00
ndc Check named_enable rather than just named_flags. 1997-06-18 01:55:19 +00:00
newsyslog Sleep 10secs after kill -HUP instead of 3secs, some daemons like Apache 1997-11-30 18:58:18 +00:00
nfsd Fix two missing arguments detected by "-Wformat". 1997-11-18 03:14:53 +00:00
nologin An odd merge from 2.2 to -current. Somehow that 2.2 nologin.5 1997-03-03 06:47:27 +00:00
nslookup Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
pccard Use consistent spelling, 1997-12-25 09:36:42 +00:00
pciconf Sync usage string with man page. 1997-10-06 11:38:30 +00:00
pcvt Never create the destination directory at install time. 1997-12-20 00:40:05 +00:00
periodic Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
pkg_install "This is the add^H^H^Hinfo module." 1997-12-26 05:29:29 +00:00
pnpinfo bmake'd pnpinfo 1997-09-19 15:41:57 +00:00
portmap Use err(3). Add usage(). 1997-10-09 07:17:36 +00:00
ppp Allow "set device" to close the open modem if we're in 1997-12-30 23:22:31 +00:00
pppctl Remove bogus timeout code in Receive(). 1997-12-27 13:44:42 +00:00
pppd Fix a segmentation violation that happened if "auth" was in the 1997-12-13 05:27:29 +00:00
pppstats Duh, calculate the compression ration correctly. (fixed point artithmatic 1997-09-10 08:43:17 +00:00
procctl Add a copyright and license statement, at the request of Jordan. 1997-12-20 18:34:49 +00:00
pstat Reviewed by: various. 1997-11-12 05:42:33 +00:00
pw Use consistent spelling, 1997-12-25 09:36:42 +00:00
pwd_mkdb Staticize usage(). Cosmetics. 1997-10-10 06:27:07 +00:00
qcamcontrol Use err(3). Silent -Wall. 1997-10-10 06:31:07 +00:00
quot Use err(3). Silent -Wall. 1997-10-10 06:31:07 +00:00
quotaon Use err(3). Add prototypes. Cosmetic in usage string. 1997-10-13 11:01:33 +00:00
rarpd Mdoc'ify man page. 1997-10-13 11:03:36 +00:00
repquota Use err(3). Add prototypes. 1997-10-13 11:05:07 +00:00
rmt Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
rndcontrol Use err(3). 1997-10-13 11:08:47 +00:00
rpc.lockd Use err(3). Add usage() and #includes. 1997-10-13 11:13:33 +00:00
rpc.statd Use err(3). Add usage() and #includes. 1997-10-13 11:13:33 +00:00
rpc.yppasswdd Remove multiply defined Id string. Hide sccsid string. 1997-10-13 11:18:53 +00:00
rpc.ypupdated Fixed DPADD. 1997-12-16 17:43:33 +00:00
rpc.ypxfrd Use err(3). Remove multiply defined Id string. 1997-10-13 11:22:39 +00:00
rtprio Fix a couple of stray apostrophes. 1997-12-28 20:52:56 +00:00
rwhod Use err(3). Add usage. 1997-10-13 11:27:55 +00:00
sa Add usage(). 1997-10-15 06:41:19 +00:00
sade gateway -> gateway_enable 1997-12-29 20:07:17 +00:00
sendmail update hub.mc with the latest set of anti-spam rules 1997-12-07 16:59:28 +00:00
sgsc Use err(3). Rewrote man page in mdoc format. 1997-10-15 06:42:28 +00:00
sicontrol Use err(3). Add prototypes. 1997-10-15 06:43:54 +00:00
sliplogin Insist that the user has group network. 1997-09-05 23:11:28 +00:00
slstat Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
spkrtest Typo. 1997-10-20 12:43:03 +00:00
spray Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
stallion Use the default LIBOWN, etc. instead of clobbering the defaults to bin, 1997-12-17 13:04:18 +00:00
sysctl Install sysctl in /sbin. It is used in some cases in network_pass1(), 1997-12-18 15:34:08 +00:00
sysinstall gateway -> gateway_enable 1997-12-29 20:07:17 +00:00
syslogd Cosmetic in usage string. 1997-10-20 12:55:49 +00:00
tcpdump Update Makefile to build tcpdump-3.3 . 1997-05-27 02:21:28 +00:00
timed Make all strings representing hostnames to be NUL-terminated within 1997-10-31 12:33:14 +00:00
traceroute Import Lite2's src/usr.sbin, except for timed. All changed files 1997-08-02 19:36:03 +00:00
trpt Use err(3). Add usage() and prototypes. 1997-10-22 06:23:12 +00:00
tzsetup Teach tzsetup to understand blank lines in the iso3166 file. 1997-11-07 00:07:27 +00:00
vidcontrol Use err(3). Stylistic changes in man page. 1997-10-27 07:52:10 +00:00
vipw Statisize usage(). 1997-10-27 07:53:22 +00:00
vnconfig Use err(3). Add prototypes. Document -s and -r flags. 1997-10-27 07:55:31 +00:00
watch Use err(3). 1997-10-27 12:21:10 +00:00
wlconfig Cosmetic in err() strings. 1997-10-27 12:23:08 +00:00
wormcontrol One line usage string: see man page for more info. 1997-10-27 12:25:38 +00:00
xntpd Fix some minor formatting bugs. 1997-12-27 18:54:23 +00:00
xten Add usage() and err(3). Sync man page with usage string. 1997-10-27 12:27:21 +00:00
yp_mkdb Remove `progname'. 1997-10-27 12:29:25 +00:00
ypbind Use err(3). Change =' to ==' in two places, so that server not responding/ 1997-10-27 07:45:47 +00:00
yppoll Use err(3). 1997-10-27 12:30:30 +00:00
yppush Cosmetics in yp_error() and usage(). 1997-11-03 07:53:44 +00:00
ypserv Some touchups courtesy of Philippe Charnier. 1997-11-16 03:49:12 +00:00
ypset Use err(3). 1997-10-29 07:26:09 +00:00
zic Use err(3). Rewrote man page using mdoc format. 1997-10-29 07:27:56 +00:00
Makefile add procctl 1997-12-07 02:27:48 +00:00
Makefile.inc