aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-07-29 08:42:49 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-07-29 11:17:11 +0200
commit8931e190a92c54c7c884d83068f693c18da674a4 (patch)
treea4cae809b343d4847fea3af7811f806068c80ad6
parent7f9cf518028e511c7b57910f3e67ab3f8d091f75 (diff)
downloadman-pages-8931e190a92c54c7c884d83068f693c18da674a4.tar.gz
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>
-rw-r--r--man7/pty.722
1 files changed, 12 insertions, 10 deletions
diff --git a/man7/pty.7 b/man7/pty.7
index d221c41a71..f321b9395d 100644
--- a/man7/pty.7
+++ b/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),