Commit Graph

27 Commits

Author SHA1 Message Date
bde
13e9cefca0 Fixed a couple of format strings to match the change of pid_t from long
to int32_t.  I only fixed the ones that I noticed the warnings for.
Perhaps most of the format strings are correct now because they were
wrong before.  Except of course if int32_t isn't compatible with `int'.
1996-04-13 15:47:43 +00:00
ache
d72207bd88 Prepare to eliminate multiply uucplock.c copies 1996-03-04 10:35:45 +00:00
mpp
0d925cfda3 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
ache
acc1a409c6 Log user name with each info and total connection time elapsed
(for accounting purposes). Log few additional events like dialing
number and connection established. Set speed POSIXly.
1995-09-27 17:15:37 +00:00
ache
c78760f0a7 Rename PATH_LOCK to PATH_UUCPLOCK 1995-09-23 15:17:32 +00:00
ache
02773fa029 Use new _PATH_LOCK for lock names 1995-09-20 13:10:50 +00:00
ache
1954e30948 Make uucp-lock optional: -L option 1995-09-20 04:56:09 +00:00
ache
32649c9af4 Fix uucp locking
Remove unnecesary TIOCSETD
Move SLIO* before startup script call
1995-09-19 03:37:07 +00:00
ache
a23d159531 New option: -S #: set SLIP unit number 1995-09-18 14:01:11 +00:00
ache
b6cff6618d Add new options:
-K: set keepalive SLIP timeout
-O: set outfill SLIP timeout
Handle SIGURG from keepalive like SIGHUP now, i.e. reconnect.
Back out background scription change, cause some synchro problems.
1995-09-17 21:47:24 +00:00
ache
acf78c78b9 Use daemon() instead of fork/setsid/close.
Rearrange things to do fork as later as possible.
1995-09-16 05:18:20 +00:00
ache
c8876de397 Oops. Fix my error with -W option 1995-09-15 22:18:45 +00:00
ache
fa6033fe95 Close line before fork, or becomes close twice.
Debug output cleanup.
1995-09-15 20:34:55 +00:00
ache
10da1882af Tune it to REALLY sense carrier drop.
Now works with dialin devices too.
Add new option in slattach style -l: dont use modem control.
Add new option -W: specify max number of dial tries for one phone.
Remove -p option, this ugly hack not needed.
Fix script timeout expires.
Some code cleanups.
1995-09-15 20:06:50 +00:00
ache
ec511f8292 Restore TTYDISC on exit. Move setting of control terminal
after TTYDISC setting
1995-09-15 17:30:03 +00:00
ache
75bbddfdb8 Wait until login completed before starting SLIP (5 secs) 1995-09-15 17:08:42 +00:00
ache
71c209a0a0 Pass sequence number to called scripts via LINE env. variable.
It allows specific per phone number tunings
1995-09-15 16:41:10 +00:00
ache
fc0d2fcf30 Add reference to /usr/share/examples/startslip 1995-09-14 23:57:58 +00:00
ache
7c71a46961 Add example scripts 1995-09-14 22:37:50 +00:00
ache
4e31b924ed All changes still related to original version:
Don't close line twice.
Change typo == to = in assignment.
Don't restart, if ioctl fails.
Implement uucp-style locking to help dialout pgms.
1995-09-14 22:01:06 +00:00
ache
163e4e12ae Now understand "host!login:" style prompts additionly.
Add -t to specify login script timeout.
Add -w to specify retry wait time.
Describe -p option.
Now understand several -s sections (for several host phone numbers).
Remove -F sw (software flow control), it is impossible with slip.
Change -F hw (hardware flow control) option to -h as in slattach,
we don't need option with argument for only one case.
Call downscript on SIGTERM.
Improve debug diagnostic.
Allow startslip work with several slip lines without killing each other.
Unlink pid file on exit.
Skip \r and \0 in login script parsing instead making them \n.
Use absolute path to default script (/sbin/ifconfig).
Call up/down script in background to prevent hang on them.
1995-09-14 19:03:20 +00:00
ache
6fb1f6cbac Remove IMAXBEL clearing, our cfmakeraw() already fixed for it
Reviewed by:
Submitted by:
Obtained from:
1995-08-04 02:33:13 +00:00
rgrimes
f3a2b348da Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
jkh
813d1d8c36 Joe Greco <jgreco@brasil.moneng.mei.com>'s enhancements to startslip.
Submitted by:	jgreco
1994-12-04 12:26:01 +00:00
wollman
57ea13e98c Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
rgrimes
d038e02fd6 BSD 4.4 Lite sbin Sources
Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00