GNU bug report logs - #34606
Emacs colors are off in screen sessions

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <cpitclaudel <at> gmail.com>

Date: Thu, 21 Feb 2019 14:57:02 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 34606 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Clément Pit-Claudel <cpitclaudel <at> gmail.com>
Cc: 34606 <at> debbugs.gnu.org
Subject: Re: bug#34606: Emacs colors are off in screen sessions
Date: Thu, 21 Feb 2019 21:21:45 +0200
> 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.  (If that doesn't explain
what you were asking about, maybe I didn't understand the question
well enough.)




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.