[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 00:44:12 -0400
User-agent: Mutt/1.5.6+20040907i

Thus spake Nikolai Weibull on Tue, May 09, 2006 at 08:54:13AM +0200 or 
thereabouts: <address@hidden> [2006-05-09 08:05]:
> On 5/9/06, cga2000 <address@hidden> wrote:
> [TERM=xterm-256color]
> First off, xterm != screen.

I realize this. I had to cut some corners because I was switching from a
gui environment to screen + mutt, fetchmail/procmail/exim, slrn, and a
few others.. and I had to be up and running rapidly - to make things
more intersting, I also needed both UTF-8 and 256 colors.

Now, I am trying to clean up, stabilize, and document this mess :-)
> >screen -t bash /usr/bin/bash
> >screen -t vim  /usr/bin/vim
> >screen -t mutt /usr/bin/mutt
> >screen -t mutt /usr/bin/elinks
> Search the list for my terminfo definition for screen-256color. 

well I did look for this type of info before I posted but I could not
find a screen-256color terminfo entry. There are several threads on
this subject including one where Michael Schroeder recommends using
xterm-256color but I could not find the terminfo source.

> Then,
> compile it with tic and set the following in .screenrc:
> term "screen-256color"
see my reply to Stephane

> If that isn't enough (can't remember if this takes effect soon enough
> for commands run in .screen to see the change to TERM), change the
> above lines to
> screen -t mutt $SHELL -c "TERM=screen-256color /usr/bin/mutt"
should have figured that out myself.. just too many things to think
about I guess. Thanks for the tip. Works fine.. just had to stick to
xterm-256color for now.

Thanks a bunch. A little push in the right direction made all the
difference. Now I can take care of other stuff before I come back to


reply via email to

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