Difference between revisions of "CodeChart:ANSI"

From Terminals
Jump to: navigation, search
m
m (category)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]]
 
[[:Special:PrefixIndex/{{FULLPAGENAME}}/|Subpages of {{SUBPAGENAME}}]]
 
+
{|
{| border="1" style="text-align: center;"
+
| valign="top" |
! style="width: 3em;" |  
+
{{CodeChart | title=Received
! style="width: 3em;" |
+
| nul=#nul
! style="width: 3em;" | 1
+
| stx=#stx
! style="width: 3em;" | 2
+
| soh=#soh
! style="width: 3em;" | 3
+
| etx=#etx
! style="width: 3em;" | 4
+
| eot=#eot
! style="width: 3em;" | 5
+
| enq=#enq
! style="width: 3em;" | 6
+
| ack=#ack
! style="width: 3em;" | 7
+
| bel=#bel
 +
| bs=#bs
 +
| ht=#ht
 +
| lf=#lf
 +
| vt=#vt
 +
| ff=#ff
 +
| cr=#cr
 +
| so=#so
 +
| si=#si
 +
| dle=#dle
 +
| dc1=#dc1
 +
| dc2=#dc2
 +
| dc3=#dc3
 +
| dc4=#dc4
 +
| naq=#naq
 +
| syn=#syn
 +
| etb=#etb
 +
| can=#can
 +
| em=#em
 +
| sub=#sub
 +
| esc=/ESC
 +
| is4=#is4
 +
| is3=#is3
 +
| is2=#is2
 +
| is1=#is1
 +
}}
 +
| style="width: 2ex;" |
 +
| valign="top" |
 +
{{CodeChart
 +
| title=Transmitted
 +
| esc=/ESC
 +
}}
 
|-
 
|-
! 0
+
| valign="top" |
| NUL || DLE || SP || 0 || @ || P || ` || p
+
{| class="wikitable"
|-
+
|+ Control Sequences
! 1
+
{{CodeDescriptionHeader}}
| SOH || DC1 || !  || 1 || A || Q || a || q
+
{{CodeDescriptionRow|NUL|nul|Null}}
|-
+
{{CodeDescriptionRow|STX|stx|Start of Text}}
! 2
+
{{CodeDescriptionRow|SOH|soh|Start of Heading}}
| STX || DC2 || || 2 || B || R || b || r
+
{{CodeDescriptionRow|ETX|etx|End of Text}}
|-
+
{{CodeDescriptionRow|EOT|eot|End of Transmission}}
! 3
+
{{CodeDescriptionRow|ENQ|enq|Enquiry}}
| ETX || DC3 || #  || 3 || C || S || c || s
+
{{CodeDescriptionRow|ACK|ack|Acknowledge}}
|-
+
{{CodeDescriptionRow|BEL|bel|Bell}}
! 4
+
{{CodeDescriptionRow|BS|bs|Back Space}}
| EOT || DC4 || $  || 4 || D || T || d || t
+
{{CodeDescriptionRow|HT|ht|Character Tabulation}}
|-
+
{{CodeDescriptionRow|LF|lf|Line Feed}}
! 5
+
{{CodeDescriptionRow|VT|vt|Line Tabulation}}
| ENQ || NAQ || %  || 5 || E || U || e || u
+
{{CodeDescriptionRow|FF|ff|Form Feed}}
|-
+
{{CodeDescriptionRow|CR|cr|Carriage Return}}
! 6
+
{{CodeDescriptionRow|SO|so|Shift-Out}}
| ACK || SYN || &  || 6 || F || V || f || v
+
{{CodeDescriptionRow|SI|si|Shift-In}}
|-
+
{{CodeDescriptionRow|DLE|dle|Data Link Escape}}
! 7
+
{{CodeDescriptionRow|DC1|dc1|Device Control One}}
| BEL || ETB || || 7 || G || W || g || w
+
{{CodeDescriptionRow|DC2|dc2|Device Control Two}}
|-
+
{{CodeDescriptionRow|DC3|dc3|Device Control Three}}
! 8
+
{{CodeDescriptionRow|DC4|dc4|Device Control Four}}
| BS  || CAN || || 8 || H || X || h || x
+
{{CodeDescriptionRow|NAQ|naq|Negative Acknowledge}}
|-
+
{{CodeDescriptionRow|SYN|syn|Synchronous Idle}}
! 9
+
{{CodeDescriptionRow|ETB|etb|End of Transmission Block}}
| HT  || EM  || )  || 9 || I || Y || i || y
+
{{CodeDescriptionRow|CAN|can|Cancel}}
|-
+
{{CodeDescriptionRow|EM|em|End of Medium}}
! 10
+
{{CodeDescriptionRow|SUB|sub|Substitute}}
| LF  || SUB || || : || J || Z || j || z
+
{{CodeDescriptionRow|IS4|is4|Information Separator Four}}
|-
+
{{CodeDescriptionRow|IS3|is3|Information Separator Three}}
! 11
+
{{CodeDescriptionRow|IS2|is2|Information Separator Two}}
| VT || [[{{FULLPAGENAME}}/ESC|'''ESC''']] || + || ; || K || [ || k || {
+
{{CodeDescriptionRow|IS1|is1|Information Separator One}}
|-
+
|}
! 12
 
| FF || IS4 || , || < || L || \ || l || |
 
|-
 
! 13
 
| CR || IS3 || - || = || M || ] || m || }
 
|-
 
! 14
 
| SO || IS2 || . || > || N || ^ || n || ~
 
|-
 
! 15
 
| SI || IS1 || / || ? || O || _ || o || DEL
 
 
|}
 
|}
 +
 +
Source: [[Wikipedia:ANSI escape code|ANSI X3.64 control sequences]] are defined in the [http://www.ecma-international.org/publications/standards/Ecma-048.htm ECMA-48] standard.  ECMA-48 also incorporates elements of the [http://www.ecma-international.org/publications/standards/Ecma-035.htm ECMA-35] standard for designation of alternate code set.  The tables shown here refer to the 7-bit encodings.
 +
 +
[[Category:Code Chart]]

Latest revision as of 04:00, 15 January 2014

Subpages of ANSI

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
Control Sequences
Prefix Description Parameters
NUL Null none
STX Start of Text none
SOH Start of Heading none
ETX End of Text none
EOT End of Transmission none
ENQ Enquiry none
ACK Acknowledge none
BEL Bell none
BS Back Space none
HT Character Tabulation none
LF Line Feed none
VT Line Tabulation none
FF Form Feed none
CR Carriage Return none
SO Shift-Out none
SI Shift-In none
DLE Data Link Escape none
DC1 Device Control One none
DC2 Device Control Two none
DC3 Device Control Three none
DC4 Device Control Four none
NAQ Negative Acknowledge none
SYN Synchronous Idle none
ETB End of Transmission Block none
CAN Cancel none
EM End of Medium none
SUB Substitute none
IS4 Information Separator Four none
IS3 Information Separator Three none
IS2 Information Separator Two none
IS1 Information Separator One none

Source: ANSI X3.64 control sequences are defined in the ECMA-48 standard. ECMA-48 also incorporates elements of the ECMA-35 standard for designation of alternate code set. The tables shown here refer to the 7-bit encodings.