Make terminfo data available in program

This commit is contained in:
Kovid Goyal
2016-11-24 11:29:28 +05:30
parent d65caa767a
commit 8610bffb40
4 changed files with 360 additions and 47 deletions

View File

@@ -1,33 +1,21 @@
# vim: noet:ts=8:sw=8:sts=0
xterm-kitty|KovIdTTY,
# auto_right_margin (terminal has automatic margins)
am,
# can_change (terminal can redefine existing colors)
ccc,
# has_meta key (i.e. sets the eight bit)
km,
# prtr_silent (printer will not echo on screen)
mc5i,
# move_insert_mode (safe to move while in insert mode)
mir,
# move_standout_mode (safe to move while in standout mode)
msgr,
# no_pad_char (pad character does not exist)
npc,
# eat_newline_glitch (newline ignored after 80 columns)
xenl,
# has_status_line (has extra status line)
hs,
colors#256,
cols#80,
it#8,
msgr,
npc,
am,
km,
ccc,
mir,
mc5i,
lines#24,
pairs#32767,
it#8,
cols#80,
colors#256,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G,
bold=\E[1m,
cbt=\E[Z,
kcbt=\E[Z,
civis=\E[?25l,
clear=\E[H\E[2J,
cnorm=\E[?12l\E[?25h,
@@ -62,14 +50,18 @@ xterm-kitty|KovIdTTY,
il1=\E[L,
ind=^J,
indn=\E[%p1%dS,
initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
invis=\E[8m,
kbs=\177,
kcbt=\E[Z,
kcub1=\EOD,
kcud1=\EOB,
kcuf1=\EOC,
kcuu1=\EOA,
kdch1=\E[3~,
kend=\EOF,
kf1=\EOP,
kf10=\E[21~,
kf11=\E[23~,
kf12=\E[24~,
kf2=\EOQ,
kf3=\EOR,
kf4=\EOS,
@@ -78,32 +70,21 @@ xterm-kitty|KovIdTTY,
kf7=\E[18~,
kf8=\E[19~,
kf9=\E[20~,
kf10=\E[21~,
kf11=\E[23~,
kf12=\E[24~,
khome=\EOH,
kend=\EOF,
kich1=\E[2~,
kdch1=\E[3~,
kmous=\E[M,
knp=\E[6~,
kpp=\E[5~,
kri=\E[1;2A,
mc0=\E[i,
mc4=\E[4i,
mc5=\E[5i,
meml=\El,
memu=\Em,
op=\E[39;49m,
rc=\E8,
rev=\E[7m,
ri=\EM,
rin=\E[%p1%dT,
ritm=\E[23m,
rmacs=\E(B,
rmam=\E[?7l,
rmcup=\E[?1049l,
rmir=\E[4l,
rmm=\E[?1034l,
rmso=\E[27m,
rmul=\E[24m,
rs1=\Ec,
@@ -112,21 +93,12 @@ xterm-kitty|KovIdTTY,
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
sgr0=\E(B\E[m,
sitm=\E[3m,
smacs=\E(0,
smam=\E[?7h,
smcup=\E[?1049h,
smir=\E[4h,
smm=\E[?1034h,
smso=\E[7m,
smul=\E[4m,
tbc=\E[3g,
u6=\E[%i%d;%dR,
u7=\E[6n,
u8=\E[?1;2c,
u9=\E[c,
vpa=\E[%i%p1%dd,
tsl=\E]2;,
fsl=^G,
dsl=\E]2;\007,
sitm=\E[3m,
ritm=\E[23m,

Binary file not shown.