Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Escape sequence
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Control sequences== When directed, this series of [[character (computing)|characters]] is used to change the [[State (computer science)|state]] of [[computer]]s and their attached [[peripheral]] devices, rather than to be displayed or printed as regular [[Data (computing)|data]] bytes would be, these are also known as '''control sequences''', reflecting their use in device control, beginning with the '''Control Sequence Initiator''' - originally the "escape character" ASCII code - character 27 (decimal) - often written "Esc" on [[keycap]]s. With the introduction of ANSI terminals most escape sequences began with the ''two'' characters "ESC" then "[" or a specially-allocated '''CSI''' character with a code 155 (decimal). Not all control sequences used an escape character; for example: * modem control sequences used by AT/[[Hayes command set|Hayes-compatible]] modems<ref name="Hayes"/><ref name="CISCO"/> * [[Data General]] terminal control sequences,<ref name="Data_General_Terminals"/><ref name="Kermit"/><ref name="DG210"/> but they often were still called escape sequences, and the very common use of "escaping" special characters in programming languages and command-line parameters today often use the "backslash" character to begin the sequence. Escape sequences in communications are commonly used when a computer and a peripheral have only a single channel through which to send information back and forth (so escape sequences are an example of [[in-band signaling]]).<ref name="Dict"/><ref name="Terminal_Handbook"/> They were common when most [[dumb terminals]] used [[ASCII]] with 7 data bits for communication, and sometimes would be used to switch to a different character set for "foreign" or graphics characters that would otherwise been restricted by the 128 codes available in 7 data bits. Even relatively "dumb" terminals responded to some escape sequences, including the original mechanical Teletype printers (on which "glass Teletypes" or VDUs were based) responded to characters 27 and 31 to alternate between letters and figures modes.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Escape sequence
(section)
Add topic