-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtoyterm.info
170 lines (169 loc) · 3.48 KB
/
toyterm.info
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
toyterm-256color|toyterm (a toy terminal emulator),
#
#----------------------
# Boolean capabilities
#----------------------
#
## line wrapping
am,
## safe to move while in insert mode
mir,
## safe to move while in standout mode
msgr,
## ignore a line-feed immediately after an am wrap
xenl,
## support direct RGB color sequence
Tc,
#
#----------------------
# Numeric capabilities
#----------------------
#
## maximum number of colors on screen
colors#0x1000000,
## maximum number of color-pairs on the screen
pairs#65536,
## number of columns in a line
cols#80,
## tabs initially every # spaces
it#8,
## number of lines on screen
lines#24,
#
#---------------------
# String capabilities
#---------------------
#
## turn on blinking
blink=\E[5m,
## turn on bold
bold=\E[1m,
## make cursor invisible
civis=\E[?25l,
## clear screen and home cursor
clear=\E[H\E[J,
## undo civis
cnorm=\E[?25h,
## carriage return
cr=\r,
## change scroll region
csr=\E[%i%p1%d;%p2%dr,
## move #1 characters to the left
cub=\E[%p1%dD,
## move left one space
cub1=\E[D,
## down #1 lines
cud=\E[%p1%dB,
## down one line
cud1=\E[B,
## move #1 characters to the right
cuf=\E[%p1%dC,
## move right one space
cuf1=\E[C,
## move to row #1 column #2
cup=\E[%i%p1%d;%p2%dH,
## up #1 lines
cuu=\E[%p1%dA,
## up one line
cuu1=\E[A,
## delete #1 characters
dch=\E[%p1%dP,
## delete character
dch1=\E[P,
## delete #1 lines
dl=\E[%p1%dM,
## delete line
dl1=\E[M,
## erase #1 characters
ech=\E[%p1%dX,
## clear to end of screen
ed=\E[J,
## clear to end of line
el=\E[K,
## clear to beginning of line
el1=\E[1K,
## home cursor
home=\E[H,
## horizontal position #1, absolute
hpa=\E[%i%p1%dG,
## tab to next 8-space hardware tab stop
ht=^I,
## insert #1 characters
ich=\E[%p1%d@,
## insert #1 lines
il=\E[%p1%dL,
## insert line
il1=\E[L,
## scroll text up
ind=\n,
## turn on blank mode
invis=\E[8m,
## backspace key
kbs=^?,
## left-arrow key
kcub1=\E[D,
## down-arrow key
kcud1=\E[B,
## right-arrow key
kcuf1=\E[C,
## up-arrow key
kcuu1=\E[A,
## delete-character key
kdch1=\E[3~,
## Function keys
kf1=\EOP,
kf2=\EOQ,
kf3=\EOR,
kf4=\EOS,
kf5=\E[15~,
kf6=\E[17~,
kf7=\E[18~,
kf8=\E[19~,
kf9=\E[20~,
kf10=\E[21~,
kf11=\E[23~,
kf12=\E[24~,
kf13=\E[1;2P,
kf14=\E[1;2Q,
kf15=\E[1;2R,
kf16=\E[1;2S,
## next-page key
knp=\E[6~,
## previous-page key
kpp=\E[5~,
## mouse key
kmous=\E[<,
## newline
nel=\r\n,
## set default pair to its original value
op=\E[39;49m,
## restore cursor
rc=\E8,
## turn on reverse video mode
rev=\E[7m,
## string to end programs using cup
rmcup=\E[?1049l,
## exit standout mode
rmso=\E[27m,
## save cursor
sc=\E7,
## set background color to #1
setab=\E[%?%p1%{8}%<%t4%p1%d%e48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m,
## set foreground color to #1
setaf=\E[%?%p1%{8}%<%t3%p1%d%e38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m,
## turn off all attributes
sgr0=\E[m,
## string to start programs using cup
smcup=\E[?1049h,
## begin standout mode
smso=\E[7m,
## vertical position #1 absolute
vpa=\E[%i%p1%dd,
## select cursor style
Ss=\E[%p1%d q,
## reset cursor style
Se=\E[2 q,
## xterm mouse report request
XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
## xterm mouse report response
xm=\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;,