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
|
# FoolOS built-in terminal emulator
# check "man 5 terminfo" to understand this file
fool-term|FoolOS built-in terminal emulator,
am, bce, eo, mir, msgr,
# xenl, xon,
cols#80, lines#24, colors#8, pairs#64, it#8,
# this could hold an alterntive table paiting method
# acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
clear=\Ec, cr=\015,
# movement TODO
#
home=\EH,
cub1=\Eb,
cud1=\Ed,
cuf1=\Ef,
cuu1=\Eu,
# cup=\EY%p1%' '%+%c%p2%' '%+%c,
# clear to end of screen / line
ed=\EJ,
el=\EK,
# delchar
dch1=\Ex,
# backspace
kbs=\010,
# tab
ht=\011,
# newline
nel=\012,
# scrolling (down,reverse)
ind=\ED,
ri=\EM,
# keys
kcub1=\E<, kcud1=\E^,
kcuf1=\E>, kcuu1=\Ev,
# function keys
# kf1=\E[[A,
# kf10=\E[21~,
# kf11=\E[23~,
# kf12=\E[24~,
# kf13=\E[25~,
# kf14=\E[26~,
# kf15=\E[28~,
# kf16=\E[29~,
# kf17=\E[31~,
# kf18=\E[32~,
# kf19=\E[33~,
# kf2=\E[[B,
# kf20=\E[34~,
# kf3=\E[[C,
# kf4=\E[[D,
# kf5=\E[[E,
# kf6=\E[17~,
# kf7=\E[18~,
# kf8=\E[19~,
# kf9=\E[20~,
#colors
setab=\E[4%p1%dm,
setaf=\E[3%p1%dm,
|