[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 256 colors
From: |
Peder Stray |
Subject: |
Re: 256 colors |
Date: |
Tue, 31 Jul 2007 09:18:06 +0200 (CEST) |
On Tue, 31 Jul 2007, Peder Stray wrote:
How can i tell if the screen i am using really understands 256 colors or
not? i try 'tput 39' both within screen and outside, both actually send
\e[38;5;39m (light blue) as it should, but it seens screen translates it to
\e[34m (blue). tput colors report 256 both within and outside screen.
This for a remote screen inside a screen that actuall knows 256-colors,
with TERM set to screen before starting screen. Running a testprogram it
seems that this inner screen knows only of the first 8 colors. Changing
TERM to xterm-256color and then starting screen i seems to know abount 16
colors nstead. Both termacpentries specify 256 colors, and their diff
seems to mostly include key definitions.
Screen does color conversion in both cases, so the full colorcube is
translated to nearest color.
any ideas?
--
Peder Stray