Ticket #98: xterm.log

File xterm.log, 3.2 kB (added by phercek, 5 years ago)

infocmp and ghc -e getLine on xterm

Line 
1[peter@metod tmp]$ infocmp
2#       Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm
3xterm|xterm terminal emulator (X Window System),
4        am, bce, km, mc5i, mir, msgr, npc, xenl,
5        colors#8, cols#80, it#8, lines#24, pairs#64,
6        acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
7        bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
8        clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
9        csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
10        cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
11        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
12        cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
13        dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
14        flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
15        ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
16        ind=^J, indn=\E[%p1%dS, invis=\E[8m,
17        is2=\E[!p\E[?3;4l\E[4l\E>, kDC=\E[3;2~, kEND=\E[1;2F,
18        kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~,
19        kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^H, kcbt=\E[Z,
20        kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
21        kdch1=\E[3~, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~,
22        kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q,
23        kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~,
24        kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~,
25        kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
26        kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S,
27        kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~,
28        kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~,
29        kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q,
30        kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~,
31        kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
32        kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
33        kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q,
34        kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
35        kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
36        kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
37        kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
38        kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~,
39        kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
40        kri=\E[1;2A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
41        memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
42        rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
43        rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m,
44        rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
45        setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
46        setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
47        setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
48        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,
49        sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
50        smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
51        smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
52        u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd,
53[peter@metod tmp]$ echo first PgUp, then PgDown
54first PgUp, then PgDown
55[peter@metod tmp]$ ghc -e getLine
56^[[5~^[[6~
57"\ESC[5~\ESC[6~"
58[peter@metod tmp]$
59