Created
April 11, 2011 22:04
-
-
Save dolmen/914473 to your computer and use it in GitHub Desktop.
PuTTY terminfo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/tic | |
# | |
# Reconstructed via infocmp from file: /usr/share/terminfo/p/putty | |
# from Redhat 4 update 3 for PuTTY 0.58 | |
# | |
# Added: tsl, flash, fsl, ka1, ka3, kb2, kc1, kc3, kend, kent, khome, ich, | |
# btns, indn, rin, curses, setf, setb, dispc, rmpch, smpch, kcan, | |
# kspd, lm | |
# Changed: colors (256 colors), setab (256 colors), setaf (256 colors) | |
# Optimized: csr, cub, cud, cuf, cuu, dch, dl, ich, il | |
# Removed: kslt (-> kend), kfnd (-> khome) | |
# | |
# Notes: | |
# - kNXT (<S-PageUp>), kPRV (<S-PageDown>) are used internally by Putty to move | |
# the scrollbar. | |
# - kDC (<S-Del>), kEND (<S-End>), kHOM (<S-Home>), kLFT (<S-Left>) and | |
# kRIT (<S-Right>) are not handled by PuTTY. | |
# - kIC (<S-Insert>) is "paste". | |
# - kf1 .. kf5 are defined for PuTTY mode ESC[n~ (see Terminal > Keyboard) | |
# - Blink is bold background (set ncv#8 ?). | |
# - Double width mode can not be defined using swidm/rmidm as PuTTY applies it | |
# to the whole line. | |
# - ich1/dch1 is redundant with ich/dch and causes vi to be verbose if present | |
# | |
# TODO test dispc/rmpch/smpch, scp | |
# reqmp | |
# ncv | |
putty|xterm clone (win32), | |
am, bw, ccc, hs, km, mir, msgr, xenl, | |
btns#3, | |
colors#256, cols#80, | |
it#8, lines#24, | |
lm#0, | |
pairs#256, | |
#acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, | |
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, | |
bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, | |
clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, | |
csr=\E[%i%p1%d;%p2%dr, | |
cub=%?%p1%{1}%=%t^H%e\E[%p1%dD%;, cub1=^H, | |
cud=%?%p1%{1}%=%t^J%e\E[%p1%dB%;, cud1=^J, | |
cuf=\E[%?%p1%{1}%=%t%e%p1%d%;C, cuf1=\E[C, | |
cup=\E[%i%p1%d;%p2%dH, | |
cuu=\E[%?%p1%{1}%=%t%e%p1%d%;A, cuu1=\E[A, | |
dch=\E[%?%p1%{1}%=%t%e%p1%d%;P, | |
dl=\E[%?%p1%{1}%=%t%e%p1%d%;M, dl1=\E[M, | |
dispc=%?%p1%{8}%=%t\E%%G\342\227\230\E%%@%e%p1%{10}%=%t\E%%G\342\227\231\E%%@%e%p1%{12}%=%t\E%%G\342\231\0\E%%@%e%p1%{13}%=%t\E%%G\342\231\252\E%%@%e%p1%{14}%=%t\E%%G\342\231\253\E%%@%e%p1%{15}%=%t\E%%G\342\230\274\E%%@%e%p1%{27}%=%t\E%%G\342\206\220\E%%@%e%p1%{155}%=%t\E%%G\340\202\242\E%%@%e%p1%c%;, | |
dsl=\E]0;\007, | |
ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E)0, | |
flash=\E[?5h\E[?5l, | |
fsl=^G, | |
home=\E[H, | |
hpa=\E[%i%p1%dG, ht=^I, hts=\EH, | |
ich=\E[%?%p1%{1}%=%t%e%p1%d%;@, | |
il=\E[%?%p1%{1}%=%t%e%p1%d%;L, il1=\E[L, | |
ind=^J, indn=%?%p1%{1}%=%t^J%e\E[%p1%dS%;, | |
initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;, | |
is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, | |
# Not handled (yet?) by PuTTY: | |
# <S-Del>, <S-End>, <S-Home>, <S-Left>, <S-Right> | |
# kDC=\E[3$, | |
# kEND=\E[8$, | |
# kHOM=\E[7$, | |
# kLFT=\E[d, | |
# kRIT=\E[c, | |
ka1=\EOw, ka3=\EOy, | |
kb2=\EOu, | |
kbs=\177, | |
kc1=\EOq, kc3=\EOs, | |
kcan=^C, | |
kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, | |
kcuu1=\EOA, kdch1=\E[3~, | |
kend=\E[4~, | |
kent=\EOM, | |
kf1=\E[11~, 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[12~, kf20=\E[34~, kf3=\E[13~, | |
kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, | |
kf9=\E[20~, | |
khome=\E[1~, | |
kich1=\E[2~, kmous=\E[M, knp=\E[6~, | |
kpp=\E[5~, | |
kspd=^Z, | |
ktab=\t, | |
nel=^M^J, | |
oc=\E]R, op=\E[39;49m, rc=\E8, | |
rev=\E[7m, ri=\EM, rin=\E%?%p1%{1}%=%tM%e[%p1%dT%;, | |
rmacs=^O, rmam=\E[?7l, | |
rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, | |
rmpch=\E[10m, | |
rmso=\E[27m, rmul=\E[24m, | |
rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, | |
sc=\E7, | |
# setab=\E[4%p1%dm, setaf=\E[3%p1%dm, | |
# 256 colors | |
# setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, | |
setab=\E[4%?%p1%{7}%>%t8;5;%;%p1%dm, | |
setaf=\E[3%?%p1%{7}%>%t8;5;%;%p1%dm, | |
# setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, | |
# setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, | |
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, | |
sgr0=\E[m, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, | |
smir=\E[4h, smkx=\E[?1h\E=, | |
smpch=\E[11m, | |
smso=\E[7m, smul=\E[4m, | |
tbc=\E[3g, | |
tsl=\E]0;, | |
u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, | |
vpa=\E[%i%p1%dd, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment