Subject: misc/1855: ppp line discipline not documented in tty(4)
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Klein <kjk@sliphost1112.uni-trier.de>
List: netbsd-bugs
Date: 12/24/1995 17:37:43
>Number: 1855
>Category: misc
>Synopsis: ppp line discipline is not mentioned in tty(4)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 24 19:35:01 1995
>Last-Modified:
>Originator: Klaus Klein
>Organization:
Computing Center, University of Trier, Germany
>Release: 951223
>Environment:
System: NetBSD sliphost1112.uni-trier.de 1.1A NetBSD 1.1A (SLIPHOST1112) #0: Sat Dec 23 20:02:53 MET 1995 kjk@sliphost1112.uni-trier.de:/home/kjk/sys/arch/amiga/compile/SLIPHOST1112 amiga
>Description:
In tty(4), PPP line discipline (PPPDISC) is not documented. Also, the *DISC
#defines are not in <sys/termios.h>, but in <sys/ttycom.h>.
>How-To-Repeat:
man 4 tty. Read its output.
>Fix:
Apply this:
*** src/share/man/man4/tty.4.orig Wed Nov 30 16:22:00 1994
--- src/share/man/man4/tty.4 Sun Dec 24 16:48:48 1995
***************
*** 163,169 ****
Change to the new line discipline pointed to by
.Fa ldisc .
The available line disciplines are listed in
! .Pa Aq sys/termios.h
and currently are:
.Pp
.Bl -tag -width TIOCGWINSZ -compact
--- 163,169 ----
Change to the new line discipline pointed to by
.Fa ldisc .
The available line disciplines are listed in
! .Pa Aq sys/ttycom.h
and currently are:
.Pp
.Bl -tag -width TIOCGWINSZ -compact
***************
*** 173,178 ****
--- 173,180 ----
Tablet line discipline.
.It SLIPDISC
Serial IP line discipline.
+ .It PPPDISC
+ Point to Point Protocol line discipline.
.El
.Pp
.It Dv TIOCGETD Fa int *ldisc
>Audit-Trail:
>Unformatted: