escape sequence


escape sequence

(character)(Or "escape code") A series of characters startingwith the escape character (ASCII 27). Escape sequences areoften used to control display devices such as VDUs. Anescape sequence might change the colour of subsequent text,reassign keys on the keyboard, change printer settings orreposition the cursor. The escape sequences of the DECvt100 video terminal have become a de facto standard forthis purpose.

The term is also used for any sequence of characters thattemporarily suspends normal processing of a stream ofcharacters to perform some special function. For example, theHayes modem uses the sequence "+++" to escape to commandmode in which characters are interpreted as commands to themodem itself rather than as data to pass through.

escape sequence

(1) A text command that begins with an escape code. Printers are often commanded by escape sequences. See escape code.

(2) In a modem, a unique sequence of characters that precedes a command. It allows modem commands (dial, hang up, etc.) to be transmitted with the data. See TIES and Hayes Smartmodem.