Deleted Added
full compact
tty.4 (1639) tty.4 (5578)
1.\" Copyright (c) 1991, 1992, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 147 unchanged lines hidden (view full) ---

156 ioctl(0, TIOCSETD, &ldisc);
157.Ed
158.Ss Terminal File Request Descriptions
159.Bl -tag -width TIOCGWINSZ
160.It Dv TIOCSETD Fa int *ldisc
161Change to the new line discipline pointed to by
162.Fa ldisc .
163The available line disciplines are listed in
1.\" Copyright (c) 1991, 1992, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 147 unchanged lines hidden (view full) ---

156 ioctl(0, TIOCSETD, &ldisc);
157.Ed
158.Ss Terminal File Request Descriptions
159.Bl -tag -width TIOCGWINSZ
160.It Dv TIOCSETD Fa int *ldisc
161Change to the new line discipline pointed to by
162.Fa ldisc .
163The available line disciplines are listed in
164.Pa Aq sys/termios.h
164.Pa Aq sys/ttycom.h
165and currently are:
166.Pp
167.Bl -tag -width TIOCGWINSZ -compact
168.It TTYDISC
169Termios interactive line discipline.
170.It TABLDISC
171Tablet line discipline.
172.It SLIPDISC
173Serial IP line discipline.
165and currently are:
166.Pp
167.Bl -tag -width TIOCGWINSZ -compact
168.It TTYDISC
169Termios interactive line discipline.
170.It TABLDISC
171Tablet line discipline.
172.It SLIPDISC
173Serial IP line discipline.
174.It PPPDISC
175PPP line discipline.
174.El
175.Pp
176.It Dv TIOCGETD Fa int *ldisc
177Return the current line discipline in the integer pointed to by
178.Fa ldisc .
179.It Dv TIOCSBRK Fa void
180Set the terminal hardware into BREAK condition.
181.It Dv TIOCCBRK Fa void

--- 213 unchanged lines hidden ---
176.El
177.Pp
178.It Dv TIOCGETD Fa int *ldisc
179Return the current line discipline in the integer pointed to by
180.Fa ldisc .
181.It Dv TIOCSBRK Fa void
182Set the terminal hardware into BREAK condition.
183.It Dv TIOCCBRK Fa void

--- 213 unchanged lines hidden ---