Commit Graph

52 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
tsutsui
835463e99a Misc fixes for sl(4) and slattach(8) man pages:
- note that ifconfig(8) create subcommand is required before slattach(8)
- network addresses aren't defined by slattach(8) but ifconfig(8)
- Add a BUGS section in slattach(8) to note that currently there is no way to
  specify/see an interface name to be attached
- move description about link[0-2] flags from slattach(8) to sl(4)
  (rather than adding a new description...)
- move description about SLIP limitations to a new BUGS section in sl(4)
- remove inappropriate MLINKS of slip.8 to slattach.8
- create MLINKS of slip.4 to sl.4 instead
- add some more xrefs

Ok'ed by christos, and closes PR kern/33672 and PR bin/33923.
2006-07-08 17:22:14 +00:00
christos
2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +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
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
kleink
b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
wiz
09cbac4e7f New sentence, new line. From Robert Elz. 2002-10-03 15:41:44 +00:00
soren
dc53bf3cba Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
wiz
d318231f3d Sort options. Improve english in DIAGNOSTICS.
[Pointed at this file by augustss.]
2001-12-05 15:03:27 +00:00
wiz
73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +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
kleink
03126e1c99 Use full month names with .Dd, as per mdoc.samples(7). 1999-09-12 18:47:10 +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
proff
143f897d3d -n don't detach from tty 1999-09-03 13:29:44 +00:00
tron
9dbddb5d81 Add "-l" to "SYNOPSIS" section and use same order as "slattach" when
printing command line usage.
1999-03-19 21:18:32 +00:00
fair
782eb42847 add the ability to run SLIP with CLOCAL set, per PR#3586 1998-03-23 04:41:16 +00:00
msaitoh
785fd87e38 Fix SYNOPSIS section. 1997-12-04 22:33:52 +00:00
thorpej
9aa3174f1c Document the STRIP-related options. 1997-11-17 23:32:18 +00:00
thorpej
8bbdb3ebcb Cosmetic changes. 1997-11-17 23:15:12 +00:00
mrg
9f84449ae5 add missing .Nm sections. 1997-11-11 14:39:59 +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
explorer
22018a843b Reference the new sl(4) page 1996-08-10 21:26:42 +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
06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +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
mycroft
8a5304b97c Don't capitalize program name in SYNOPSIS. 1994-08-13 09:03:07 +00:00
mycroft
58929f54c5 Document what link[0-2] do. 1994-08-13 09:00:57 +00:00
cgd
550e226388 fix type, from Mark Weaver 1994-04-01 03:45:41 +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
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
5b11c06adf Add RCS indentifiers. 1993-07-31 15:27:53 +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