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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

~Kyle
- -- 
Difference of opinion leads to enquiry, and enquiry to truth; and I am 
sure...we both value too much the freedom of opinion sanctioned by our 
Constitution, not to cherish its exercise even where in opposition to 
ourselves.
                            -- Thomas Jefferson to P.H. Wendover, 1815
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFFvpSMBkIOoMqOI14RAqsOAJ9DgJLpKfff+ZidSZ3NAWui+216bQCg67LT
lQwuS7p3NbbnmI1hGtSuNQA=
=JAI3
-----END PGP SIGNATURE-----