[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: colors #8-16 are not bright
From: |
Michael Schroeder |
Subject: |
Re: colors #8-16 are not bright |
Date: |
Tue, 28 Mar 2006 13:02:13 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Sat, Mar 25, 2006 at 02:13:15PM +0100, Alain Bench wrote:
> Is that dark #8-15 colors a bug? And is there a solution or
> workaround sufficiently generic to work with any terminals having 16 or
> more colors?
I think this is a bug, screen should not use the xterm compatibility
hack if the "colors" terminfo entry is greater than 8.
The xterm code works like this: most xterms understand 16 colors, but
have colors#8 in the terminfo. Because of this, screen writes both
the bright and dark codes to the terminal if $TERM looks like xterm.
As a workaround, you can add
termcapinfo putty* XT
to your ~/.screenrc.
Cheers,
Michael.
--
Michael Schroeder address@hidden
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}