.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,
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.
.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),