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

From Terminals
Jump to: navigation, search
m
m (DSR report)
Line 62: Line 62:
 
| r=#CPR
 
| r=#CPR
 
| lowerc=#DA-response
 
| lowerc=#DA-response
 +
| lowern=#DSR-response
 
}}
 
}}
 
|-
 
|-
Line 112: Line 113:
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Reset Mode|''Ps1'' <code>;</code> ...|RM|l|RM}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Reset Mode|''Ps1'' <code>;</code> ...|RM|l|RM}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Select Graphic Rendition|''Ps1''<nowiki>=</nowiki>0|SGR|m|SGR}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Select Graphic Rendition|''Ps1''<nowiki>=</nowiki>0|SGR|m|SGR}}
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Device Status Report|[[#dsr-parameters|''Ps1'']]<nowiki>=</nowiki>0|DSR|n|DSR}}
+
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Device Status Report|[[#dsr-request-parameters|''Ps1'']]<nowiki>=</nowiki>0|DSR|n|DSR}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Define Area Qualifications|[[#daq-parameters|''Ps1'']]<nowiki>=</nowiki>0 <code>;</code> ...|DAQ|o|DAQ}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Define Area Qualifications|[[#daq-parameters|''Ps1'']]<nowiki>=</nowiki>0 <code>;</code> ...|DAQ|o|DAQ}}
  
Line 191: Line 192:
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ id="dsr-parameters" | DSR Parameters
+
|+ id="dsr-response-parameters" | DSR Request Parameters
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Value
 
! style="padding: 1ex;" | Description
 
! style="padding: 1ex;" | Description
|-
 
| style="padding: 1ex; text-align: center;" | 0
 
| style="padding: 1ex;" | Ready, no malfunction detected
 
|-
 
| style="padding: 1ex; text-align: center;" | 1
 
| style="padding: 1ex;" | Busy, another DSR must be requested later
 
|-
 
| style="padding: 1ex; text-align: center;" | 2
 
| style="padding: 1ex;" | Busy, another DSR will be sent later
 
|-
 
| style="padding: 1ex; text-align: center;" | 3
 
| style="padding: 1ex;" | Some malfunction detected, another DSR must be requested later
 
|-
 
| style="padding: 1ex; text-align: center;" | 4
 
| style="padding: 1ex;" | Some malfunction detected, another DSR will be sent later
 
 
|-
 
|-
 
| style="padding: 1ex; text-align: center;" | 5
 
| style="padding: 1ex; text-align: center;" | 5
Line 316: Line 302:
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Position Report|''Pn1''<nowiki>=</nowiki>1 <code>;</code> ''Pn2''<nowiki>=</nowiki>1|CPR|R|CPR}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Cursor Position Report|''Pn1''<nowiki>=</nowiki>1 <code>;</code> ''Pn2''<nowiki>=</nowiki>1|CPR|R|CPR}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Device Attributes|''Ps1''|DA-response|c|DA}}
 
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Device Attributes|''Ps1''|DA-response|c|DA}}
 +
{{User:Legalize/Control Sequences/CodeDescriptionTable/Row|Device Status Report|[[#dsr-response-parameters|''Ps1'']]<nowiki>=</nowiki>0|DSR-response|n|DSR}}
 +
|}
 +
 +
{| class="wikitable"
 +
|+ id="dsr-response-parameters" | DSR Response Parameters
 +
! style="padding: 1ex;" | Value
 +
! style="padding: 1ex;" | Description
 +
|-
 +
| style="padding: 1ex; text-align: center;" | 0
 +
| style="padding: 1ex;" | Ready, no malfunction detected
 +
|-
 +
| style="padding: 1ex; text-align: center;" | 1
 +
| style="padding: 1ex;" | Busy, another DSR must be requested later
 +
|-
 +
| style="padding: 1ex; text-align: center;" | 2
 +
| style="padding: 1ex;" | Busy, another DSR will be sent later
 +
|-
 +
| style="padding: 1ex; text-align: center;" | 3
 +
| style="padding: 1ex;" | Some malfunction detected, another DSR must be requested later
 +
|-
 +
| style="padding: 1ex; text-align: center;" | 4
 +
| style="padding: 1ex;" | Some malfunction detected, another DSR will be sent later
 
|}
 
|}
  
 
|}
 
|}

Revision as of 08:14, 27 January 2013

Subpages of CSI

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
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
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 Request Parameters
Value Description
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
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
DSR Response 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