mirror of https://github.com/mkerrisk/man-pages
Control character names (^X) are writte boldface, without quotes.
This commit is contained in:
parent
c723df0490
commit
8bb93cd4bb
|
@ -397,10 +397,11 @@ If \fBICANON\fP is also set, echo the NL character even if ECHO is not set.
|
|||
.TP
|
||||
.B ECHOCTL
|
||||
(not in POSIX) If \fBECHO\fP is also set, ASCII control signals other than
|
||||
TAB, NL, START, and STOP are echoed as ^X, where X is the character with
|
||||
TAB, NL, START, and STOP are echoed as \fB^X\fP,
|
||||
where X is the character with
|
||||
ASCII code 0x40 greater than the control signal.
|
||||
For example, character
|
||||
0x08 (BS) is echoed as ^H.
|
||||
0x08 (BS) is echoed as \fB^H\fP.
|
||||
[requires
|
||||
.B _BSD_SOURCE
|
||||
or
|
||||
|
|
|
@ -91,26 +91,27 @@ The recognized control characters are BEL, BS, HT, LF, VT, FF,
|
|||
CR, SO, SI, CAN, SUB, ESC, DEL, CSI.
|
||||
They do what one would expect:
|
||||
.HP
|
||||
BEL (0x07, ^G) beeps;
|
||||
BEL (0x07, \fB^G\fP) beeps;
|
||||
.HP
|
||||
BS (0x08, ^H) backspaces one column
|
||||
BS (0x08, \fB^H\fP) backspaces one column
|
||||
(but not past the beginning of the line);
|
||||
.HP
|
||||
HT (0x09, ^I) goes to the next tab stop or to the end of the line
|
||||
HT (0x09, \fB^I\fP) goes to the next tab stop or to the end of the line
|
||||
if there is no earlier tab stop;
|
||||
.HP
|
||||
LF (0x0A, ^J), VT (0x0B, ^K) and FF (0x0C, ^L) all give a linefeed,
|
||||
LF (0x0A, \fB^J\fP), VT (0x0B, \fB^K\fP) and
|
||||
FF (0x0C, \fB^L\fP) all give a linefeed,
|
||||
and if LF/NL (new-line mode) is set also a carriage return;
|
||||
.HP
|
||||
CR (0x0D, ^M) gives a carriage return;
|
||||
CR (0x0D, \fB^M\fP) gives a carriage return;
|
||||
.HP
|
||||
SO (0x0E, ^N) activates the G1 character set;
|
||||
SO (0x0E, \fB^N\fP) activates the G1 character set;
|
||||
.HP
|
||||
SI (0x0F, ^O) activates the G0 character set;
|
||||
SI (0x0F, \fB^O\fP) activates the G0 character set;
|
||||
.HP
|
||||
CAN (0x18, ^X) and SUB (0x1A, ^Z) interrupt escape sequences;
|
||||
CAN (0x18, \fB^X\fP) and SUB (0x1A, \fB^Z\fP) interrupt escape sequences;
|
||||
.HP
|
||||
ESC (0x1B, ^[) starts an escape sequence;
|
||||
ESC (0x1B, \fB^[\fP) starts an escape sequence;
|
||||
.HP
|
||||
DEL (0x7F) is ignored;
|
||||
.HP
|
||||
|
@ -376,7 +377,8 @@ b) VT100 graphics \-> PC, c) PC \-> PC, d) user-defined.
|
|||
.PP
|
||||
There are two character sets, called G0 and G1, and one of them
|
||||
is the current character set. (Initially G0.)
|
||||
Typing ^N causes G1 to become current, ^O causes G0 to become current.
|
||||
Typing \fB^N\fP causes G1 to become current,
|
||||
\fB^O\fP causes G0 to become current.
|
||||
.PP
|
||||
These variables G0 and G1 point at a translation table, and can be
|
||||
changed by the user.
|
||||
|
@ -461,9 +463,9 @@ NUL (0x00) was ignored;
|
|||
.HP
|
||||
ENQ (0x05) triggered an answerback message;
|
||||
.HP
|
||||
DC1 (0x11, ^Q, XON) resumed transmission;
|
||||
DC1 (0x11, \fB^Q\fP, XON) resumed transmission;
|
||||
.HP
|
||||
DC3 (0x13, ^S, XOFF) caused VT100 to ignore (and stop transmitting)
|
||||
DC3 (0x13, \fB^S\fP, XOFF) caused VT100 to ignore (and stop transmitting)
|
||||
all codes except XOFF and XON.
|
||||
.LP
|
||||
VT100-like DC1/DC3 processing may be enabled by the tty driver.
|
||||
|
|
|
@ -304,9 +304,8 @@ TIOCPKT_FLUSHREAD The read queue for the terminal is flushed.
|
|||
TIOCPKT_FLUSHWRITE The write queue for the terminal is flushed.
|
||||
TIOCPKT_STOP Output to the terminal is stopped.
|
||||
TIOCPKT_START Output to the terminal is restarted.
|
||||
TIOCPKT_DOSTOP t_stopc is \(aq^S\(aq and t_startc is \(aq^Q\(aq.
|
||||
TIOCPKT_NOSTOP The start and stop characters are not
|
||||
\(aq^S\(aq/\(aq^Q\(aq.
|
||||
TIOCPKT_DOSTOP The start and stop characters are \fB^S\fP/\fB^Q\fP.
|
||||
TIOCPKT_NOSTOP The start and stop characters are not \fB^S\fP/\fB^Q\fP.
|
||||
.fi
|
||||
|
||||
While this mode is in use, the presence
|
||||
|
@ -320,7 +319,7 @@ This mode is used by
|
|||
and
|
||||
.BR rlogind (8)
|
||||
to implement a remote-echoed,
|
||||
locally \`^S\(aq/\(aq^Q\(aq flow-controlled remote login.
|
||||
locally \fB^S\fP/\fB^Q\fP flow-controlled remote login.
|
||||
|
||||
The BSD ioctls
|
||||
.BR TIOCSTOP ,
|
||||
|
|
|
@ -114,7 +114,7 @@ NR ti does not reverse te
|
|||
nx No padding, must use XON/XOFF
|
||||
os Terminal can overstrike
|
||||
ul Terminal underlines although it can not overstrike
|
||||
xb Beehive glitch, f1 sends ESCAPE, f2 sends ^C
|
||||
xb Beehive glitch, f1 sends ESCAPE, f2 sends \fB^C\fP
|
||||
xn Newline/wraparound glitch
|
||||
xo Terminal uses xon/xoff protocol
|
||||
xs Text typed over standout text will be displayed in standout
|
||||
|
@ -206,7 +206,7 @@ AL Insert %1 lines
|
|||
ac Pairs of block graphic characters to map alternate character set
|
||||
ae End alternative character set
|
||||
as Start alternative character set for block graphic characters
|
||||
bc Backspace, if not ^H
|
||||
bc Backspace, if not \fB^H\fP
|
||||
bl Audio bell
|
||||
bt Move to previous tab stop
|
||||
cb Clear from beginning of line to cursor
|
||||
|
@ -372,7 +372,7 @@ ve Normal cursor visible
|
|||
vi Cursor invisible
|
||||
vs Standout cursor
|
||||
wi Set window from line %1 to %2 and column %3 to %4
|
||||
XF XOFF character if not ^S
|
||||
XF XOFF character if not \fB^S\fP
|
||||
.fi
|
||||
.LP
|
||||
There are several ways of defining the control codes for string capabilities:
|
||||
|
@ -380,7 +380,7 @@ There are several ways of defining the control codes for string capabilities:
|
|||
Every normal character represents itself,
|
||||
except \(aq^\(aq,\(aq\e\(aq and \(aq%\(aq.
|
||||
.LP
|
||||
A \(aq^x\(aq means Control-x.
|
||||
A \fB^x\fP means Control-x.
|
||||
Control-A equals 1 decimal.
|
||||
.LP
|
||||
\ex means a special code.
|
||||
|
|
|
@ -311,7 +311,7 @@ It uses codes either
|
|||
G0 always has size 94 and uses codes 041-0176.
|
||||
.LP
|
||||
Switching between character sets is done using the shift functions
|
||||
^N (SO or LS1), ^O (SI or LS0), ESC n (LS2), ESC o (LS3),
|
||||
\fB^N\fP (SO or LS1), \fB^O\fP (SI or LS0), ESC n (LS2), ESC o (LS3),
|
||||
ESC N (SS2), ESC O (SS3), ESC ~ (LS1R), ESC } (LS2R), ESC | (LS3R).
|
||||
The function LS\fIn\fP makes character set G\fIn\fP the current one
|
||||
for codes with high bit zero.
|
||||
|
@ -348,7 +348,7 @@ recent version selected by ESC & @ ESC $ B.
|
|||
ISO 4873 stipulates a narrower use of character sets, where G0
|
||||
is fixed (always ASCII), so that G1, G2 and G3
|
||||
can only be invoked for codes with the high order bit set.
|
||||
In particular, ^N and ^O are not used anymore, ESC ( xx
|
||||
In particular, \fB^N\fP and \fB^O\fP are not used anymore, ESC ( xx
|
||||
can be used only with xx=B, and ESC ) xx, ESC * xx, ESC + xx
|
||||
are equivalent to ESC \- xx, ESC . xx, ESC / xx, respectively.
|
||||
.SH "SEE ALSO"
|
||||
|
|
Loading…
Reference in New Issue