mirror of https://github.com/mkerrisk/man-pages
pty.7: Relocate a paragraph to NOTES
The paragraph noting applications that use pseudoterminals is better placed in NOTES than in the DESCRTIPTION. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7f9cf51802
commit
8931e190a9
22
man7/pty.7
22
man7/pty.7
|
@ -33,6 +33,7 @@ One end of the channel is called the
|
|||
.IR master ;
|
||||
the other end is called the
|
||||
.IR slave .
|
||||
.PP
|
||||
The slave end of the pseudoterminal provides an interface
|
||||
that behaves exactly like a classical terminal.
|
||||
A process that expects to be connected to a terminal,
|
||||
|
@ -48,16 +49,6 @@ that is connected to the slave.
|
|||
Conversely, anything that is written to the slave end of the
|
||||
pseudoterminal can be read by the process that is connected to
|
||||
the master end.
|
||||
Pseudoterminals are used by applications such as network login services
|
||||
.RB ( ssh "(1), " rlogin "(1), " telnet (1)),
|
||||
terminal emulators such as
|
||||
.BR xterm (1),
|
||||
.BR script (1),
|
||||
.BR screen (1),
|
||||
.BR tmux (1),
|
||||
.BR unbuffer (1),
|
||||
and
|
||||
.BR expect (1).
|
||||
.PP
|
||||
Data flow between master and slave is handled asynchronously,
|
||||
much like data flow with a physical terminal.
|
||||
|
@ -145,6 +136,17 @@ BSD master devices
|
|||
.I /dev/tty[p\-za\-e][0\-9a\-f]
|
||||
BSD slave devices
|
||||
.SH NOTES
|
||||
Pseudoterminals are used by applications such as network login services
|
||||
.RB ( ssh "(1), " rlogin "(1), " telnet (1)),
|
||||
terminal emulators such as
|
||||
.BR xterm (1),
|
||||
.BR script (1),
|
||||
.BR screen (1),
|
||||
.BR tmux (1),
|
||||
.BR unbuffer (1),
|
||||
and
|
||||
.BR expect (1).
|
||||
.PP
|
||||
A description of the
|
||||
.B TIOCPKT
|
||||
.BR ioctl (2),
|
||||
|
|
Loading…
Reference in New Issue