Difference between revisions of "CodeChart:ANSI/ESC"

From Terminals
Jump to: navigation, search
(create page)
 
m (moved User:Legalize/Control Sequences/ANSI/ESC to CodeChart:ANSI/ESC: Promote to real CodeChart)
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border="1" style="text-align: center;"
+
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]]
! style="width: 3em;" |  
+
 
! style="width: 3em;" |
+
{|
! style="width: 3em;" | 1
+
| valign="top" align="right" |
! style="width: 3em;" | 2
+
{{CodeChart
! style="width: 3em;" | 3
+
| title=Received
! style="width: 3em;" | 4
+
| b=#BPH
! style="width: 3em;" | 5
+
| c=#NBH
! style="width: 3em;" | 6
+
| d=#IND
! style="width: 3em;" | 7
+
| e=#NEL
 +
| f=#SSA
 +
| g=#ESA
 +
| h=#HTS
 +
| i=#HTJ
 +
| j=#VTS
 +
| k=#PLD
 +
| l=#PLU
 +
| m=#RI
 +
| n=#SS2
 +
| o=#SS3
 +
| p=#DCS
 +
| q=#PU1
 +
| r=#PU2
 +
| s=#STS
 +
| t=#CCH
 +
| u=#MW
 +
| v=#SPA
 +
| w=#EPA
 +
| x=#SOS
 +
| z=#SCI
 +
| lowera=#INT
 +
| lowerb=#EMI
 +
| lowerc=#RIS
 +
| lowerd=#CMD
 +
| lowerl=#LS3R
 +
| lowern=#LS2
 +
| lowero=#LS3
 +
| backquote=#DMI
 +
| backslash=#ST
 +
| openbracket=/CSI
 +
| closebracket=#OSC
 +
| closebrace=#LS2R
 +
| caret=#PM
 +
| tilde=#LS1R
 +
| underscore=#APC
 +
}}
 +
| style="width: 2ex;" |
 +
| valign="top" |
 +
{{CodeChart
 +
| title=Transmitted
 +
| openbracket=/CSI
 +
}}
 
|-
 
|-
! 0
+
| valign="top" |
| NUL || DLE || SP || 0 || @ || P || ` || p
+
{| class="wikitable sortable"
|-
+
|+ ESC Sequences
! 1
+
{{CodeDescriptionHeaderA}}
| SOH || DC1 || !  || 1 || A || Q || a || q
+
{{CodeDescriptionRowA|B|BPH|BPH|Break Permitted Here}}
|-
+
{{CodeDescriptionRowA|C|NBH|NBH|No Break Here}}
! 2
+
{{CodeDescriptionRowA|D|IND|IND|Index †}}
| STX || DC2 || "  || 2 || B || R || b || r
+
{{CodeDescriptionRowA|E|NEL|NEL|Next Line}}
|-
+
{{CodeDescriptionRowA|F|SSA|SSA|Start of Selected Area}}
! 3
+
{{CodeDescriptionRowA|G|ESA|ESA|End of Selected Area}}
| ETX || DC3 || || 3 || C || S || c || s
+
{{CodeDescriptionRowA|H|HTS|HTS|Horizontal Tab Set}}
|-
+
{{CodeDescriptionRowA|I|HTJ|HTJ|Horizontal Tab with Justification}}
! 4
+
{{CodeDescriptionRowA|J|VTS|VTS|Vertical Tab Set}}
| EOT || DC4 || || 4 || D || T || d || t
+
{{CodeDescriptionRowA|K|PLD|PLD|Partial Line Down}}
|-
+
{{CodeDescriptionRowA|L|PLU|PLU|Partial Line Up}}
! 5
+
{{CodeDescriptionRowA|M|RI|RI|Reverse Line Feed}}
| ENQ || NAQ || || 5 || E || U || e || u
+
{{CodeDescriptionRowA|N|SS2|SS2|Single-Shift Two}}
|-
+
{{CodeDescriptionRowA|O|SS3|SS3|Single-Shift Three}}
! 6
+
{{CodeDescriptionRowA|P|DCS|DCS|Device Control String|''command'' ST}}
| ACK || SYN || &  || 6 || F || V || f || v
+
{{CodeDescriptionRowA|Q|PU1|PU1|Private Use One}}
|-
+
{{CodeDescriptionRowA|R|PU2|PU2|Private Use Two}}
! 7
+
{{CodeDescriptionRowA|S|STS|STS|Set Transmit State}}
| BEL || ETB || ' || 7 || G || W || g || w
+
{{CodeDescriptionRowA|T|CCH|CCH|Cancel Character}}
|-
+
{{CodeDescriptionRowA|U|MW|MW|Message Waiting}}
! 8
+
{{CodeDescriptionRowA|V|SPA|SPA|Start of Protected Area}}
| BS  || CAN || || 8 || H || X || h || x
+
{{CodeDescriptionRowA|W|EPA|EPA|End of Protected Area}}
|-
+
{{CodeDescriptionRowA|X|SOS|SOS|Start Of String|''string'' ST}}
! 9
+
{{CodeDescriptionRowA|Z|SCI|SCI|Single Character Introducer}}
| HT  || EM  || || 9 || I || Y || i || y
+
{{CodeDescriptionRowA|\|ST|ST|String Terminator}}
|-
+
{{CodeDescriptionRowA|]|OSC|OSC|Operating System Command|''command'' ST}}
! 10
+
{{CodeDescriptionRowA|^|PM|PM|Privacy Message}}
| LF  || SUB || || : || J || Z || j || z
+
{{CodeDescriptionRowA|_|APC|APC|Application Program Command|''command'' ST}}
|-
+
{{CodeDescriptionRowA|`|DMI|DMI|Disable Manual Input}}
! 11
+
{{CodeDescriptionRowA|a|INT|INT|Interrupt}}
| VT || ESC || + || ; || K || [ || k || {
+
{{CodeDescriptionRowA|b|EMI|EMI|Enable Manual Input}}
|-
+
{{CodeDescriptionRowA|c|RIS|RIS|Reset to Initial State}}
! 12
+
{{CodeDescriptionRowA|d|CMD|CMD|Coding Method Delimiter}}
| FF || IS4 || , || < || L || \ || l || |
+
{{CodeDescriptionRowA|l|LS3R|LS3R|Locking-Shift Three Right}}
|-
+
{{CodeDescriptionRowA|n|LS2|LS2|Locking-Shift Two}}
! 13
+
{{CodeDescriptionRowA|o|LS3|LS3|Locking-Shift Three}}
| CR || IS3 || - || = || M || ] || m || }
+
{{CodeDescriptionRowA|<nowiki>}</nowiki>|LS2R|LS2R|Locking-Shift Two Right}}
|-
+
{{CodeDescriptionRowA|~|LS1R|LS1R|Locking-Shift One Right}}
! 14
+
|}
| SO || IS2 || . || > || N || ^ || n || ~
+
 
