screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: screen-256color terminfo entry?


From: Stephane Chazelas
Subject: Re: screen-256color terminfo entry?
Date: Tue, 16 May 2006 09:00:55 +0100
User-agent: Mutt/1.5.6i

On Mon, May 15, 2006 at 10:34:46PM -0400, cga2000 wrote:
[...]
> > Nikolai's entry is:
> > 
> > screen-256color|VT 100/ANSI X3.64 virtual terminal,
> >         am, km, mir, msgr, xenl,
> >         cols#80, it#8, lines#24, colors#256, pairs#32767,
> >         bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
> >         clear=\E[H\E[J, cr=\r, csr=\E[%i%p1%d;%p2%dr,
> >         cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
> >         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
> >         cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
> >         dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
> >         enacs=\E(B\E)0, home=\E[H,
> >         ht=\t, hts=\EH, ich=\E[%p1%d <at> , il=\E[%p1%dL, il1=\E[L,
                                          ^
                              should be a @

> >         ind=\n, is2=\E)0, kcub1=\EOD, kcud1=\EOB,
> >         kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
> >         kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ,
> >         kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~,
> >         kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kend=\E[4~,
> >         kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=\EE,
> >         rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
> >         rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
> >         sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
> >         smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
> >         civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
> >         op=\E[39;49m, setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,
> >         
> > acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
> 
> Nikolai's entry corrects the mutt/weechat display issue and causes man +
> less/most's output to be correctly formatted - as far as I can tell.

could be bce then. You probably don't have bce enabled in
screen, so that it matches Nikolai's entry. But that's not
optimal given that xterm has bce. You could try
<Ctrl-A>:bce on

with my terminfo entry and see if that fix things. I still don't
see why it would for less though.

would you have screen shots of the problem? What does appres
XTerm give you?

> But so far it has caused the following problems:
> 
> 1. the bash Ctrl+R (search history) command does not function
> correctly. I hit Ctrl+R and for each character I enter I see a "t >"
> overlaying the bash prompt and the command currently selected by the
> incremental search is not visible. ehich makes it unusable - for all I
> know the selected command could be an "rm" command that I absolutely do
> not want to (re-)execute.

Probably due to that <at> thing above when I copy pasted from
the site where Nikolai indicated his entry was.

[...]
> Well, I'd say that this is the only useful part of my modest findings:
> The two problems I was experiencing with your terminfo entry - and
> xterm-256color regarding the "truncated highlights" - are fixed by his
> screen-256color. But as mentioned above it introduces at least two
> other (more serious, imo) problems. 
> 
> My personal feeling is that I should modify your (more complete)
> screen-256color to fix my two problems but I honestly have no idea how
> this should be done. And using the diff's to randomly change your
> terminfo entry without a clue what I am looking for does not sound
> like realistic approach. 
> 
> On the other hand considering all the trouble you have taken over this I
> am quite willing to make any changes you suggest and run more tests
> until I get this right - the problem being that I have zero experience
> with terminfo.
[...]

Try the bce thing.

Mine is missing the el1 (clear to beg-of-line).

See man 5 terminfo

for the details.

To edit a terminfo entry:

infocmp <entry> > file
vi file
sudo tic file # or use export TERMINFO=~/.terminfo
              # if you don't have root access.


I'll double check my entry to see if everything makes sense,
when I have some time.

-- 
Stéphane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]