[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: screen-256color terminfo entry?
From: |
cga2000 |
Subject: |
Re: screen-256color terminfo entry? |
Date: |
Wed, 10 May 2006 01:01:10 -0400 |
User-agent: |
Mutt/1.5.6+20040907i |
Thus spake Stephane Chazelas on Tue, May 09, 2006 at 08:05:43AM +0100 or
thereabouts: <address@hidden> [2006-05-09 08:05]:
> On Tue, May 09, 2006 at 12:50:55AM -0400, cga2000 wrote:
[...]
>
> Here is what I have. This is screen entry with some xterm
> specific keys and features added (note that the name
> "screen.xterm-256color" is too big for some curses
> implementations). Also, the color pair should be 65536, but some
> applications bug if you put something above 256 (typically
> debian "aptitude" and terminfo doesn't support anything above
> 32767 (uses signed shorts)).:
>
> # Reconstructed via infocmp from file: /etc/terminfo/s/screen.xterm-256co=
> lor
> screen.xterm-256color|VT 100/ANSI X3.64 virtual terminal,=20
> am, bce, ccc, km, mir, msgr, npc, xenl,=20
> colors#256, cols#80, it#8, lines#24, pairs#256,=20
>
> acsc=3D++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~=
> ~,=20
> bel=3D^G, blink=3D\E[5m, bold=3D\E[1m, cbt=3D\E[Z, civis=3D\E[?25l,=20
> clear=3D\E[H\E[J, cnorm=3D\E[34h\E[?25h, cr=3D^M,=20
> csr=3D\E[%i%p1%d;%p2%dr, cub=3D\E[%p1%dD, cub1=3D^H,=20
> cud=3D\E[%p1%dB, cud1=3D^J, cuf=3D\E[%p1%dC, cuf1=3D\E[C,=20
> cup=3D\E[%i%p1%d;%p2%dH, cuu=3D\E[%p1%dA, cuu1=3D\EM,=20
> cvvis=3D\E[34l, dch=3D\E[%p1%dP, dch1=3D\E[P, dl=3D\E[%p1%dM,=20
> dl1=3D\E[M, ed=3D\E[J, el=3D\E[K, flash=3D\Eg, home=3D\E[H, ht=3D^I,=20
> hts=3D\EH, ich=3D\E[%p1%d@, il=3D\E[%p1%dL, il1=3D\E[L, ind=3D^J,=20
> indn=3D\E[%p1%dS,=20
>
> initc=3D\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2=
> .2X/%p4%{255}%*%{1000}%/%2.2X\E\\,=20
> invis=3D\E[8m, is2=3D\E)0, kDC=3D\E[3;2~, kEND=3D\E[1;2F,=20
> kHOM=3D\E[1;2H, kIC=3D\E[2;2~, kLFT=3D\E[1;2D, kNXT=3D\E[6;2~,=20
> kPRV=3D\E[5;2~, kRIT=3D\E[1;2C, kb2=3D\EOE, kbeg=3D\E[1~, kbs=3D^?,=20
> kcbt=3D\E[Z, kcub1=3D\EOD, kcud1=3D\EOB, kcuf1=3D\EOC, kcuu1=3D\EOA,=20
> kdch1=3D\E[3~, kend=3D\E[4~, kf0=3D\E[10~, kf1=3D\EOP, kf10=3D\E[21~,=20
> kf11=3D\E[23~, kf12=3D\E[24~, kf13=3D\EO2P, kf14=3D\EO2Q,=20
> kf15=3D\EO2R, kf16=3D\EO2S, kf17=3D\E[15;2~, kf18=3D\E[17;2~,=20
> kf19=3D\E[18;2~, kf2=3D\EOQ, kf20=3D\E[19;2~, kf21=3D\E[20;2~,=20
> kf22=3D\E[21;2~, kf23=3D\E[23;2~, kf24=3D\E[24;2~, kf25=3D\EO5P,=20
> kf26=3D\EO5Q, kf27=3D\EO5R, kf28=3D\EO5S, kf29=3D\E[15;5~,=20
> kf3=3D\EOR, kf30=3D\E[17;5~, kf31=3D\E[18;5~, kf32=3D\E[19;5~,=20
> kf33=3D\E[20;5~, kf34=3D\E[21;5~, kf35=3D\E[23;5~,=20
> kf36=3D\E[24;5~, kf37=3D\EO6P, kf38=3D\EO6Q, kf39=3D\EO6R,=20
> kf4=3D\EOS, kf40=3D\EO6S, kf41=3D\E[15;6~, kf42=3D\E[17;6~,=20
> kf43=3D\E[18;6~, kf44=3D\E[19;6~, kf45=3D\E[20;6~,=20
> kf46=3D\E[21;6~, kf47=3D\E[23;6~, kf48=3D\E[24;6~, kf49=3D\EO3P,=20
> kf5=3D\E[15~, kf50=3D\EO3Q, kf51=3D\EO3R, kf52=3D\EO3S,=20
> kf53=3D\E[15;3~, kf54=3D\E[17;3~, kf55=3D\E[18;3~,=20
> kf56=3D\E[19;3~, kf57=3D\E[20;3~, kf58=3D\E[21;3~,=20
> kf59=3D\E[23;3~, kf6=3D\E[17~, kf60=3D\E[24;3~, kf61=3D\EO4P,=20
> kf62=3D\EO4Q, kf63=3D\EO4R, kf7=3D\E[18~, kf8=3D\E[19~, kf9=3D\E[20~,=20
> khome=3D\E[1~, kich1=3D\E[2~, kmous=3D\E[M, knp=3D\E[6~, kpp=3D\E[5~,=20
> mc0=3D\E[i, mc4=3D\E[4i, mc5=3D\E[5i, op=3D\E[39;49m, rc=3D\E8,=20
> rev=3D\E[7m, ri=3D\EM, rin=3D\E[%p1%dT, rmacs=3D\E(B, rmam=3D\E[?7l,=20
> rmcup=3D\E[?1049l, rmir=3D\E[4l, rmkx=3D\E[?1l\E>, rmso=3D\E[23m,=20
> rmul=3D\E[24m, rs1=3D\Ec, rs2=3D\E[!p\E[?3;4l\E[4l\E>, sc=3D\E7,=20
> setab=3D\E[48;5;%p1%dm, setaf=3D\E[38;5;%p1%dm,=20
> setb=3D\E[48;5;%p1%dm, setf=3D\E[38;5;%p1%dm,=20
>
> sgr=3D\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%=
> ?%p9%t\E(0%e\E(B%;,=20
> sgr0=3D\E[m\E(B, smacs=3D\E(0, smam=3D\E[?7h, smcup=3D\E[?1049h,=20
> smir=3D\E[4h, smkx=3D\E[?1h\E=3D, smso=3D\E[3m, smul=3D\E[4m,=20
> tbc=3D\E[3g, u6=3D\E[%i%d;%dR, u7=3D\E[6n, u8=3D\E[?1;2c, u9=3D\E[c,=20
> vpa=3D\E[%i%p1%dd,=20
>
I tried to use the above but - maybe you can see it - the source is
badly damaged.. something with your using iso8859-15 and my using UTF-8,
possibly.. something broken in my mutt setup... I don't know.. the
longer lines are wrapped and each line ends with an '=20'.
So I removed these artefacts manually, saved the file, did a "tic ..."
and copied the output to /usr/share/terminfo/s/.. but when I tried to
run screen I was getting a bunch of '3D's and inverted question marks
all over the place. So I may have screwed up when cleaning up the source
manually.. or this entry may have problems with my UTF-8 locale/xterm
(or both, for that matter).
I appreciate the help but I think I'll stick with xterm-256color until
I have time to play with terminfo entries - and read the manuals. I
know next to nothing about terminals so this is by no means trivial.
Thanks,
cga
- screen-256color terminfo entry?, cga2000, 2006/05/09
- Re: screen-256color terminfo entry?, Nikolai Weibull, 2006/05/09
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/09
- Re: screen-256color terminfo entry?,
cga2000 <=
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/10
- Re: screen-256color terminfo entry?, cga2000, 2006/05/10
- Re: screen-256color terminfo entry?, cga2000, 2006/05/11
- Re: screen-256color terminfo entry?, Nikolai Weibull, 2006/05/12
- Re: screen-256color terminfo entry?, cga2000, 2006/05/13
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/14
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/12
- Re: screen-256color terminfo entry?, cga2000, 2006/05/13
- Re: screen-256color terminfo entry?, Stephane Chazelas, 2006/05/14
- Re: screen-256color terminfo entry?, cga2000, 2006/05/15