Commit Graph

33 Commits

Author SHA1 Message Date
mbalmer 45802ab30c attach tty line discipline by name, not by number. remove unused case value. lgtm christos 2013-10-20 20:17:52 +00:00
christos b8425b06fb PR/45759: Khanh-Dang Nguyen Thu Lam: slattach(8) is not compatible with
pseudo-terminals. Fixed by ignoring the error for the DTR ioctl.
2011-12-30 03:19:36 +00:00
joerg bab034bac4 static + __dead 2011-08-27 18:55:21 +00:00
lukem 6543a91fea Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
2008-07-20 01:20:21 +00:00
xtraeme 921249f1c3 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 12:38:58 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc 276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
kleink b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
soren dc53bf3cba Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
cgd 8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
christos f156d24d3f fix nested extern 2001-02-04 21:11:47 +00:00
proff 50aa8b2b93 use daemon(3) instead of vanilla fork()
use err(3) instead of perror..exit
add new flag: -n don't detach from tty
1999-09-03 13:31:29 +00:00
fair 782eb42847 add the ability to run SLIP with CLOCAL set, per PR#3586 1998-03-23 04:41:16 +00:00
thorpej 8bbdb3ebcb Cosmetic changes. 1997-11-17 23:15:12 +00:00
scottr 94cf433266 Add support for DTR/CTS flow control, from Bill Studenmund. 1997-10-20 08:07:47 +00:00
lukem 048874c5e2 * cleanup for WARNS=1
* fix .Nm usage
* deprecate register
1997-09-15 11:20:04 +00:00
jonathan c2a1985a50 Support attaching a STRIP line via the "-t strip" flag.
It has been suggested that a separate "stattach" command would be better.
1996-05-19 21:57:39 +00:00
mycroft be82a25869 Use POSIX signals. 1995-03-21 18:48:41 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd 1cb390e8b9 -Wall cleanups from Jim Jegers 1994-12-18 00:25:37 +00:00
cgd 96209ecf3f pull in string.h 1994-10-31 04:38:09 +00:00
mycroft 3c78ef3311 Merge with 4.4-Lite version. 1994-09-23 01:38:45 +00:00
cgd 4e6bea1bb9 oops; last patch to slattach should have been to sliplogin! 1994-02-10 18:03:23 +00:00
cgd fc1c6fe68b update for slip.h 1994-02-10 05:39:15 +00:00
cgd 9fa00062f5 deal with change in setting of slip params 1993-12-10 13:19:12 +00:00
mycroft d1a8a0891c From: Ian McDonnell <imcd@apriori.demon.co.uk>
* Initialize termios struct before using it, from the current tty settings.
* Set speed earlier.  (This, combined with the above, was causing DTR to be
dropped briefly on startup.)
* Add `-m' option to avoid using HUPCL.
Also:
* Remove findspeed() altogether, as we don't need it and it's ugly.
* Use tcgetattr() and tcsetattr() rather than TIOCGETA and TIOCSETA.  The
former is POSIX; the latter is not.
1993-12-02 05:44:26 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak 6a4e260542 Support 38400, 57600, and 115200 tty speeds. 1993-06-29 19:16:38 +00:00
cgd 24c0b3449f fixed:
SLATTACH hangs up on connect to modem port
reported by: bugs@rafal.slip.uiuc.edu
1993-04-28 23:13:37 +00:00
cgd e43b6d9d27 patched w/changes from blymn@mulga.awadi.com.AU (Brett Lymn) to
fix things like flow control support, SLIP option support etc.
1993-04-08 04:15:41 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00