ANSI escape code

The ANSI escape codes (or ANSI codes, control codes, control sequences, etc.) are a set of standard byte sequences which cause special things to happen when interpreted by certain character-based terminals and other output devices. For example, a code might change the text color, or move the cursor. These codes (or some subset of them) are used ANSI Art and similar types of files.

Most codes produce graphical effects, but a few are intended for sound, or other functions.

Specifications and references

 * ANSI control sequences
 * ANSI code list
 * ANSI escape code
 * EMCA-48: Control Functions for Coded Character Sets

Links

 * ANSI escape code
 * ANSI.SYS