ANSI escape code
ANSI escape codes are used to control text formatting and other output options on some text terminals. All these escape sequences start with the characters ESC (ASCII 27d / 1Bh / 033o ) and [ (left bracket). This sequence is called CSI for "Control Sequence Introducer"
Related Topics:
ANSI - Text terminals - ASCII
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
From the MS-DOS prompt command, the escape character can be specified as $e, e.g. prompt $e[44m;... would specify a blue background as part of the prompt. In QBasic or GWBASIC, the code would be CHR$(27) or CHR$(&H1B) (for those of you who prefer hexadecimal). DOS systems need a device driver for the ANSI codes ? the de facto standard being ANSI.SYS, but others are used as well.
Related Topics:
MS-DOS - Escape character - QBasic - GWBASIC - Hexadecimal - Device driver - ANSI.SYS
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ Table of Content ~
| ► | Introduction |
| ► | Examples |
| ► | See also |
| ► | External Links |
~ What's Hot ~
~ Community ~
| ► | History Forum Come and discuss about History, Civilizations, Historical Events and Figures |
| ► | History Web-Ring A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site. |
and are licensed under the GNU Free Documentation License.
Lexicon - Privacy Policy - Spiritus-Temporis.com ©2005.
