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|
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 CSI Sequences
Prefix
|
Acronym
|
Description
|
Parameters
|
@
|
ICH
|
Insert Character
|
Pn1=1
|
A
|
CUU
|
Cursor Up
|
Pn1=1
|
B
|
CUD
|
Cursor Down
|
Pn1=1
|
C
|
CUF
|
Cursor Forward
|
Pn1=1
|
D
|
CUB
|
Cursor Back
|
Pn1=1
|
E
|
CNL
|
Cursor Next Line
|
Pn1=1
|
F
|
CPL
|
Cursor Previous Line
|
Pn1=1
|
G
|
CHA
|
Cursor Horizontal Absolute
|
Pn1=1
|
H
|
CUP
|
Cursor Position
|
line=1 ; col=1
|
I
|
CHT
|
Cursor Horizontal Tab
|
Pn1=1
|
J
|
ED
|
Erase Display
|
Ps1=0
|
K
|
EL
|
Erase Line
|
Ps1=0
|
L
|
IL
|
Insert Line
|
Pn1=1
|
M
|
DL
|
Delete Line
|
Pn1=1
|
N
|
EF
|
Erase Field
|
Ps1=0
|
O
|
EA
|
Erase Area
|
Ps1=0
|
P
|
DCH
|
Delete Character
|
Pn1=1
|
Q
|
SEE
|
Select Editing Extent
|
Ps1=0
|
S
|
SU
|
Scroll Up
|
Pn1=1
|
T
|
SD
|
Scroll Down
|
Pn1=1
|
U
|
NP
|
Next Page
|
Pn1=1
|
V
|
PP
|
Previous Page
|
Pn1=1
|
W
|
CTC
|
Cursor Tabulation Control
|
Ps1=0 ; ...
|
X
|
ECH
|
Erase Character
|
Pn1=1
|
Y
|
CVT
|
Cursor Vertical Tab
|
Pn1=1
|
Z
|
CBT
|
Cursor Backward Tab
|
Pn1=1
|
`
|
HPA
|
Horizontal Position Absolute
|
Pn1=1
|
a
|
HPR
|
Horizontal Position Right
|
Pn1=1
|
b
|
REP
|
Repeat
|
Pn1=1
|
c
|
DA
|
Device Attributes
|
0
|
d
|
VPA
|
Vertical Position Absolute
|
Pn1=1
|
e
|
VPR
|
Vertical Position Right
|
Pn1=1
|
f
|
HVP
|
Horizontal Vertical Position
|
Pn1=1 ; Pn2=2
|
g
|
TBC
|
Tabulation Clear
|
Ps1=0
|
h
|
SM
|
Set Mode
|
Ps1 ; ...
|
i
|
MC
|
Media Copy
|
Ps1=0
|
j
|
HPB
|
Horizontal Position Backward
|
Pn1=1
|
k
|
VPB
|
Vertical Position Backward
|
Pn1=1
|
l
|
RM
|
Reset Mode
|
Ps1 ; ...
|
m
|
SGR
|
Select Graphic Rendition
|
Ps1=0
|
n
|
DSR
|
Device Status Report
|
Ps1=0
|
o
|
DAQ
|
Define Area Qualifications
|
Ps1=0 ; ...
|
[
|
SRS
|
Start Reversed String
|
Ps1=0
|
\
|
PTX
|
Parallel Texts
|
Ps1=0
|
]
|
SDS
|
Start Directed String
|
Ps1=0
|
^
|
SIMD
|
Select Implicit Movement Direction
|
Ps1=0
|
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
|
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
|
|
|
ESC CSI Sequences
Prefix
|
Acronym
|
Description
|
Parameters
|
R
|
CPR
|
Cursor Position Report
|
line ; col
|
c
|
DA
|
Device Attributes
|
Ps1
|
n
|
DSR
|
Device Status Report
|
Ps1=0
|
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
|
|