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

From Terminals
< CodeChart:ANSI‎ | ESC‎ | CSI
Jump to: navigation, search
m (jfy parameters, formatting)
m (color links)
Line 5: Line 5:
 
|-
 
|-
 
! 0
 
! 0
| NUL || DLE || SP || 0 || [[#SL|'''@''']] || [[#PPA|'''P''']] || [[#TATE|'''`''']] || p
+
| NUL || DLE || SP || 0 || style="background-color: khaki;" | [[#SL|'''@''']] || style="background-color: khaki;" | [[#PPA|'''P''']] || style="background-color: khaki;" | [[#TATE|'''`''']] || p
 
|-
 
|-
 
! 1
 
! 1
| SOH || DC1 || !  || 1 || [[#SR|'''A''']] || [[#PPR|'''Q''']] || [[#TALE|'''a''']] || q
+
| SOH || DC1 || !  || 1 || style="background-color: khaki;" | [[#SR|'''A''']] || style="background-color: khaki;" | [[#PPR|'''Q''']] || style="background-color: khaki;" | [[#TALE|'''a''']] || q
 
|-
 
|-
 
! 2
 
! 2
| STX || DC2 || "  || 2 || [[#GSM|'''B''']] || [[#PPB|'''R''']] || [[#TAC|'''b''']] || r
+
| STX || DC2 || "  || 2 || style="background-color: khaki;" | [[#GSM|'''B''']] || style="background-color: khaki;" | [[#PPB|'''R''']] || style="background-color: khaki;" | [[#TAC|'''b''']] || r
 
|-
 
|-
 
! 3
 
! 3
| ETX || DC3 || #  || 3 || [[#GSS|'''C''']] || [[#SPD|'''S''']] || [[#TCC|'''c''']] || s
+
| ETX || DC3 || #  || 3 || style="background-color: khaki;" | [[#GSS|'''C''']] || style="background-color: khaki;" | [[#SPD|'''S''']] || style="background-color: khaki;" | [[#TCC|'''c''']] || s
 
|-
 
|-
 
! 4
 
! 4
| EOT || DC4 || $  || 4 || [[#FNT|'''D''']] || [[#DTA|'''T''']] || [[#TSR|'''d''']] || t
+
| EOT || DC4 || $  || 4 || style="background-color: khaki;" | [[#FNT|'''D''']] || style="background-color: khaki;" | [[#DTA|'''T''']] || style="background-color: khaki;" | [[#TSR|'''d''']] || t
 
|--
 
|--
 
! 5
 
! 5
| ENQ || NAQ || %  || 5 || [[#TSS|'''E''']] || [[#SLH|'''U''']] || [[#SCO|'''e''']] || u
+
| ENQ || NAQ || %  || 5 || style="background-color: khaki;" | [[#TSS|'''E''']] || style="background-color: khaki;" | [[#SLH|'''U''']] || style="background-color: khaki;" | [[#SCO|'''e''']] || u
 
|-
 
|-
 
! 6
 
! 6
| ACK || SYN || &  || 6 || [[#JFY|'''F''']] || [[#SLL|'''V''']] || [[#SRCS|'''f''']] || v
+
| ACK || SYN || &  || 6 || style="background-color: khaki;" | [[#JFY|'''F''']] || style="background-color: khaki;" | [[#SLL|'''V''']] || style="background-color: khaki;" | [[#SRCS|'''f''']] || v
 
|-
 
|-
 
! 7
 
! 7
| BEL || ETB || '  || 7 || [[#SPI|'''G''']] || [[#FNK|'''W''']] || [[#SCS|'''g''']] || w
+
| BEL || ETB || '  || 7 || style="background-color: khaki;" | [[#SPI|'''G''']] || style="background-color: khaki;" | [[#FNK|'''W''']] || style="background-color: khaki;" | [[#SCS|'''g''']] || w
 
|-
 
|-
 
! 8
 
! 8
| BS  || CAN || (  || 8 || [[#QUAD|'''H''']] || [[#SPQR|'''X''']] || [[#SLS|'''h''']] || x
+
| BS  || CAN || (  || 8 || style="background-color: khaki;" | [[#QUAD|'''H''']] || style="background-color: khaki;" | [[#SPQR|'''X''']] || style="background-color: khaki;" | [[#SLS|'''h''']] || x
 
|-
 
|-
 
! 9
 
! 9
| HT  || EM  || )  || 9 || [[#SSU|'''I''']] || [[#SEF|'''Y''']] || [[#SPH|'''i''']] || y
+
| HT  || EM  || )  || 9 || style="background-color: khaki;" | [[#SSU|'''I''']] || style="background-color: khaki;" | [[#SEF|'''Y''']] || style="background-color: khaki;" | [[#SPH|'''i''']] || y
 
|-
 
|-
 
! 10
 
! 10
| LF  || SUB || *  || : || [[#PFS|'''J''']] || [[#PEC|'''Z''']] || [[#SPL|'''j''']] || z
+
| LF  || SUB || *  || : || style="background-color: khaki;" | [[#PFS|'''J''']] || style="background-color: khaki;" | [[#PEC|'''Z''']] || style="background-color: khaki;" | [[#SPL|'''j''']] || z
 
|-
 
|-
 
! 11
 
! 11
| VT || ESC || + || ; || [[#SHS|'''K''']] || [[#SSW|'''[''']] || [[#SCP|'''k''']] || {
+
| VT || ESC || + || ; || style="background-color: khaki;" | [[#SHS|'''K''']] || style="background-color: khaki;" | [[#SSW|'''[''']] || style="background-color: khaki;" | [[#SCP|'''k''']] || {
 
|-
 
|-
 
! 12
 
! 12
| FF || IS4 || , || < || [[#SVS|'''L''']] || [[#SACS|'''\''']] || l || <nowiki>|</nowiki>
+
| FF || IS4 || , || < || style="background-color: khaki;" | [[#SVS|'''L''']] || style="background-color: khaki;" | [[#SACS|'''\''']] || l || <nowiki>|</nowiki>
 
|-
 
|-
 
! 13
 
! 13
| CR || IS3 || - || = || [[#IGS|'''M''']] || [[#SAPV|''']''']] || m || }
+
| CR || IS3 || - || = || style="background-color: khaki;" | [[#IGS|'''M''']] || style="background-color: khaki;" | [[#SAPV|''']''']] || m || }
 
|-
 
|-
 
! 14
 
! 14
| SO || IS2 || . || > || N || [[#STAB|'''^''']] || n || ~
+
| SO || IS2 || . || > || N || style="background-color: khaki;" | [[#STAB|'''^''']] || n || ~
 
|-
 
|-
 
! 15
 
! 15
| SI || IS1 || / || ? || [[#IDCS|'''O''']] || [[#GCC|'''_''']] || o || DEL
+
| SI || IS1 || / || ? || style="background-color: khaki;" | [[#IDCS|'''O''']] || style="background-color: khaki;" | [[#GCC|'''_''']] || o || DEL
 
|}
 
|}
  

Revision as of 22:11, 26 May 2012

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 CSI SP Sequences

Prefix Acronym Description Parameters
T DTA Dimension Text Area Pn1; Pn2
W FNK Function Key Pn1
D FNT Font Selection Ps1=0; Ps2=0
_ GCC Graphic Character Combination Ps1=0
B GSM Graphic Size Modification Ps1=100; Ps2=100
C GSS Graphic Size Selection Ps1; Ps2
O IDCS Identify Device Control String Ps1
M IGS Identify Graphic Subrepertoire Ps1
F JFY Justify Ps1=0; ...
Z PEC Presentation Expand or Contract Ps1=0
J PFS Page Format Selection Ps1=0
P PPA Page Position Absolute Pn1=1
R PPB Page Position Backward Pn1=1
Q PPR Page Position Relative Pn1=1
H QUAD Quad Ps1=0; ...
\ SACS Set Additional Character Separation Pn1=0
] SAPV Set Alternative Presentation Variants Ps1=0; ...
e SCO Select Character Orientation Ps1=0
k SCP Select Character Path Ps1; Ps2
g SCS Select Character Spacing Pn1
Y SEF Sheet Eject and Feed Ps1=0; Ps2=0
K SHS Select Character Spacing Ps1=0
@ SL Scroll Left Pn1=1
U SLH Set Line Home Pn1
V SLL Set Line Limit Pn1
h SLS Set Line Spacing Pn1
S SPD Select Presentation Direction Ps1=0; Ps2=0
i SPH Set Page Home Pn1
G SPI Spacing Increment Pn1; Pn2
j SPL Set Page Limit Pn1
X SPQR Select Print Quality and Rapidity Ps1=0
A SR Scroll Right Pn1=1
f SRCS Set Reduced Character Separation Pn1=0
I SSU Select Size Unit Ps1=0
[ SSW Set Space Width Pn1
^ STAB Selective Tabulation Ps1
L SVS Select Vertical Spacing Ps1=0
b TAC Tabulation Align Centered Pn1
a TALE Tabulation Aligned Leading Edge Pn1
` TATE Tabulation Aligned Trailing Edge Pn1
c TCC Tabulation Centered on Character Pn1; Pn2=32
d TSR Tabulation Stop Remove Pn1
E TSS Thin Space Specification Pn1


FNT Parameter 1

Value Description
0 Primary font
1 First alternate font
2 Second alternate font
3 Third alternate font
4 Fourth alternate font
5 Fifth alternate font
6 Sixth alternate font
7 Seventh alternate font
8 Eighth alternate font
9 Ninth alternate font


GCC Parameter

Value Description
0 Combine next two characters
1 Begin combining characters
0 End combining characters


JFY Parameter

Value Description
0 No justification, end of justification of previous text
1 Word fill
2 Word space
3 Letter space
4 Hyphenation
5 Flush to line home position margin
6 Center between the home position and line limit position margin
7 Flush to line limit position margin
8 Italian hyphenation