GNU bug report logs -
#34606
Emacs colors are off in screen sessions
Previous Next
Full log
View this message in rfc822 format
On 21/02/2019 14.21, Eli Zaretskii wrote:
>> Cc: 34606 <at> debbugs.gnu.org
>> From: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
>> Date: Thu, 21 Feb 2019 11:37:25 -0500
>>
>>> Emacs on a TTY doesn't control the colors in RGB terms, it just tells
>>> the terminal to display color number N. What you actually see as
>>> result is up to the terminfo entry and the terminal emulator, AFAIK
>>> mostly the latter. So I'd suggest to dig into 'screen's
>>> customizations to see how to affect the colors (I customized the
>>> colors of PuTTY to get something I like, for example).
>>
>> I don't understand. If that is the case, how can changing the value of the TERM environment variable change the colors displayed by emacs?
>
> Because the terminfo entry defines both the number of colors and the
> specific command to turn on a given color.
Thanks, I understand a bit better. Does that mean that there's a bug in the terminfo database for screen.xterm-256color that causes Emacs' request for a shade of yellow/orange to be displayed as bright red?
This bug report was last modified 6 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.