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:
“... until both employers and workers groups assume responsibility for chastising their own recalcitrant children, they can vainly bay the moon about ignorant and unfair public criticism. Moreover, their failure to impose voluntarily upon their own groups codes of decency and honor will result in more and more necessity for government control.”
—Mary Barnett Gilson (1877?)