unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 34606@debbugs.gnu.org
Subject: bug#34606: Emacs colors are off in screen sessions
Date: Thu, 21 Feb 2019 17:06:35 -0500	[thread overview]
Message-ID: <95bbfeeb-170e-9da5-6b1e-e85a3e466d08@gmail.com> (raw)
In-Reply-To: <83o975eyly.fsf@gnu.org>

On 21/02/2019 14.21, Eli Zaretskii wrote:
>> Cc: 34606@debbugs.gnu.org
>> From: Clément Pit-Claudel <cpitclaudel@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?





  reply	other threads:[~2019-02-21 22:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21 14:56 bug#34606: Emacs colors are off in screen sessions Clément Pit-Claudel
2019-02-21 15:20 ` Eli Zaretskii
2019-02-21 16:37   ` Clément Pit-Claudel
2019-02-21 19:21     ` Eli Zaretskii
2019-02-21 22:06       ` Clément Pit-Claudel [this message]
2019-02-22  7:14         ` Eli Zaretskii
2019-07-03  2:31 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95bbfeeb-170e-9da5-6b1e-e85a3e466d08@gmail.com \
    --to=cpitclaudel@gmail.com \
    --cc=34606@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).