summaryrefslogtreecommitdiffstats
path: root/share/man/man4/pty.4
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-06-28 23:53:39 +0000
committerru <ru@FreeBSD.org>2003-06-28 23:53:39 +0000
commit348e423dd913fabaea56f15eecca3d155723ee08 (patch)
tree119cebb3a669617b213ec04fe871163ae082cfb1 /share/man/man4/pty.4
parente4f0eb6b17525e227a1bc1d660ab253005530425 (diff)
downloadFreeBSD-src-348e423dd913fabaea56f15eecca3d155723ee08.zip
FreeBSD-src-348e423dd913fabaea56f15eecca3d155723ee08.tar.gz
Hiten's patchset for section four manpages, slightly edited by me.
Diffstat (limited to 'share/man/man4/pty.4')
-rw-r--r--share/man/man4/pty.418
1 files changed, 10 insertions, 8 deletions
diff --git a/share/man/man4/pty.4 b/share/man/man4/pty.4
index 7acc436..925bd73 100644
--- a/share/man/man4/pty.4
+++ b/share/man/man4/pty.4
@@ -49,8 +49,8 @@ A pseudo terminal is a pair of character devices, a
.Em master
device and a
.Em slave
-device. The slave device provides to a process
-an interface identical
+device.
+The slave device provides to a process an interface identical
to that described in
.Xr tty 4 .
However, whereas all other devices which provide the
@@ -82,10 +82,11 @@ Takes no parameter.
.It Dv TIOCPKT
Enable/disable
.Em packet
-mode. Packet mode is enabled by specifying (by reference)
+mode.
+Packet mode is enabled by specifying (by reference)
a nonzero parameter and disabled by specifying (by reference)
-a zero parameter. When applied to the master side of a pseudo
-terminal, each subsequent
+a zero parameter.
+When applied to the master side of a pseudo terminal, each subsequent
.Xr read 2
from the terminal will return data written on the slave part of
the pseudo terminal preceded by a zero byte (symbolically
@@ -180,9 +181,10 @@ of
.Dv TIOCPKT .
This mode causes input to the pseudo terminal
to be flow controlled and not input edited (regardless of the
-terminal mode). Each write to the control terminal produces
-a record boundary for the process reading the terminal. In
-normal usage, a write of data is like the data typed as a line
+terminal mode).
+Each write to the control terminal produces
+a record boundary for the process reading the terminal.
+In normal usage, a write of data is like the data typed as a line
on the terminal; a write of 0 bytes is like typing an end-of-file
character.
.Dv TIOCREMOTE
OpenPOWER on IntegriCloud