<HTML><HEAD><TITLE>Top</TITLE>
<LINK REV="Precedes" HREF="xterm.info.(dir).html">
<LINK REL="Precedes" HREF="xterm.info.Top.html">
</HEAD><BODY>
<B>Go backward to <A HREF="menu.html">Miscellaneous</A>.</B><BR>
<B>Go forward to <A HREF="xterm.info.Top.html">Top</A>.</B><BR>
<PRE>
This table documents the X11 xterm control sequences.
`BEL'
Bell (Ctrl-G)
`BS'
Backspace (Ctrl-H)
`HT'
Horizontal Tab (Ctrl-I)
`NL'
Line Feed or New Line (Ctrl-J)
`VT'
Vertical Tab (Ctrl-K)
`NP'
Form Feed or New Page (Ctrl-L)
`CR'
Carriage Return (Ctrl-M)
`SO'
Shift Out (Ctrl-N) -> Switch to Alternate Character Set
`SI'
Shift In (Ctrl-O) -> Switch to Standard Character Set
`ESC BEL'
(Same as non-escaped BEL)
`ESC BS'
(Same as non-escaped BS)
`ESC HT'
(Same as non-escaped HT)
`ESC NL'
(Same as non-escaped NL)
`ESC VT'
(Same as non-escaped VT)
`ESC NP'
(Same as non-escaped NP)
`ESC CR'
(Same as non-escaped CR)
`ESC SO'
(Same as non-escaped SO)
`ESC SI'
(Same as non-escaped SI)
`ESC # BEL'
(Same as non-escaped BEL)
`ESC # BS'
(Same as non-escaped BS)
`ESC # HT'
(Same as non-escaped HT)
`ESC # NL'
(Same as non-escaped NL)
`ESC # VT'
(Same as non-escaped VT)
`ESC # NP'
(Same as non-escaped NP)
`ESC # CR'
(Same as non-escaped CR)
`ESC # SO'
(Same as non-escaped SO)
`ESC # SI'
(Same as non-escaped SI)
`ESC # 8'
DEC Screen Alignment Test (DECALN)
`ESC ( BEL'
(Same as non-escaped BEL)
`ESC ( BS'
(Same as non-escaped BS)
`ESC ( HT'
(Same as non-escaped HT)
`ESC ( NL'
(Same as non-escaped NL)
`ESC ( VT'
(Same as non-escaped VT)
`ESC ( NP'
(Same as non-escaped NP)
`ESC ( CR'
(Same as non-escaped CR)
`ESC ( SO'
(Same as non-escaped SO)
`ESC ( SI'
(Same as non-escaped SI)
`ESC ( C'
Select G0 Character Set (SCS)
C = 0 -> Special Character and Line Drawing Set
C = 1 -> Alternate Character ROM Standard Set
C = 2 -> Alternate Character ROM Special Set
C = A -> United Kingdom (UK)
C = B -> United States (USASCII)
`ESC ) C'
Select G1 Character Set (SCS)
C takes same values as above
`ESC * C'
Select G2 Character Set (SCS)
C takes same values as above
`ESC + C'
Select G3 Character Set (SCS)
C takes same values as above
`ESC 7'
Save Cursor (DECSC)
`ESC 8'
Restore Cursor (DECRC)
`ESC ='
Application Keypad (DECPAM)
`ESC >'
Normal Keypad (DECNM)
`ESC D'
Index (IND)
`ESC E'
Next Line (NEL)
`ESC H'
Tab Set (HTS)
`ESC M'
Reverse Index (RI)
`ESC N'
Single Shift Select of G2 Character Set (SS2)
`ESC O'
Single Shift Select of G3 Character Set (SS3)
`ESC [ Ps n'
Device Status Report (DSR)
Ps = 5 -> Status Report ESC [ 0 n -> OK
Ps = 6 -> Report Cursor Position (CPR) [row;column] as ESC [ r ; c
R
`ESC [ Ps ; Ps r'
Set Scrolling Region [top;bottom] (default = full size of window)
(DECSTBM)
`ESC ] Ps ND string NP'
OSC Mode
ND can be any non-digit Character (it's discarded)
NP can be any non-printing Character (it's discarded) string
can be any ASCII printable string (max 511 characters)
Ps = 0 -> use string as a new icon name and title
Ps = 1 -> use string is a new icon name only
Ps = 2 -> use string is a new title only
Ps = 46 -> use string as a new log file name