|-
+
&dagger; '''Note:''' IND was removed from later versions of ECMA-48.
! 15
+
 
| SI || IS1 || / || ? || O || _ || o || DEL
 
 
|}
 
|}

Latest revision as of 04:25, 15 February 2013

Subpages of ESC

Received
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
Transmitted
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ' 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
10 LF SUB * : J Z j z
11 VT ESC + ; K [ k {
12 FF IS4 , < L \ l |
13 CR IS3 - = M ] m }
14 SO IS2 . > N ^ n ~
15 SI IS1 / ? O _ o DEL
ESC Sequences
Prefix Acronym Description Parameters
B BPH Break Permitted Here none
C NBH No Break Here none
D IND Index † none
E NEL Next Line none
F SSA Start of Selected Area none
G ESA End of Selected Area none
H HTS Horizontal Tab Set none
I HTJ Horizontal Tab with Justification none
J VTS Vertical Tab Set none
K PLD Partial Line Down none
L PLU Partial Line Up none
M RI Reverse Line Feed none
N SS2 Single-Shift Two none
O SS3 Single-Shift Three none
P DCS Device Control String command ST
Q PU1 Private Use One none
R PU2 Private Use Two none
S STS Set Transmit State none
T CCH Cancel Character none
U MW Message Waiting none
V SPA Start of Protected Area none
W EPA End of Protected Area none
X SOS Start Of String string ST
Z SCI Single Character Introducer none
\ ST String Terminator none
] OSC Operating System Command command ST
^ PM Privacy Message none
_ APC Application Program Command command ST
` DMI Disable Manual Input none
a INT Interrupt none
b EMI Enable Manual Input none
c RIS Reset to Initial State none
d CMD Coding Method Delimiter none
l LS3R Locking-Shift Three Right none
n LS2 Locking-Shift Two none
o LS3 Locking-Shift Three none
} LS2R Locking-Shift Two Right none
~ LS1R Locking-Shift One Right none

Note: IND was removed from later versions of ECMA-48.