From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#34606: Emacs colors are off in screen sessions Date: Thu, 21 Feb 2019 17:06:35 -0500 Message-ID: <95bbfeeb-170e-9da5-6b1e-e85a3e466d08@gmail.com> References: <863a6869-ee18-f49d-68e3-2a1d86c648ed@gmail.com> <83pnrlf9ro.fsf@gnu.org> <83o975eyly.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="268558"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 Cc: 34606@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 21 23:07:17 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 1gwwUs-0017iO-3U for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2019 23:07:14 +0100 Original-Received: from localhost ([127.0.0.1]:40493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwwUq-0003z6-V7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Feb 2019 17:07:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwwUj-0003z0-0o for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 17:07:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwwUh-0002vf-2z for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 17:07:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwwUf-0002un-RO for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 17:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwwUf-00051V-JI for bug-gnu-emacs@gnu.org; Thu, 21 Feb 2019 17:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Feb 2019 22:07: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.155078680419284 (code B ref 34606); Thu, 21 Feb 2019 22:07:01 +0000 Original-Received: (at 34606) by debbugs.gnu.org; 21 Feb 2019 22:06:44 +0000 Original-Received: from localhost ([127.0.0.1]:59918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwwUO-00050y-Bi for submit@debbugs.gnu.org; Thu, 21 Feb 2019 17:06:44 -0500 Original-Received: from mail-qk1-f182.google.com ([209.85.222.182]:37697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwwUM-00050l-I3 for 34606@debbugs.gnu.org; Thu, 21 Feb 2019 17:06:43 -0500 Original-Received: by mail-qk1-f182.google.com with SMTP id m9so122449qkl.4 for <34606@debbugs.gnu.org>; Thu, 21 Feb 2019 14:06:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZFdrSl+W9qQVW+B+/i9FMi0ZdXLWskTodpmIZyibOIQ=; b=CF6wpI+qqmz3VA8jfMEAZXgDGJ98lgSblSLcsh4MBbaxwThKYEZjqg+tzJk0zlMZz/ G07RBudprYFJ9DGXAtXgX1iqjeT9v3dhRFpW6FbT0VUA8Pd8WyxTkM0F7+9b9fZpdkaa 8Lj1Lbr9Tb5+1/j6vCVS6hU+Ica7g1As8BuSAamEgBgHpFwOzJ11bSRvJ6XAw5niW65w zSQFRn6lZpMAncg2+nJBMGDyRrBzIYOucHsCvfcDNdqUULDiK+phw98kg8znKe5qYiI6 6w7cXJUzAngbN0EmhVxFYITtnLtnnzZqEf0/7OyqCuo2bPGqPzJOOpJb6u2ZUwMeKIV0 eLPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZFdrSl+W9qQVW+B+/i9FMi0ZdXLWskTodpmIZyibOIQ=; b=cTR5P8GBI5g2sphA6vX1DWqPgrH9I3bjpxY+MgWOsLTuh0bF++azSgtiOTQvlaKLXh JrvS3clNWjAGWo3flBKKURe8E1Clb2q05k2Z01H0cZIJJ4JbVA/BMbKZTov425HNrWF6 gdgv/GZMdBbEDDxD7UpIWNvcopnT9fFmR1rJzQ9eMybbXdXh7lGiBi4orNTfE9ySYub4 Sb+WaK/JD2ekV+o+QREOlm4lfNPWIJaJkP0mhr59a0dKuWUVA0yx/4+sJZGGZtK0Yh73 4gtFqsGM38ERP/A3NpMUYz50IEQkOA1oyz1cabcH+UYnzV+xlgjIJRj6J4LC1zekl3Ar P9Ng== X-Gm-Message-State: AHQUAuaFUC12tMbmL/IuUIz5W/OS0yGsaEMb1djR2pzveqcrjOmtjMg+ 9otsnOXmn2zBGlGf63KYBR4wFdct X-Google-Smtp-Source: AHgI3IagoYsg1iKm/n2jcMefqn6dY/7tqklDsj0U+o0G2B2HG0/bA8csEe5Y+BWyvZxI2idmEjNwPg== X-Received: by 2002:a37:5bc1:: with SMTP id p184mr623448qkb.121.1550786796981; Thu, 21 Feb 2019 14:06:36 -0800 (PST) Original-Received: from [128.30.9.114] (30-9-114.wireless.csail.mit.edu. [128.30.9.114]) by smtp.googlemail.com with ESMTPSA id v18sm39872qkj.13.2019.02.21.14.06.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Feb 2019 14:06:36 -0800 (PST) In-Reply-To: <83o975eyly.fsf@gnu.org> Content-Language: en-GB 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:155625 Archived-At: On 21/02/2019 14.21, Eli Zaretskii wrote: >> 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. 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?