Difference between revisions of "CodeChart:Heathkit H19/ANSI Mode/ESC/CSI"

From Terminals
Jump to: navigation, search
(create page)
 
m (show semi-colons between parameters)
 
Line 41: Line 41:
 
{{CodeDescriptionRowA|C|cuf|CUF|Cursor forward|''Pn''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|C|cuf|CUF|Cursor forward|''Pn''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|D|cub|CUB|Cursor backward|''Pn''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|D|cub|CUB|Cursor backward|''Pn''<nowiki>=</nowiki>1}}
{{CodeDescriptionRowA|H|cup|CUP|Cursor position|''line''<nowiki>=</nowiki>1 ''col''<nowiki>=</nowiki>1}}
+
{{CodeDescriptionRowA|H|cup|CUP|Cursor position|''line''<nowiki>=</nowiki>1 <code>;</code> ''col''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|J|ed|ED|Erase in display|[[#ed-params|''Ps'']]<nowiki>=</nowiki>0}}
 
{{CodeDescriptionRowA|J|ed|ED|Erase in display|[[#ed-params|''Ps'']]<nowiki>=</nowiki>0}}
 
{{CodeDescriptionRowA|K|el|EL|Ersae in line|[[#el-params|''Ps'']]<nowiki>=</nowiki>0}}
 
{{CodeDescriptionRowA|K|el|EL|Ersae in line|[[#el-params|''Ps'']]<nowiki>=</nowiki>0}}
Line 47: Line 47:
 
{{CodeDescriptionRowA|M|dl|DL|Delete line|''Pn''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|M|dl|DL|Delete line|''Pn''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|P|dch|DCH|Delete character|''Pn''<nowiki>=</nowiki>1}}
 
{{CodeDescriptionRowA|P|dch|DCH|Delete character|''Pn''<nowiki>=</nowiki>1}}
{{CodeDescriptionRowA|f|hvp|HVP|Horizontal and vertical position|''line''<nowiki>=</nowiki>1 ''col''<nowiki>=</nowiki>1}}
+
{{CodeDescriptionRowA|f|hvp|HVP|Horizontal and vertical position|''line''<nowiki>=</nowiki>1 <code>;</code> ''col''<nowiki>=</nowiki>1}}
{{CodeDescriptionRowA|h|sm|SM|Set mode|[[#sm-modes|''Ps'']]...}}
+
{{CodeDescriptionRowA|h|sm|SM|Set mode|[[#sm-modes|''Ps'']] <code>;</code>...}}
{{CodeDescriptionRowA|l|rm|RM|Reset mode|[[#rm-modes|''Ps'']]...}}
+
{{CodeDescriptionRowA|l|rm|RM|Reset mode|[[#rm-modes|''Ps'']] <code>;</code>...}}
{{CodeDescriptionRowA|m|sgr|SGR|Set graphic rendition|[[#sgr-params|''Ps'']]<nowiki>=</nowiki>0...}}
+
{{CodeDescriptionRowA|m|sgr|SGR|Set graphic rendition|[[#sgr-params|''Ps'']]<nowiki>=</nowiki>0 <code>;</code>...}}
 
{{CodeDescriptionRowA|n|dsr|DSR|Cursor position report|<code>6</code>}}
 
{{CodeDescriptionRowA|n|dsr|DSR|Cursor position report|<code>6</code>}}
 
{{CodeDescriptionRowA|p|pxmt|PXMT|Transmit page}}
 
{{CodeDescriptionRowA|p|pxmt|PXMT|Transmit page}}
Line 64: Line 64:
 
|+ ESC [ Sequences
 
|+ ESC [ Sequences
 
{{CodeDescriptionHeaderA}}
 
{{CodeDescriptionHeaderA}}
{{CodeDescriptionRowA|R|cpr-report|CPR|Cursor position report|''line'' ''col''}}
+
{{CodeDescriptionRowA|R|cpr-report|CPR|Cursor position report|''line'' <code>;</code> ''col''}}
 
|}
 
|}
 
|-
 
|-

Latest revision as of 03:25, 17 February 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
ESC [ Sequences
Prefix Acronym Description Parameters
A CUU Cursor up Pn=1
B CUD Cursor down Pn=1
C CUF Cursor forward Pn=1
D CUB Cursor backward Pn=1
H CUP Cursor position line=1 ; col=1
J ED Erase in display Ps=0
K EL Ersae in line Ps=0
L IL Insert line Pn=1
M DL Delete line Pn=1
P DCH Delete character Pn=1
f HVP Horizontal and vertical position line=1 ; col=1
h SM Set mode Ps ;...
l RM Reset mode Ps ;...
m SGR Set graphic rendition Ps=0 ;...
n DSR Cursor position report 6
p PXMT Transmit page none
q PX25 Transmit 25th line none
r PMBR Modify baud rate Pn
s PSCP Save cursor position none
u PRCP Restore cursor position none
z PRAM Reset to power-up configuration none
ESC [ Sequences
Prefix Acronym Description Parameters
R CPR Cursor position report line ; col
ESC [ J Parameters
Value Description
0 Erase from cursor to end of screen
1 Erase from start of screen to cursor
2 Erase entire screen
ESC [ K Parameters
Value Description
0 Erase from cursor to end of line
1 Erase from start of line to cursor
2 Erase entire line
ESC [ h Parameters
Value Mnemonic Description
2 KAM Keyboard disabled
4 IRM Insert character mode on
20 LNM New line mode on
>1 L25 Enable 25th line
>2 KCL No key click
>3 HSM Enable hold screen mode
>4 CBL Blinking block cursor
>5 CDE Cursor off
>6 KSH Keypad shifted
>7 KAM Alternate keypad mode
>8 ALF Auto line feed on receipt of CR
>9 ACR Auto CR on receipt of line feed
?2 HMD Enter Heathkit H19 mode
?7 WAR Wrap around at end of line
ESC [ l Parameters
Value Mnemonic Description
2 KAM Keyboard enabled
4 IRM Insert character mode off
20 LNM New line mode off
>1 L25 Disable 25th line
>2 KCL Enable key click
>3 HSM Disable hold screen mode
>4 CBL Blinking underscore cursor
>5 CDE Cursor on
>6 KSH Keypad unshifted
>7 KAM Normal keypad mode
>8 ALF No auto line feed on receipt of CR
>9 ACR No auto CR on receipt of line feed
?7 WAR Discard past end of line
ESC [ m Parameters
Value Description
0 Reverse video off
7 Reverse video on
10 Enter graphics mode
11 Exit graphics mode
ESC [ r Parameters
Value Description
1 110 baud
2 150 baud
3 300 baud
4 600 baud
5 1200 baud
6 1800 baud
7 2000 baud
8 2400 baud
9 3600 baud
10 4800 baud
11 7200 baud
12 9600 baud