Difference between revisions of "CodeChart:ANSI/ESC/CSI"

From Terminals
Jump to: navigation, search
m (text-align)
m (text-align)
Line 153: Line 153:
 
|+ id="daq-parameters" | DAQ Parameters
 
|+ id="daq-parameters" | DAQ Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Unprotected and unguarded
+
| style="padding: 1ex;" | Unprotected and unguarded
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Protected and guarded
+
| style="padding: 1ex;" | Protected and guarded
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Graphic character input
+
| style="padding: 1ex;" | Graphic character input
 
|-
 
|-
| style="padding: 1ex;" | 3
+
| style="padding: 1ex; text-align: center;" | 3
| style="padding: 1ex; text-align: left;" | Numeric input
+
| style="padding: 1ex;" | Numeric input
 
|-
 
|-
| style="padding: 1ex;" | 4
+
| style="padding: 1ex; text-align: center;" | 4
| style="padding: 1ex; text-align: left;" | Alphabetic input
+
| style="padding: 1ex;" | Alphabetic input
 
|-
 
|-
| style="padding: 1ex;" | 5
+
| style="padding: 1ex; text-align: center;" | 5
| style="padding: 1ex; text-align: left;" | Right-justified input
+
| style="padding: 1ex;" | Right-justified input
 
|-
 
|-
| style="padding: 1ex;" | 6
+
| style="padding: 1ex; text-align: center;" | 6
| style="padding: 1ex; text-align: left;" | Fill with zeros
+
| style="padding: 1ex;" | Fill with zeros
 
|-
 
|-
| style="padding: 1ex;" | 7
+
| style="padding: 1ex; text-align: center;" | 7
| style="padding: 1ex; text-align: left;" | Set a tab stop
+
| style="padding: 1ex;" | Set a tab stop
 
|-
 
|-
| style="padding: 1ex;" | 8
+
| style="padding: 1ex; text-align: center;" | 8
| style="padding: 1ex; text-align: left;" | Protected and unguarded
+
| style="padding: 1ex;" | Protected and unguarded
 
|-
 
|-
| style="padding: 1ex;" | 9
+
| style="padding: 1ex; text-align: center;" | 9
| style="padding: 1ex; text-align: left;" | Fill with spaces
+
| style="padding: 1ex;" | Fill with spaces
 
|-
 
|-
| style="padding: 1ex;" | 10
+
| style="padding: 1ex; text-align: center;" | 10
| style="padding: 1ex; text-align: left;" | Left-justified input
+
| style="padding: 1ex;" | Left-justified input
 
|-
 
|-
| style="padding: 1ex;" | 11
+
| style="padding: 1ex; text-align: center;" | 11
| style="padding: 1ex; text-align: left;" | Reverse order of character positions within field
+
| style="padding: 1ex;" | Reverse order of character positions within field
 
|}
 
|}
  
Line 195: Line 195:
 
|+ id="dsr-parameters" | DSR Parameters
 
|+ id="dsr-parameters" | DSR Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Ready, no malfunction detected
+
| style="padding: 1ex;" | Ready, no malfunction detected
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Busy, another DSR must be requested later
+
| style="padding: 1ex;" | Busy, another DSR must be requested later
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Busy, another DSR will be sent later
+
| style="padding: 1ex;" | Busy, another DSR will be sent later
 
|-
 
|-
| style="padding: 1ex;" | 3
+
| style="padding: 1ex; text-align: center;" | 3
| style="padding: 1ex; text-align: left;" | Some malfunction detected, another DSR must be requested later
+
| style="padding: 1ex;" | Some malfunction detected, another DSR must be requested later
 
|-
 
|-
| style="padding: 1ex;" | 4
+
| style="padding: 1ex; text-align: center;" | 4
| style="padding: 1ex; text-align: left;" | Some malfunction detected, another DSR will be sent later
+
| style="padding: 1ex;" | Some malfunction detected, another DSR will be sent later
 
|-
 
|-
| style="padding: 1ex;" | 5
+
| style="padding: 1ex; text-align: center;" | 5
| style="padding: 1ex; text-align: left;" | A DSR is requested
+
| style="padding: 1ex;" | A DSR is requested
 
|-
 
|-
| style="padding: 1ex;" | 6
+
| style="padding: 1ex; text-align: center;" | 6
| style="padding: 1ex; text-align: left;" | A cursor position report (CPR) is requested
+
| style="padding: 1ex;" | A cursor position report (CPR) is requested
 
|}
 
|}
 
 
==== <span id="ea-parameters">EA Parameters</span> ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|+ id="ea-parameters" | EA Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Erase from cursor to end of area
+
| style="padding: 1ex;" | Erase from cursor to end of area
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Erase from start of area to cursor
+
| style="padding: 1ex;" | Erase from start of area to cursor
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Erase entire area
+
| style="padding: 1ex;" | Erase entire area
 
|}
 
|}
 
 
==== <span id="ed-parameters">ED Parameters</span> ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|+ id="ed-parameters" | ED Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Erase from cursor to end of display
+
| style="padding: 1ex;" | Erase from cursor to end of display
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Erase from start of display to cursor
+
| style="padding: 1ex;" | Erase from start of display to cursor
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Erase entire display
+
| style="padding: 1ex;" | Erase entire display
 
