HardenedBSD/sbin
Rich Murphey 76a4cb22c6 Slattach ported from 1.1.5 plus Bruce Evans suggested fix (close
FDs and fork before redialing) to prevent dialer from hanging with
newer sio.c.

Also moved history from the source to the cvs log (here) per
David G's suggestion.

This compiles but needs testing now...  Rich

/*
 * Hacks to support "-a|c|n" flags on the command line which enable VJ
 * header compresion and disable ICMP.
 * If this is good all rights go to B & L Jolitz, otherwise send your
 * comments to Reagan (/dev/null).
 *
 * nerd@percival.rain.com (Michael Galassi) 92.09.03
 *
 * Hacked to change from sgtty to POSIX termio style serial line control
 * and added flag to enable cts/rts style flow control.
 *
 * blymn@awadi.com.au (Brett Lymn) 93.04.04
 *
 * Put slattach in it's own process group so it can't be killed
 * accidentally. Close the connection on SIGHUP and SIGINT. Write a
 * syslog entry upon opening and closing the connection.  Rich Murphey
 * and Brad Huntting.
 *
 * Add '-r command' option: runs 'command' upon recieving SIGHUP
 * resulting from loss of carrier.  Log any errors after forking.
 * Rich 8/13/93
 *
 * This version of slattach includes many changes by David Greenman, Brian
 * Smith, Chris Bradley, and me (Michael Galassi).  None of them are
 * represented as functional anywhere outside of RAINet though they do work
 * for us.  Documentation is limited to the usage message for now.  If you
 * make improovments please pass them back.
 *
 * Added '-u UCMD' which runs 'UCMD <old> <new>' whenever the slip
 * unit number changes where <old> and <new> are the old and new unit
 * numbers, respectively.  Also added the '-z' option which forces
 * invocation of the redial command (-r CMD) upon startup regardless
 * of whether the com driver claims (sometimes mistakenly) that
 * carrier is present. Also added '-e ECMD' which runs ECMD before
 * exiting.
 *
 * marc@escargot.rain.com (Marc Frajola) 93/09/10
 *
 * Minor fixes to allow passive SLIP links to work (connections with
 * modem control that do not have an associated dial command). Added
 * code to re-check for carrier after dial command has been executed.
 * Added SIGTERM handler to properly handle normal kill signals. Fixed
 * bug in logic that caused message about no -u command to be logged
 * even when -u was specified and the sl number changes. Tried to get
 * rid of redundant syslog()'s to minimize console log output. Improved
 * logging of improper command line options or number of command
 * arguments. Removed spurious newline characters from syslog() calls.
 *
 * gjung@gjbsd.franken.de
 *
 * sighup_handler changed to set CLOCAL before running redial_cmd.
 * added flag exiting, so exit_handler is not run twice.  Fork
 * before reopening tty.
 */
1994-08-23 08:07:17 +00:00
..
adjkerntz
badsect Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
bsdlabel Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
clri Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
comcontrol From Bde: 1994-05-30 03:50:01 +00:00
disklabel Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
dmesg Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
dump Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
dumpfs Added a "clean" field to the output - to show the state of the clean flag. 1994-08-20 16:57:45 +00:00
dumplfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
fastboot Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
fdisk Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
fsck Better support for clean bit: prompt the user to fix it if it's wrong 1994-08-21 08:47:10 +00:00
fsck_ffs Better support for clean bit: prompt the user to fix it if it's wrong 1994-08-21 08:47:10 +00:00
fsck_ifs Better support for clean bit: prompt the user to fix it if it's wrong 1994-08-21 08:47:10 +00:00
ft Update this to the latest version from Steve Gerakines. This is an easy 1994-06-22 04:49:04 +00:00
i386 Update this to the latest version from Steve Gerakines. This is an easy 1994-06-22 04:49:04 +00:00
ifconfig Added support for setting the per-interface MTU. 1994-08-08 10:45:06 +00:00
init Nuked the 2 second DTR wait; this is handled correctly in the sio driver. 1994-08-23 04:42:45 +00:00
ldconfig Changes from Paul Kranenburg which bring us into sync with his sources: 1994-06-15 22:41:19 +00:00
mknod Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
modload Kill explicit OS specification. 1994-08-19 13:39:20 +00:00
modunload Killed explicit OS specification. 1994-08-19 13:40:41 +00:00
mount Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_cd9660 Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_fdesc Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_ifs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_kernfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_lfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_nfs Delete obsolete references to librpc.a. 1994-08-08 00:09:22 +00:00
mount_null Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_nullfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_portal Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_portalfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_procfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_umap Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_umapfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_union Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mount_unionfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
mountd Delete obsolete references to librpc.a. 1994-08-08 00:09:22 +00:00
newfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
newlfs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
nfsd Use nulls to pad proctitle rather than spaces...makes ps(1) output more 1994-08-11 13:40:58 +00:00
nfsiod Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
nologin Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
ping Changed output formatting to accurately represent the precision. 1994-08-05 10:34:19 +00:00
quotacheck Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
reboot Install aliases "fasthalt" and "fastboot" for halt and boot respectively. 1994-08-21 05:48:34 +00:00
restore Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
route Make keywords.h get properly built. 1994-08-14 06:57:34 +00:00
savecore Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
scsiformat BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
shutdown Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
slattach Slattach ported from 1.1.5 plus Bruce Evans suggested fix (close 1994-08-23 08:07:17 +00:00
startslip Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
swapon Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
sysctl Suppress irritating extra newline after kern.boottime. 1994-08-08 15:37:35 +00:00
tunefs Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
umount Delete obsolete references to librpc.a. 1994-08-08 00:09:22 +00:00
Makefile adjkerntz added 1994-08-22 20:21:31 +00:00
Makefile.inc Don't build /sbin shared. 1994-05-28 03:56:49 +00:00