summaryrefslogtreecommitdiffstats
path: root/man4/pts.4
diff options
context:
space:
mode:
Diffstat (limited to 'man4/pts.4')
-rw-r--r--man4/pts.424
1 files changed, 12 insertions, 12 deletions
diff --git a/man4/pts.4 b/man4/pts.4
index 3afff788e..2edf7365d 100644
--- a/man4/pts.4
+++ b/man4/pts.4
@@ -28,13 +28,13 @@ Each file descriptor obtained by opening
is an independent pseudoterminal master with its own associated slave,
whose path can
be found by passing the file descriptor to
-.BR ptsname (3).
+.MR ptsname 3 .
.P
Before opening the pseudoterminal slave, you must pass the master's file
descriptor to
-.BR grantpt (3)
+.MR grantpt 3
and
-.BR unlockpt (3).
+.MR unlockpt 3 .
.P
Once both the pseudoterminal master and slave are open, the slave provides
processes with an interface that is identical to that of a real terminal.
@@ -44,20 +44,20 @@ Data written to the master is presented to the slave as input.
.P
In practice, pseudoterminals are used for implementing terminal emulators
such as
-.BR xterm (1),
+.MR xterm 1 ,
in which data read from the pseudoterminal master is interpreted by the
application in the same way
a real terminal would interpret the data, and for implementing remote-login
programs such as
-.BR sshd (8),
+.MR sshd 8 ,
in which data read from the pseudoterminal master is sent across the network
to a client program that is connected to a terminal or terminal emulator.
.P
Pseudoterminals can also be used to send input to programs that normally
refuse to read input from pipes (such as
-.BR su (1),
+.MR su 1 ,
and
-.BR passwd (1)).
+.MR passwd 1 ).
.SH FILES
.IR /dev/ptmx ,
.I /dev/pts/*
@@ -68,8 +68,8 @@ is done using the
filesystem, which should be mounted on
.IR /dev/pts .
.SH SEE ALSO
-.BR getpt (3),
-.BR grantpt (3),
-.BR ptsname (3),
-.BR unlockpt (3),
-.BR pty (7)
+.MR getpt 3 ,
+.MR grantpt 3 ,
+.MR ptsname 3 ,
+.MR unlockpt 3 ,
+.MR pty 7