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:
“I cannot help thinking that the menace of Hell makes as many devils as the severe penal codes of inhuman humanity make villains.”
—George Gordon Noel Byron (17881824)