summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/stty.135
1 files changed, 23 insertions, 12 deletions
diff --git a/bin/stty/stty.1 b/bin/stty/stty.1
index 71908d2..9d3ccaf 100644
--- a/bin/stty/stty.1
+++ b/bin/stty/stty.1
@@ -69,7 +69,8 @@ in the traditional
.It Fl f
Open and use the terminal named by
.Ar file
-rather than using standard input. The file is opened
+rather than using standard input.
+The file is opened
using the
.Dv O_NONBLOCK
flag of
@@ -90,7 +91,8 @@ characteristics:
.Ss Control Modes:
.Pp
Control mode flags affect hardware characteristics associated with the
-terminal. This corresponds to the c_cflag in the termios structure.
+terminal.
+This corresponds to the c_cflag in the termios structure.
.Bl -tag -width Fl
.It Cm parenb Pq Fl parenb
Enable (disable) parity generation
@@ -210,11 +212,13 @@ to restart output.
.It Cm imaxbel Pq Fl imaxbel
The system imposes a limit of
.Dv MAX_INPUT
-(currently 255) characters in the input queue. If
+(currently 255) characters in the input queue.
+If
.Cm imaxbel
is set and the input queue limit has been reached,
subsequent input causes the system to send an ASCII BEL
-character to the output queue (the terminal beeps at you). Otherwise,
+character to the output queue (the terminal beeps at you).
+Otherwise,
if
.Cm imaxbel
is unset and the input queue is full, the next input character causes
@@ -316,19 +320,22 @@ is disabled.
.It Cm echoctl Pq Fl echoctl
If
.Cm echoctl
-is set, echo control characters as ^X. Otherwise control characters
+is set, echo control characters as ^X.
+Otherwise control characters
echo as themselves.
.It Cm echoprt Pq Fl echoprt
For printing terminals.
If set, echo erased characters backwards within ``\\''
-and ``/''. Otherwise, disable this feature.
+and ``/''.
+Otherwise, disable this feature.
.It Cm noflsh Pq Fl noflsh
Disable (enable) flush after
.Dv INTR , QUIT , SUSP .
.It Cm tostop Pq Fl tostop
Send (do not send)
.Dv SIGTTOU
-for background output. This causes background jobs to stop if they attempt
+for background output.
+This causes background jobs to stop if they attempt
terminal output.
.It Cm altwerase Pq Fl altwerase
Use (do not use) an alternate word erase algorithm when processing
@@ -342,7 +349,8 @@ erased with simply an
.Dv ERASE
character.)
.It Cm mdmbuf Pq Fl mdmbuf
-If set, flow control output based on condition of Carrier Detect. Otherwise
+If set, flow control output based on condition of Carrier Detect.
+Otherwise
writes return an error if Carrier Detect is low (and Carrier is not being
ignored with the
.Dv CLOCAL
@@ -367,7 +375,7 @@ that character.
If string is the
two character sequence "^-" or the
string "undef" the control character
-is disabled (i.e. set to
+is disabled (i.e., set to
.Pf { Dv _POSIX_VDISABLE Ns } . )
.Pp
Recognized control-characters:
@@ -444,7 +452,8 @@ Set (disable) all modes suitable for a CRT display device.
Enable (disable) the system generated status line associated with
processing a
.Dv STATUS
-character (usually set to ^T). The status line consists of the
+character (usually set to ^T).
+The status line consists of the
system load average, the current command name, its process ID, the
event the process is waiting on (or the status of the process), the user
and system times, percent cpu, and current memory usage.
@@ -478,7 +487,8 @@ to a pty.
If set, change the modes of the terminal so that no input or output processing
is performed.
If unset, change the modes of the terminal to some reasonable
-state that performs input and output processing. Note that since the
+state that performs input and output processing.
+Note that since the
terminal driver no longer has a single
.Dv RAW
bit, it is not possible to intuit what flags were set prior to setting
@@ -581,7 +591,8 @@ The
.Nm
utility is expected to be
.St -p1003.2
-compatible. The flags
+compatible.
+The flags
.Fl e
and
.Fl f
OpenPOWER on IntegriCloud