<<< Date Index >>>     <<< Thread Index >>>

Re: Mutt & 256 colors re-re-re-visited



On Mon, Jan 29, 2007 at 07:42:52PM EST, Kyle Wheeler wrote:
> On Monday, January 29 at 07:18 PM, quoth cga2000:
> >> As you can see, when parsing something like "color34", *col becomes 
> >> 34, and is checked against the value of COLORS. COLORS is a value 
> >> defined by ncurses and slang.
> >
> >Yes, but wouldn't these libraries obtain the value of COLORS from
> >the terminfo entry pointed to by the process's TERM environment
> >variable?
> 
> Yes and no. If the library only supports up to 16 colors (for 
> example), then it can accurately set COLORS for xterm, vt100, and 
> xterm-16color, but not for xterm-256color.
> 
> >But then .. where did this rxvt terminfo entry that specifies 256 
> >colors come from .. ??  I thought that would be part of the curses 
> >package and should therefore by in sync' with the librar{y|ies} .. ?
> 
> Hmm, could be he hand-modified his own rxvt terminfo in an attempt to 
> get 256 colors working. Other than that, I don't know. I *can* tell 
> you that the default rxvt on Solaris doesn't do 256 colors, though.

.. sounds like Solaris 8 is even more conservative than debian/linux.

Thanks,

cga.