mirror of https://github.com/mkerrisk/man-pages
termios.3: List terminal special characters in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a6639d0979
commit
91e2779f87
180
man3/termios.3
180
man3/termios.3
|
@ -469,42 +469,25 @@ and for the \fBIUCLC\fP flag to be effective.
|
||||||
The \fIc_cc\fP array defines the terminal special characters.
|
The \fIc_cc\fP array defines the terminal special characters.
|
||||||
The symbolic indices (initial values) and meaning are:
|
The symbolic indices (initial values) and meaning are:
|
||||||
.TP
|
.TP
|
||||||
.B VINTR
|
.B VDISCARD
|
||||||
(003, ETX, Ctrl-C, or also 0177, DEL, rubout)
|
(not in POSIX; not supported under Linux; 017, SI, Ctrl-O)
|
||||||
Interrupt character.
|
Toggle: start/stop discarding pending output.
|
||||||
Send a
|
|
||||||
.B SIGINT
|
|
||||||
signal.
|
|
||||||
Recognized when
|
Recognized when
|
||||||
|
.B IEXTEN
|
||||||
|
is set, and then not passed as input.
|
||||||
|
.TP
|
||||||
|
.B VDSUSP
|
||||||
|
(not in POSIX; not supported under Linux; 031, EM, Ctrl-Y)
|
||||||
|
Delayed suspend character:
|
||||||
|
send
|
||||||
|
.B SIGTSTP
|
||||||
|
signal when the character is read by the user program.
|
||||||
|
Recognized when
|
||||||
|
.B IEXTEN
|
||||||
|
and
|
||||||
.B ISIG
|
.B ISIG
|
||||||
is set, and then not passed as input.
|
are set, and the system supports
|
||||||
.TP
|
job control, and then not passed as input.
|
||||||
.B VQUIT
|
|
||||||
(034, FS, Ctrl-\e)
|
|
||||||
Quit character.
|
|
||||||
Send
|
|
||||||
.B SIGQUIT
|
|
||||||
signal.
|
|
||||||
Recognized when
|
|
||||||
.B ISIG
|
|
||||||
is set, and then not passed as input.
|
|
||||||
.TP
|
|
||||||
.B VERASE
|
|
||||||
(0177, DEL, rubout, or 010, BS, Ctrl-H, or also #)
|
|
||||||
Erase character.
|
|
||||||
This erases the previous not-yet-erased character,
|
|
||||||
but does not erase past EOF or beginning-of-line.
|
|
||||||
Recognized when
|
|
||||||
.B ICANON
|
|
||||||
is set, and then not passed as input.
|
|
||||||
.TP
|
|
||||||
.B VKILL
|
|
||||||
(025, NAK, Ctrl-U, or Ctrl-X, or also @)
|
|
||||||
Kill character.
|
|
||||||
This erases the input since the last EOF or beginning-of-line.
|
|
||||||
Recognized when
|
|
||||||
.B ICANON
|
|
||||||
is set, and then not passed as input.
|
|
||||||
.TP
|
.TP
|
||||||
.B VEOF
|
.B VEOF
|
||||||
(004, EOT, Ctrl-D)
|
(004, EOT, Ctrl-D)
|
||||||
|
@ -518,9 +501,6 @@ Recognized when
|
||||||
.B ICANON
|
.B ICANON
|
||||||
is set, and then not passed as input.
|
is set, and then not passed as input.
|
||||||
.TP
|
.TP
|
||||||
.B VMIN
|
|
||||||
Minimum number of characters for noncanonical read.
|
|
||||||
.TP
|
|
||||||
.B VEOL
|
.B VEOL
|
||||||
(0, NUL)
|
(0, NUL)
|
||||||
Additional end-of-line character.
|
Additional end-of-line character.
|
||||||
|
@ -528,9 +508,6 @@ Recognized when
|
||||||
.B ICANON
|
.B ICANON
|
||||||
is set.
|
is set.
|
||||||
.TP
|
.TP
|
||||||
.B VTIME
|
|
||||||
Timeout in deciseconds for noncanonical read.
|
|
||||||
.TP
|
|
||||||
.B VEOL2
|
.B VEOL2
|
||||||
(not in POSIX; 0, NUL)
|
(not in POSIX; 0, NUL)
|
||||||
Yet another end-of-line character.
|
Yet another end-of-line character.
|
||||||
|
@ -538,10 +515,63 @@ Recognized when
|
||||||
.B ICANON
|
.B ICANON
|
||||||
is set.
|
is set.
|
||||||
.TP
|
.TP
|
||||||
.B VSWTCH
|
.B VERASE
|
||||||
(not in POSIX; not supported under Linux; 0, NUL)
|
(0177, DEL, rubout, or 010, BS, Ctrl-H, or also #)
|
||||||
Switch character.
|
Erase character.
|
||||||
(Used by \fBshl\fP only.)
|
This erases the previous not-yet-erased character,
|
||||||
|
but does not erase past EOF or beginning-of-line.
|
||||||
|
Recognized when
|
||||||
|
.B ICANON
|
||||||
|
is set, and then not passed as input.
|
||||||
|
.TP
|
||||||
|
.B VINTR
|
||||||
|
(003, ETX, Ctrl-C, or also 0177, DEL, rubout)
|
||||||
|
Interrupt character.
|
||||||
|
Send a
|
||||||
|
.B SIGINT
|
||||||
|
signal.
|
||||||
|
Recognized when
|
||||||
|
.B ISIG
|
||||||
|
is set, and then not passed as input.
|
||||||
|
.TP
|
||||||
|
.B VKILL
|
||||||
|
(025, NAK, Ctrl-U, or Ctrl-X, or also @)
|
||||||
|
Kill character.
|
||||||
|
This erases the input since the last EOF or beginning-of-line.
|
||||||
|
Recognized when
|
||||||
|
.B ICANON
|
||||||
|
is set, and then not passed as input.
|
||||||
|
.TP
|
||||||
|
.B VLNEXT
|
||||||
|
(not in POSIX; 026, SYN, Ctrl-V)
|
||||||
|
Literal next.
|
||||||
|
Quotes the next input character, depriving it of
|
||||||
|
a possible special meaning.
|
||||||
|
Recognized when
|
||||||
|
.B IEXTEN
|
||||||
|
is set, and then not passed as input.
|
||||||
|
.TP
|
||||||
|
.B VMIN
|
||||||
|
Minimum number of characters for noncanonical read.
|
||||||
|
.TP
|
||||||
|
.B VQUIT
|
||||||
|
(034, FS, Ctrl-\e)
|
||||||
|
Quit character.
|
||||||
|
Send
|
||||||
|
.B SIGQUIT
|
||||||
|
signal.
|
||||||
|
Recognized when
|
||||||
|
.B ISIG
|
||||||
|
is set, and then not passed as input.
|
||||||
|
.TP
|
||||||
|
.B VREPRINT
|
||||||
|
(not in POSIX; 022, DC2, Ctrl-R)
|
||||||
|
Reprint unread characters.
|
||||||
|
Recognized when
|
||||||
|
.B ICANON
|
||||||
|
and
|
||||||
|
.B IEXTEN
|
||||||
|
are set, and then not passed as input.
|
||||||
.TP
|
.TP
|
||||||
.B VSTART
|
.B VSTART
|
||||||
(021, DC1, Ctrl-Q)
|
(021, DC1, Ctrl-Q)
|
||||||
|
@ -551,6 +581,16 @@ Recognized when
|
||||||
.B IXON
|
.B IXON
|
||||||
is set, and then not passed as input.
|
is set, and then not passed as input.
|
||||||
.TP
|
.TP
|
||||||
|
.B VSTATUS
|
||||||
|
(not in POSIX; not supported under Linux;
|
||||||
|
status request: 024, DC4, Ctrl-T).
|
||||||
|
Status character (STATUS).
|
||||||
|
Display status information at terminal,
|
||||||
|
including state of foreground process and amount of CPU time it has consumed.
|
||||||
|
Also sends a
|
||||||
|
.BR SIGINFO
|
||||||
|
signal (not supported on Linux) to the foreground process group.
|
||||||
|
.TP
|
||||||
.B VSTOP
|
.B VSTOP
|
||||||
(023, DC3, Ctrl-S)
|
(023, DC3, Ctrl-S)
|
||||||
Stop character.
|
Stop character.
|
||||||
|
@ -569,27 +609,13 @@ Recognized when
|
||||||
.B ISIG
|
.B ISIG
|
||||||
is set, and then not passed as input.
|
is set, and then not passed as input.
|
||||||
.TP
|
.TP
|
||||||
.B VDSUSP
|
.B VSWTCH
|
||||||
(not in POSIX; not supported under Linux; 031, EM, Ctrl-Y)
|
(not in POSIX; not supported under Linux; 0, NUL)
|
||||||
Delayed suspend character:
|
Switch character.
|
||||||
send
|
(Used by \fBshl\fP only.)
|
||||||
.B SIGTSTP
|
|
||||||
signal when the character is read by the user program.
|
|
||||||
Recognized when
|
|
||||||
.B IEXTEN
|
|
||||||
and
|
|
||||||
.B ISIG
|
|
||||||
are set, and the system supports
|
|
||||||
job control, and then not passed as input.
|
|
||||||
.TP
|
.TP
|
||||||
.B VLNEXT
|
.B VTIME
|
||||||
(not in POSIX; 026, SYN, Ctrl-V)
|
Timeout in deciseconds for noncanonical read.
|
||||||
Literal next.
|
|
||||||
Quotes the next input character, depriving it of
|
|
||||||
a possible special meaning.
|
|
||||||
Recognized when
|
|
||||||
.B IEXTEN
|
|
||||||
is set, and then not passed as input.
|
|
||||||
.TP
|
.TP
|
||||||
.B VWERASE
|
.B VWERASE
|
||||||
(not in POSIX; 027, ETB, Ctrl-W)
|
(not in POSIX; 027, ETB, Ctrl-W)
|
||||||
|
@ -599,32 +625,6 @@ Recognized when
|
||||||
and
|
and
|
||||||
.B IEXTEN
|
.B IEXTEN
|
||||||
are set, and then not passed as input.
|
are set, and then not passed as input.
|
||||||
.TP
|
|
||||||
.B VREPRINT
|
|
||||||
(not in POSIX; 022, DC2, Ctrl-R)
|
|
||||||
Reprint unread characters.
|
|
||||||
Recognized when
|
|
||||||
.B ICANON
|
|
||||||
and
|
|
||||||
.B IEXTEN
|
|
||||||
are set, and then not passed as input.
|
|
||||||
.TP
|
|
||||||
.B VDISCARD
|
|
||||||
(not in POSIX; not supported under Linux; 017, SI, Ctrl-O)
|
|
||||||
Toggle: start/stop discarding pending output.
|
|
||||||
Recognized when
|
|
||||||
.B IEXTEN
|
|
||||||
is set, and then not passed as input.
|
|
||||||
.TP
|
|
||||||
.B VSTATUS
|
|
||||||
(not in POSIX; not supported under Linux;
|
|
||||||
status request: 024, DC4, Ctrl-T).
|
|
||||||
Status character (STATUS).
|
|
||||||
Display status information at terminal,
|
|
||||||
including state of foreground process and amount of CPU time it has consumed.
|
|
||||||
Also sends a
|
|
||||||
.BR SIGINFO
|
|
||||||
signal (not supported on Linux) to the foreground process group.
|
|
||||||
.LP
|
.LP
|
||||||
An individual terminal special character can be disabled by setting
|
An individual terminal special character can be disabled by setting
|
||||||
the value of the corresponding
|
the value of the corresponding
|
||||||
|
|
Loading…
Reference in New Issue