escape sequence

escape sequence

(character)
(Or "escape code") A series of characters starting with the escape character (ASCII 27). Escape sequences are often used to control display devices such as VDUs. An escape sequence might change the colour of subsequent text, reassign keys on the keyboard, change printer settings or reposition the cursor. The escape sequences of the DEC vt100 video terminal have become a de facto standard for this purpose.

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

This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

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.
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.