1 # This file contains a definition of the putty terminal updated from the
2 # one in ncurses 5.4 (correcting the Home & End keys)
4 # PuTTY 0.57 (released 20 February 2005)
5 # http://www.chiark.greenend.org.uk/~sgtatham/putty/
7 # This emulates vt100 + vt52 (plus a few vt220 features: ech, SRM, DECTCEM, as
8 # well as SCO and Atari, color palettes from Linux console). Reading the code,
9 # it is intended to be VT102 plus selected features By default, it sets $TERM
10 # to xterm, which is incorrect, since several features are misimplemented:
12 # Alt+key always sends ESC+key, so 'km' capability is removed.
14 # Control responses, wrapping and tabs are buggy, failing a couple of
17 # xterm mouse support is not implemented (unrelease version may).
19 # Several features such as backspace/delete are optional; this entry documents
20 # the default behavior -TD
21 putty|xterm clone (win32),
22 am, bw, ccc, km, mir, msgr, xenl,
23 colors#8, cols#80, it#8, lines#24, pairs#64,
24 acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
25 bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
26 clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
27 csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
28 cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
29 cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
30 dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
31 ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E)0, home=\E[H,
32 hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
34 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%;,
35 is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
36 kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
37 kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~,
38 kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
39 kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
40 kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
41 kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
42 kf9=\E[20~, khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~,
43 kpp=\E[5~, kend=\E[4~, oc=\E]R, op=\E[39;49m, rc=\E8,
44 rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l,
45 rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>,
46 rmso=\E[27m, rmul=\E[24m,
47 rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7,
48 setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
49 sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
50 sgr0=\E[m, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h,
51 smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,
52 tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
55 # The following sets edit modes for GNU EMACS.
60 # comment-start-skip:"^#+"
62 # compile-command:"tic -c putty.src"
64 ######## SHANTIH! SHANTIH! SHANTIH!