|}
 
|}
 
 
==== <span id="ef-parameters">EF Parameters</span> ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|+ id="ef-parameters" | EF Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Erase from cursor to end of field
+
| style="padding: 1ex;" | Erase from cursor to end of field
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Erase from start of field to cursor
+
| style="padding: 1ex;" | Erase from start of field to cursor
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Erase entire field
+
| style="padding: 1ex;" | Erase entire field
 
|}
 
|}
 
 
==== <span id="el-parameters">EL Parameters</span> ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|+ id="el-parameters" | EL Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Erase from cursor to end of line
+
| style="padding: 1ex;" | Erase from cursor to end of line
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Erase from start of line to cursor
+
| style="padding: 1ex;" | Erase from start of line to cursor
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Erase entire line
+
| style="padding: 1ex;" | Erase entire line
 
|}
 
|}
 
 
==== <span id="mc-parameter">MC Parameters</span> ====
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|+ id="mc-parameter" | MC Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
! style="padding: 1ex; text-align: left;" | Description
+
! style="padding: 1ex;" | Description
 
|-
 
|-
| style="padding: 1ex;" | 0
+
| style="padding: 1ex; text-align: center;" | 0
| style="padding: 1ex; text-align: left;" | Start transfer to primary auxiliary device
+
| style="padding: 1ex;" | Start transfer to primary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 1
+
| style="padding: 1ex; text-align: center;" | 1
| style="padding: 1ex; text-align: left;" | Start transfer from a primary auxiliary device
+
| style="padding: 1ex;" | Start transfer from a primary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 2
+
| style="padding: 1ex; text-align: center;" | 2
| style="padding: 1ex; text-align: left;" | Start transfer to a secondary auxiliary device
+
| style="padding: 1ex;" | Start transfer to a secondary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 3
+
| style="padding: 1ex; text-align: center;" | 3
| style="padding: 1ex; text-align: left;" | Start transfer from a secondary auxiliary device
+
| style="padding: 1ex;" | Start transfer from a secondary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 4
+
| style="padding: 1ex; text-align: center;" | 4
| style="padding: 1ex; text-align: left;" | Stop relay to a primary auxiliary device
+
| style="padding: 1ex;" | Stop relay to a primary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 5
+
| style="padding: 1ex; text-align: center;" | 5
| style="padding: 1ex; text-align: left;" | Start relay to a primary auxiliary device
+
| style="padding: 1ex;" | Start relay to a primary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 6
+
| style="padding: 1ex; text-align: center;" | 6
| style="padding: 1ex; text-align: left;" | Stop relay to a secondary auxiliary device
+
| style="padding: 1ex;" | Stop relay to a secondary auxiliary device
 
|-
 
|-
| style="padding: 1ex;" | 7
+
| style="padding: 1ex; text-align: center;" | 7
| style="padding: 1ex; text-align: left;" | Start relay to a secondary auxiliary device
+
| style="padding: 1ex;" | Start relay to a secondary auxiliary device
 
|}
 
|}
  
 
|}
 
|}

Revision as of 04:39, 27 January 2013

Subpages of CSI

Received 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
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
Prefix Acronym Description Parameters
ESC CSI Sequences User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row User:Legalize/Control Sequences/CodeDescriptionTable/Row
CTC Parameters
Value Description
0 Set horizontal tab stop
1 Set vertical tab stop
2 Clear horizontal tab stop
3 Clear vertical tab stop
4 Clear all horizontal tab stops on the current line
5 Clear all horizontal tab stops
6 Clear all tab stops
DAQ Parameters
Value Description
0 Unprotected and unguarded
1 Protected and guarded
2 Graphic character input
3 Numeric input
4 Alphabetic input
5 Right-justified input
6 Fill with zeros
7 Set a tab stop
8 Protected and unguarded
9 Fill with spaces
10 Left-justified input
11 Reverse order of character positions within field
DSR Parameters
Value Description
0 Ready, no malfunction detected
1 Busy, another DSR must be requested later
2 Busy, another DSR will be sent later
3 Some malfunction detected, another DSR must be requested later
4 Some malfunction detected, another DSR will be sent later
5 A DSR is requested
6 A cursor position report (CPR) is requested
EA Parameters
Value Description
0 Erase from cursor to end of area
1 Erase from start of area to cursor
2 Erase entire area
ED Parameters
Value Description
0 Erase from cursor to end of display
1 Erase from start of display to cursor
2 Erase entire display
EF Parameters
Value Description
0 Erase from cursor to end of field
1 Erase from start of field to cursor
2 Erase entire field
EL Parameters
Value Description
0 Erase from cursor to end of line
1 Erase from start of line to cursor
2 Erase entire line
MC Parameters
Value Description
0 Start transfer to primary auxiliary device
1 Start transfer from a primary auxiliary device
2 Start transfer to a secondary auxiliary device
3 Start transfer from a secondary auxiliary device
4 Stop relay to a primary auxiliary device
5 Start relay to a primary auxiliary device
6 Stop relay to a secondary auxiliary device
7 Start relay to a secondary auxiliary device