Re: 256 colors
On Fri, Aug 25, 2006 at 08:00:52PM EDT, Frank Hart wrote:
> On Thu, Aug 24, 2006 at 05:03:46PM -0400, cga2000 wrote:
> > How can I have mutt display the 256 colors my xterm is capable of..?
>
> export TERM=xterm-256colors
>
xterm-256color does not play well with gnu/screen ..
gnu/screen sets the TERM variable to screen-bce but mutt does not
recognize this as a 256color-capable terminal.
As a result entering the following:
:color tree color123 black
.. returns:
123: color not supported by term
Not sure where I go from there.
Sounds like the easiest would be to infocmp screen-bce and tic it back
as xterm-256color somewhere else .. and then force gnu/screen (mutt ..
vim .. etc.) to use that instead.
> I had a small issue where <BackSpace> didn't work anymore in mutt. xterm
> had a different keycode for it:
>
> $ infocmp xterm-256color xterm | grep kbs
> kbs: '^H', '\177'.
>
> But I've changed the kbs keycode in xterm-256colors so it's the same as
> xterm:
>
> $ export TERM=256color
> $ infocmp -L > .terminfo/x/xterm-256color
> $ vi .terminfo/x/xterm-256color
> $ tic .terminfo/x/xterm-256color
.. weird that something like the <BS> would be defined differently in
the 256-color version.
Thanks
cga