summaryrefslogtreecommitdiffstats
path: root/share/man/man4/termios.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/termios.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/termios.4')
-rw-r--r--share/man/man4/termios.4335
1 files changed, 212 insertions, 123 deletions
diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4
index aca1194..440b66a 100644
--- a/share/man/man4/termios.4
+++ b/share/man/man4/termios.4
@@ -45,7 +45,8 @@ This describes a general terminal line discipline that is
supported on tty asynchronous communication ports.
.Ss Opening a Terminal Device File
When a terminal file is opened, it normally causes the process to wait
-until a connection is established. For most hardware, the presence
+until a connection is established.
+For most hardware, the presence
of a connection is indicated by the assertion of the hardware
.Dv CARRIER
line.
@@ -69,7 +70,8 @@ an application's standard input, output, and error files.
.Ss Job Control in a Nutshell
Every process is associated with a particular process group and session.
The grouping is hierarchical: every member of a particular process group is a
-member of the same session. This structuring is used in managing groups
+member of the same session.
+This structuring is used in managing groups
of related processes for purposes of
.\" .Gw "job control" ;
.Em "job control" ;
@@ -77,12 +79,16 @@ that is, the
ability from the keyboard (or from program control) to simultaneously
stop or restart
a complex command (a command composed of one or more related
-processes). The grouping into process groups allows delivering
+processes).
+The grouping into process groups allows delivering
of signals that stop or start the group as a whole, along with
arbitrating which process group has access to the single controlling
-terminal. The grouping at a higher layer into sessions is to restrict
+terminal.
+The grouping at a higher layer into sessions is to restrict
the job control related signals and system calls to within processes
-resulting from a particular instance of a "login". Typically, a session
+resulting from a particular instance of a
+.Dq login .
+Typically, a session
is created when a user logs in, and the login terminal is setup
to be the controlling terminal; all processes spawned from that
login shell are in the same session, and inherit the controlling
@@ -91,23 +97,32 @@ terminal.
A job control shell
operating interactively (that is, reading commands from a terminal)
normally groups related processes together by placing them into the
-same process group. A set of processes in the same process group
-is collectively referred to as a "job". When the foreground process
+same process group.
+A set of processes in the same process group
+is collectively referred to as a
+.Dq job .
+When the foreground process
group of the terminal is the same as the process group of a particular
-job, that job is said to be in the "foreground". When the process
-group of the terminal is different from the process group of
+job, that job is said to be in the
+.Dq foreground .
+When the process group of the terminal is different from the process group of
a job (but is still the controlling terminal), that job is said
-to be in the "background". Normally the
+to be in the
+.Dq background .
+Normally the
shell reads a command and starts the job that implements that
-command. If the command is to be started in the foreground (typical), it
+command.
+If the command is to be started in the foreground (typical), it
sets the process group of the terminal to the process group
of the started job, waits for the job to complete, and then
sets the process group of the terminal back to its own process
-group (it puts itself into the foreground). If the job is to
+group (it puts itself into the foreground).
+If the job is to
be started in the background (as denoted by the shell operator "&"),
it never changes the process group of the terminal and doesn't
wait for the job to complete (that is, it immediately attempts to read the next
-command). If the job is started in the foreground, the user may
+command).
+If the job is started in the foreground, the user may
type a key (usually
.Ql \&^Z )
which generates the terminal stop signal
@@ -120,17 +135,22 @@ and for placing stopped or background jobs into the foreground.
.Ss Orphaned Process Groups
An orphaned process group is a process group that has no process
whose parent is in a different process group, yet is in the same
-session. Conceptually it means a process group that doesn't have
-a parent that could do anything if it were to be stopped. For example,
+session.
+Conceptually it means a process group that doesn't have
+a parent that could do anything if it were to be stopped.
+For example,
the initial login shell is typically in an orphaned process group.
Orphaned process groups are immune to keyboard generated stop
signals and job control signals resulting from reads or writes to the
controlling terminal.
.Ss The Controlling Terminal
-A terminal may belong to a process as its controlling terminal. Each
+A terminal may belong to a process as its controlling terminal.
+Each
process of a session that has a controlling terminal has the same
-controlling terminal. A terminal may be the controlling terminal for at
-most one session. The controlling terminal for a session is allocated by
+controlling terminal.
+A terminal may be the controlling terminal for at
+most one session.
+The controlling terminal for a session is allocated by
the session leader by issuing the
.Dv TIOCSCTTY
ioctl. A controlling terminal
@@ -141,7 +161,8 @@ the process group of the session leader.
.Pp
The controlling terminal is inherited by a child process during a
.Xr fork 2
-function call. A process relinquishes its controlling terminal when it
+function call.
+A process relinquishes its controlling terminal when it
creates a new session with the
.Xr setsid 2
function; other processes
@@ -154,7 +175,8 @@ have it open.
.Pp
When a controlling process terminates, the controlling terminal is
disassociated from the current session, allowing it to be acquired by a
-new session leader. Subsequent access to the terminal by other processes
+new session leader.
+Subsequent access to the terminal by other processes
in the earlier session will be denied, with attempts to access the
terminal treated as if modem disconnect had been sensed.
.Ss Terminal Access Control
@@ -196,7 +218,8 @@ is set and the process is ignoring or blocking the
.Dv SIGTTOU
signal, the process is allowed to write to the terminal and the
.Dv SIGTTOU
-signal is not sent. If
+signal is not sent.
+If
.Dv TOSTOP
is set, and the process group of
the writing process is orphaned, and the writing process is not ignoring
@@ -224,7 +247,8 @@ which incoming data is stored by the system before being read by a
process. The system imposes a limit,
.Pf \&{ Dv MAX_INPUT Ns \&} ,
on the number of
-bytes that may be stored in the input queue. The behavior of the system
+bytes that may be stored in the input queue.
+The behavior of the system
when this limit is exceeded depends on the setting of the
.Dv IMAXBEL
flag in the termios
@@ -234,8 +258,8 @@ is sent an
.Tn ASCII
.Dv BEL
character each time a character is received
-while the input queue is full. Otherwise, the input queue is flushed
-upon receiving the character.
+while the input queue is full.
+Otherwise, the input queue is flushed upon receiving the character.
.Pp
Two general kinds of input processing are available, determined by
whether the terminal device file is in canonical mode or noncanonical
@@ -247,8 +271,8 @@ and
.Fa c_lflag
fields. Such processing can include echoing, which
in general means transmitting input characters immediately back to the
-terminal when they are received from the terminal. This is useful for
-terminals that can operate in full-duplex mode.
+terminal when they are received from the terminal.
+This is useful for terminals that can operate in full-duplex mode.
.Pp
The manner in which data is provided to a process reading from a terminal
device file is dependent on whether the terminal device file is in
@@ -263,7 +287,8 @@ or
If the
.Dv O_NONBLOCK
flag is clear, then the read request is
-blocked until data is available or a signal has been received. If the
+blocked until data is available or a signal has been received.
+If the
.Dv O_NONBLOCK
flag is set, then the read request is completed, without
blocking, in one of three ways:
@@ -301,8 +326,10 @@ and
.Dv EOL .
This means that a read request will
not return until an entire line has been typed, or a signal has been
-received. Also, no matter how many bytes are requested in the read call,
-at most one line is returned. It is not, however, necessary to
+received.
+Also, no matter how many bytes are requested in the read call,
+at most one line is returned.
+It is not, however, necessary to
read a whole line at once; any number of bytes, even one, may be
requested in a read without losing information.
.Pp
@@ -329,13 +356,16 @@ delimited by a newline
or
.Dv EOL
character. This un-delimited
-data makes up the current line. The
+data makes up the current line.
+The
.Dv ERASE
character deletes the last
-character in the current line, if there is any. The
+character in the current line, if there is any.
+The
.Dv KILL
character
-deletes all data in the current line, if there is any. The
+deletes all data in the current line, if there is any.
+The
.Dv ERASE
and
.Dv KILL
@@ -348,7 +378,8 @@ characters themselves are not placed in the input
queue.
.Ss Noncanonical Mode Input Processing
In noncanonical mode input processing, input bytes are not assembled into
-lines, and erase and kill processing does not occur. The values of the
+lines, and erase and kill processing does not occur.
+The values of the
.Dv VMIN
and
.Dv VTIME
@@ -370,7 +401,8 @@ transmissions. If
is greater than
.Dv \&{ Dv MAX_INPUT Ns \&} ,
the response to the
-request is undefined. The four possible values for
+request is undefined.
+The four possible values for
.Dv MIN
and
.Dv TIME
@@ -380,8 +412,10 @@ their interactions are described below.
In this case
.Dv TIME
serves as an inter-byte timer and is activated after
-the first byte is received. Since it is an inter-byte timer, it is reset
-after a byte is received. The interaction between
+the first byte is received.
+Since it is an inter-byte timer, it is reset
+after a byte is received.
+The interaction between
.Dv MIN
and
.Dv TIME
@@ -391,13 +425,16 @@ started. If
.Dv MIN
bytes are received before the inter-byte timer expires
(remember that the timer is reset upon receipt of each byte), the read is
-satisfied. If the timer expires before
+satisfied.
+If the timer expires before
.Dv MIN
bytes are received, the
-characters received to that point are returned to the user. Note that if
+characters received to that point are returned to the user.
+Note that if
.Dv TIME
expires at least one byte is returned because the timer would
-not have been enabled unless a byte was received. In this case
+not have been enabled unless a byte was received.
+In this case
.Pf \&( Dv MIN
> 0,
.Dv TIME
@@ -406,8 +443,8 @@ not have been enabled unless a byte was received. In this case
and
.Dv TIME
mechanisms are
-activated by the receipt of the first byte, or a signal is received. If
-data is in the buffer at the time of the
+activated by the receipt of the first byte, or a signal is received.
+If data is in the buffer at the time of the
.Fn read ,
the result is as
if data had been received immediately after the
@@ -418,13 +455,14 @@ In this case, since the value of
is zero, the timer plays no role
and only
.Dv MIN
-is significant. A pending read is not satisfied until
+is significant.
+A pending read is not satisfied until
.Dv MIN
bytes are received (i.e., the pending read blocks until
.Dv MIN
bytes
-are received), or a signal is received. A program that uses this case to
-read record-based terminal
+are received), or a signal is received.
+A program that uses this case to read record-based terminal
.Dv I/O
may block indefinitely in the read
operation.
@@ -434,22 +472,27 @@ In this case, since
= 0,
.Dv TIME
no longer represents an inter-byte
-timer. It now serves as a read timer that is activated as soon as the
-read function is processed. A read is satisfied as soon as a single
-byte is received or the read timer expires. Note that in this case if
-the timer expires, no bytes are returned. If the timer does not
+timer.
+It now serves as a read timer that is activated as soon as the
+read function is processed.
+A read is satisfied as soon as a single
+byte is received or the read timer expires.
+Note that in this case if the timer expires, no bytes are returned.
+If the timer does not
expire, the only way the read can be satisfied is if a byte is received.
In this case the read will not block indefinitely waiting for a byte; if
no byte is received within
.Dv TIME Ns *0.1
seconds after the read is initiated,
-the read returns a value of zero, having read no data. If data is
+the read returns a value of zero, having read no data.
+If data is
in the buffer at the time of the read, the timer is started as if
data had been received immediately after the read.
.Ss Case D: MIN = 0, TIME = 0
The minimum of either the number of bytes requested or the number of
bytes currently available is returned without waiting for more
-bytes to be input. If no characters are available, read returns a
+bytes to be input.
+If no characters are available, read returns a
value of zero, having read no data.
.Ss Writing Data and Output Processing
When a process writes one or more bytes to a terminal device file, they
@@ -475,7 +518,8 @@ Special character on input and is recognized if the
.Dv ISIG
flag (see the
.Sx "Local Modes"
-section) is enabled. Generates a
+section) is enabled.
+Generates a
.Dv SIGINT
signal which is sent to all processes in the foreground
process group for which the terminal is the controlling
@@ -488,11 +532,13 @@ discarded when processed.
.It Dv QUIT
Special character on input and is recognized if the
.Dv ISIG
-flag is enabled. Generates a
+flag is enabled.
+Generates a
.Dv SIGQUIT
signal which is
sent to all processes in the foreground process group
-for which the terminal is the controlling terminal. If
+for which the terminal is the controlling terminal.
+If
.Dv ISIG
is set, the
.Dv QUIT
@@ -501,7 +547,8 @@ processed.
.It Dv ERASE
Special character on input and is recognized if the
.Dv ICANON
-flag is set. Erases the last character in the
+flag is set.
+Erases the last character in the
current line; see
.Sx "Canonical Mode Input Processing" .
It does not erase beyond
@@ -510,7 +557,8 @@ the start of a line, as delimited by an
.Dv EOF ,
or
.Dv EOL
-character. If
+character.
+If
.Dv ICANON
is set, the
.Dv ERASE
@@ -519,13 +567,15 @@ discarded when processed.
.It Dv KILL
Special character on input and is recognized if the
.Dv ICANON
-flag is set. Deletes the entire line, as
+flag is set.
+Deletes the entire line, as
delimited by a
.Dv NL ,
.Dv EOF ,
or
.Dv EOL
-character. If
+character.
+If
.Dv ICANON
is set, the
.Dv KILL
@@ -533,17 +583,19 @@ character is discarded when processed.
.It Dv EOF
Special character on input and is recognized if the
.Dv ICANON
-flag is set. When received, all the bytes
+flag is set.
+When received, all the bytes
waiting to be read are immediately passed to the
process, without waiting for a newline, and the
.Dv EOF
-is discarded. Thus, if there are no bytes waiting (that
-is, the
+is discarded.
+Thus, if there are no bytes waiting (that is, the
.Dv EOF
occurred at the beginning of a line), a byte
count of zero is returned from the
.Fn read ,
-representing an end-of-file indication. If
+representing an end-of-file indication.
+If
.Dv ICANON
is
set, the
@@ -552,13 +604,14 @@ character is discarded when processed.
.It Dv NL
Special character on input and is recognized if the
.Dv ICANON
-flag is set. It is the line delimiter
+flag is set.
+It is the line delimiter
.Ql \&\en .
.It Dv EOL
Special character on input and is recognized if the
.Dv ICANON
-flag is set. Is an additional line delimiter,
-like
+flag is set.
+Is an additional line delimiter, like
.Dv NL .
.It Dv SUSP
If the
@@ -580,8 +633,9 @@ recognized if the
(output control) or
.Dv IXOFF
(input
-control) flag is set. Can be used to temporarily
-suspend output. It is useful with fast terminals to
+control) flag is set.
+Can be used to temporarily suspend output.
+It is useful with fast terminals to
prevent output from disappearing before it can be read.
If
.Dv IXON
@@ -596,8 +650,8 @@ recognized if the
(output control) or
.Dv IXOFF
(input
-control) flag is set. Can be used to resume output that
-has been suspended by a
+control) flag is set.
+Can be used to resume output that has been suspended by a
.Dv STOP
character. If
.Dv IXON
@@ -611,7 +665,8 @@ flag is set; it is the
.Ql \&\er ,
as denoted in the
.Tn \&C
-Standard {2}. When
+Standard {2}.
+When
.Dv ICANON
and
.Dv ICRNL
@@ -638,12 +693,14 @@ character. Same function as
.It Dv WERASE
Special character on input and is recognized if the
.Dv ICANON
-flag is set. Erases the last word in the current
-line according to one of two algorithms. If the
+flag is set.
+Erases the last word in the current line according to one of two algorithms.
+If the
.Dv ALTWERASE
flag is not set, first any preceding whitespace is
erased, and then the maximal sequence of non-whitespace
-characters. If
+characters.
+If
.Dv ALTWERASE
is set, first any preceding
whitespace is erased, and then the maximal sequence
@@ -651,13 +708,13 @@ of alphabetic/underscores or non alphabetic/underscores.
As a special case in this second algorithm, the first previous
non-whitespace character is skipped in determining
whether the preceding word is a sequence of
-alphabetic/underscores. This sounds confusing but turns
-out to be quite practical.
+alphabetic/underscores.
+This sounds confusing but turns out to be quite practical.
.It Dv REPRINT
Special character on input and is recognized if the
.Dv ICANON
-flag is set. Causes the current input edit line
-to be retyped.
+flag is set.
+Causes the current input edit line to be retyped.
.It Dv DSUSP
Has similar actions to the
.Dv SUSP
@@ -672,20 +729,22 @@ controlling terminal.
.It Dv LNEXT
Special character on input and is recognized if the
.Dv IEXTEN
-flag is set. Receipt of this character causes the next
-character to be taken literally.
+flag is set.
+Receipt of this character causes the next character to be taken literally.
.It Dv DISCARD
Special character on input and is recognized if the
.Dv IEXTEN
-flag is set. Receipt of this character toggles the flushing
-of terminal output.
+flag is set.
+Receipt of this character toggles the flushing of terminal output.
.It Dv STATUS
Special character on input and is recognized if the
.Dv ICANON
-flag is set. Receipt of this character causes a
+flag is set.
+Receipt of this character causes a
.Dv SIGINFO
signal to be sent to the foreground process group of the
-terminal. Also, if the
+terminal.
+Also, if the
.Dv NOKERNINFO
flag is not set, it
causes the kernel to write a status message to the terminal
@@ -724,12 +783,14 @@ field for
the terminal, the
.Dv SIGHUP
signal is sent to the controlling
-process associated with the terminal. Unless other arrangements have
+process associated with the terminal.
+Unless other arrangements have
been made, this causes the controlling process to terminate.
Any subsequent call to the
.Fn read
function returns the value zero,
-indicating end of file. Thus, processes that read a terminal
+indicating end of file.
+Thus, processes that read a terminal
file and test for end-of-file can terminate appropriately after a
disconnect.
.\" If the
@@ -752,7 +813,8 @@ until the device is closed.
.Sh General Terminal Interface
.Ss Closing a Terminal Device File
The last process to close a terminal device file causes any output
-to be sent to the device and any input to be discarded. Then, if
+to be sent to the device and any input to be discarded.
+Then, if
.Dv HUPCL
is set in the control modes, and the communications port supports a
disconnect function, the terminal device performs a disconnect.
@@ -763,8 +825,8 @@ characteristics
do so by using the termios structure as defined in the header
.Aq Pa termios.h .
This structure contains minimally four scalar elements of bit flags
-and one array of special characters. The scalar flag elements are
-named:
+and one array of special characters.
+The scalar flag elements are named:
.Fa c_iflag ,
.Fa c_oflag ,
.Fa c_cflag ,
@@ -812,16 +874,19 @@ following masks:
.Pp
In the context of asynchronous serial data transmission, a break
condition is defined as a sequence of zero-valued bits that continues for
-more than the time to send one byte. The entire sequence of zero-valued
+more than the time to send one byte.
+The entire sequence of zero-valued
bits is interpreted as a single break condition, even if it continues for
-a time equivalent to more than one byte. In contexts other than
+a time equivalent to more than one byte.
+In contexts other than
asynchronous serial data transmission the definition of a break condition
is implementation defined.
.Pp
If
.Dv IGNBRK
is set, a break condition detected on input is ignored, that
-is, not put on the input queue and therefore not read by any process. If
+is, not put on the input queue and therefore not read by any process.
+If
.Dv IGNBRK
is not set and
.Dv BRKINT
@@ -830,7 +895,8 @@ input and output queues and if the terminal is the controlling terminal
of a foreground process group, the break condition generates a
single
.Dv SIGINT
-signal to that foreground process group. If neither
+signal to that foreground process group.
+If neither
.Dv IGNBRK
nor
.Dv BRKINT
@@ -881,11 +947,13 @@ break) is given to the application as a single character
.Pp
If
.Dv INPCK
-is set, input parity checking is enabled. If
+is set, input parity checking is enabled.
+If
.Dv INPCK
is not set,
input parity checking is disabled, allowing output parity generation
-without input parity errors. Note that whether input parity checking is
+without input parity errors.
+Note that whether input parity checking is
enabled or disabled is independent of whether parity detection is enabled
or disabled (see
.Sx "Control Modes" ) .
@@ -923,7 +991,8 @@ character.
.Pp
If
.Dv IXON
-is set, start/stop output control is enabled. A received
+is set, start/stop output control is enabled.
+A received
.Dv STOP
character suspends output and a received
.Dv START
@@ -940,7 +1009,8 @@ is set,
and
.Dv STOP
characters are not
-read, but merely perform flow control functions. When
+read, but merely perform flow control functions.
+When
.Dv IXON
is not set,
the
@@ -951,8 +1021,8 @@ characters are read.
.Pp
If
.Dv IXOFF
-is set, start/stop input control is enabled. The system shall
-transmit one or more
+is set, start/stop input control is enabled.
+The system shall transmit one or more
.Dv STOP
characters, which are intended to cause the
terminal device to stop transmitting data, as needed to prevent the input
@@ -963,7 +1033,8 @@ and shall transmit one or more
characters, which are
intended to cause the terminal device to resume transmitting data, as
soon as the device can continue transmitting data without risk of
-overflowing the input queue. The precise conditions under which
+overflowing the input queue.
+The precise conditions under which
.Dv STOP
and
START
@@ -1090,7 +1161,8 @@ flow control of output */
The
.Dv CSIZE
bits specify the byte size in bits for both transmission and
-reception. The
+reception.
+The
.Fa c_cflag
is masked with
.Dv CSIZE
@@ -1101,17 +1173,18 @@ values
.Dv CS7 ,
or
.Dv CS8 .
-This size does not include the parity bit, if any. If
+This size does not include the parity bit, if any.
+If
.Dv CSTOPB
-is set, two stop bits are used, otherwise one stop bit. For example, at
-110 baud, two stop bits are normally used.
+is set, two stop bits are used, otherwise one stop bit.
+For example, at 110 baud, two stop bits are normally used.
.Pp
If
.Dv CREAD
-is set, the receiver is enabled. Otherwise, no character is
-received.
-Not all hardware supports this bit. In fact, this flag
-is pretty silly and if it were not part of the
+is set, the receiver is enabled.
+Otherwise, no character is received.
+Not all hardware supports this bit.
+In fact, this flag is pretty silly and if it were not part of the
.Nm
specification
it would be omitted.
@@ -1119,7 +1192,8 @@ it would be omitted.
If
.Dv PARENB
is set, parity generation and detection are enabled and a parity
-bit is added to each character. If parity is enabled,
+bit is added to each character.
+If parity is enabled,
.Dv PARODD
specifies
odd parity if set, otherwise even parity is used.
@@ -1128,12 +1202,14 @@ If
.Dv HUPCL
is set, the modem control lines for the port are lowered
when the last process with the port open closes the port or the process
-terminates. The modem connection is broken.
+terminates.
+The modem connection is broken.
.Pp
If
.Dv CLOCAL
is set, a connection does not depend on the state of the modem
-status lines. If
+status lines.
+If
.Dv CLOCAL
is clear, the modem status lines are
monitored.
@@ -1141,7 +1217,8 @@ monitored.
Under normal circumstances, a call to the
.Fn open
function waits for
-the modem connection to complete. However, if the
+the modem connection to complete.
+However, if the
.Dv O_NONBLOCK
flag is set
or if
@@ -1227,7 +1304,8 @@ and
.Pp
If
.Dv ECHO
-is set, input characters are echoed back to the terminal. If
+is set, input characters are echoed back to the terminal.
+If
.Dv ECHO
is not set, input characters are not echoed.
.Pp
@@ -1239,7 +1317,8 @@ are set, the
.Dv ERASE
character causes the terminal
to erase the last character in the current line from the display, if
-possible. If there is no character to erase, an implementation may echo
+possible.
+If there is no character to erase, an implementation may echo
an indication that this was the case or do nothing.
.Pp
If
@@ -1301,7 +1380,8 @@ is not set.
.Pp
If
.Dv ICANON
-is set, canonical processing is enabled. This enables the
+is set, canonical processing is enabled.
+This enables the
erase and kill edit functions, and the assembly of input characters into
lines delimited by
.Dv NL ,
@@ -1314,12 +1394,14 @@ as described in
If
.Dv ICANON
is not set, read requests are satisfied directly from the input
-queue. A read is not satisfied until at least
+queue.
+A read is not satisfied until at least
.Dv MIN
bytes have been
received or the timeout value
.Dv TIME
-expired between bytes. The time value
+expired between bytes.
+The time value
represents tenths of seconds. See
.Sx "Noncanonical Mode Input Processing"
for more details.
@@ -1332,12 +1414,15 @@ control characters
.Dv QUIT ,
and
.Dv SUSP
-(job control only). If an input
+(job control only).
+If an input
character matches one of these control characters, the function
-associated with that character is performed. If
+associated with that character is performed.
+If
.Dv ISIG
is not set, no
-checking is done. Thus these special input functions are possible only
+checking is done.
+Thus these special input functions are possible only
if
.Dv ISIG
is set.
@@ -1345,7 +1430,8 @@ is set.
If
.Dv IEXTEN
is set, implementation-defined functions are recognized
-from the input data. How
+from the input data.
+How
.Dv IEXTEN
being set
interacts with
@@ -1383,9 +1469,11 @@ is set, the signal
.Dv SIGTTOU
is sent to the process group of a process that tries to write to
its controlling terminal if it is not in the foreground process group for
-that terminal. This signal, by default, stops the members of the process
-group. Otherwise, the output generated by that process is output to the
-current output stream. Processes that are blocking or ignoring
+that terminal.
+This signal, by default, stops the members of the process group.
+Otherwise, the output generated by that process is output to the
+current output stream.
+Processes that are blocking or ignoring
.Dv SIGTTOU
signals are excepted and allowed to produce output and the
.Dv SIGTTOU
@@ -1403,7 +1491,8 @@ characters (see
The special control characters values are defined by the array
.Fa c_cc .
This table lists the array index, the corresponding special character,
-and the system default value. For an accurate list of
+and the system default value.
+For an accurate list of
the system defaults, consult the header file
.Aq Pa ttydefaults.h .
.Pp
OpenPOWER on IntegriCloud