From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34606: Emacs colors are off in screen sessions Date: Thu, 21 Feb 2019 21:21:45 +0200 Message-ID: <83o975eyly.fsf@gnu.org> References: <863a6869-ee18-f49d-68e3-2a1d86c648ed@gmail.com> <83pnrlf9ro.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="72288"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34606@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 21 20:28:04 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwu0q-000IhM-7T for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2019 20:28:04 +0100 Original-Received: from localhost ([127.0.0.1]:37360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwu0p-0001ET-2U for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2019 14:28:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwtvz-00055g-Js for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 14:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwtvy-0006a6-BT for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 14:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwtvy-0006ZY-4o for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 14:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwtvx-00017f-Uo for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 14:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Feb 2019 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34606 X-GNU-PR-Package: emacs Original-Received: via spool by 34606-submit@debbugs.gnu.org id=B34606.15507769264231 (code B ref 34606); Thu, 21 Feb 2019 19:23:01 +0000 Original-Received: (at 34606) by debbugs.gnu.org; 21 Feb 2019 19:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:59825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwtv4-00016B-FQ for submit@debbugs.gnu.org; Thu, 21 Feb 2019 14:22:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwtv2-00015b-5P for 34606@debbugs.gnu.org; Thu, 21 Feb 2019 14:22:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwtup-0005qd-3n; Thu, 21 Feb 2019 14:21:52 -0500 Original-Received: from [176.228.60.248] (port=3610 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gwtum-0005tD-2Y; Thu, 21 Feb 2019 14:21:49 -0500 In-reply-to: (message from =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel on Thu, 21 Feb 2019 11:37:25 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155624 Archived-At: > Cc: 34606@debbugs.gnu.org > From: Clément Pit-Claudel > 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.)