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 symbolic indices (initial values) and meaning are:
|
||||
.TP
|
||||
.B VINTR
|
||||
(003, ETX, Ctrl-C, or also 0177, DEL, rubout)
|
||||
Interrupt character.
|
||||
Send a
|
||||
.B SIGINT
|
||||
signal.
|
||||
.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 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
|
||||
is set, and then not passed as input.
|
||||
.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 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.
|
||||
are set, and the system supports
|
||||
job control, and then not passed as input.
|
||||
.TP
|
||||
.B VEOF
|
||||
(004, EOT, Ctrl-D)
|
||||
|
@ -518,9 +501,6 @@ Recognized when
|
|||
.B ICANON
|
||||
is set, and then not passed as input.
|
||||
.TP
|
||||
.B VMIN
|
||||
Minimum number of characters for noncanonical read.
|
||||
.TP
|
||||
.B VEOL
|
||||
(0, NUL)
|
||||
Additional end-of-line character.
|
||||
|
@ -528,9 +508,6 @@ Recognized when
|
|||
.B ICANON
|
||||
is set.
|
||||
.TP
|
||||
.B VTIME
|
||||
Timeout in deciseconds for noncanonical read.
|
||||
.TP
|
||||
.B VEOL2
|
||||
(not in POSIX; 0, NUL)
|
||||
Yet another end-of-line character.
|
||||
|
@ -538,10 +515,63 @@ Recognized when
|
|||
.B ICANON
|
||||
is set.
|
||||
.TP
|
||||
.B VSWTCH
|
||||
(not in POSIX; not supported under Linux; 0, NUL)
|
||||
Switch character.
|
||||
(Used by \fBshl\fP only.)
|
||||
.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 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
|
||||
.B VSTART
|
||||
(021, DC1, Ctrl-Q)
|
||||
|
@ -551,6 +581,16 @@ Recognized when
|
|||
.B IXON
|
||||
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.
|
||||
.TP
|
||||
.B VSTOP
|
||||
(023, DC3, Ctrl-S)
|
||||
Stop character.
|
||||
|
@ -569,27 +609,13 @@ Recognized when
|
|||
.B ISIG
|
||||
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
|
||||
are set, and the system supports
|
||||
job control, and then not passed as input.
|
||||
.B VSWTCH
|
||||
(not in POSIX; not supported under Linux; 0, NUL)
|
||||
Switch character.
|
||||
(Used by \fBshl\fP only.)
|
||||
.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.
|
||||
.B VTIME
|
||||
Timeout in deciseconds for noncanonical read.
|
||||
.TP
|
||||
.B VWERASE
|
||||
(not in POSIX; 027, ETB, Ctrl-W)
|
||||
|
@ -599,32 +625,6 @@ Recognized when
|
|||
and
|
||||
.B IEXTEN
|
||||
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
|
||||
An individual terminal special character can be disabled by setting
|
||||
the value of the corresponding
|
||||
|
|
Loading…
Reference in New Issue