Non-CSI Codes
Note: other C0 codes besides ESC — commonly BEL, BS, CR, LF, FF, TAB, VT, SO, and SI — may produce similar or identical effects to some control sequences when output.
ESC N = SS2, ESC O = SS3 — select a single character from one of the alternate character sets.
ESC ^ = PM, ESC _ = APC — these each take a single string of text, terminated by ST (ESC \ ). They are ignored by xterm.
ESC P = DCS: Device control string, ESC ] = OSC: Operating system command — these are similar to CSI, but not limited to integer arguments. Because they are frequently used, in many cases BEL is an acceptable alternative to ST. E.g., in xterm, the window title can be set by: "OSC0;this is the window titleBEL"
Note: pressing special keys on the keyboard, as well as outputting many xterm CSI, DCS, or OSC sequences, often produces a CSI, DCS, or OSC sequence.
Read more about this topic: ANSI Escape Code
Famous quotes containing the word codes:
“Thou hast a voice, great Mountain, to repeal
Large codes of fraud and woe; not understood
By all, but which the wise, and great, and good
Interpret, or make felt, or deeply feel.”
—Percy Bysshe Shelley (17921822)