From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62237: 28.1 or higher: 24-bit true color breaks colours in Emacsen built without X under GNU Screen Date: Fri, 17 Mar 2023 20:55:23 +0200 Message-ID: <83pm97cin8.fsf@gnu.org> References: <87sfe390kv.fsf@sebyte.me> <83h6ujefq1.fsf@gnu.org> <87wn3fs7yw.fsf@gmail.com> <833563e3xc.fsf@gnu.org> <87sfe3s26k.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sdt@sebyte.me, 62237@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 17 19:56:32 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pdFFf-00045m-OB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Mar 2023 19:56:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdFFN-0000cZ-O9; Fri, 17 Mar 2023 14:56:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdFFC-0000ai-UN for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 14:56:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdFFC-0004r6-GW for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 14:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdFFC-0003OB-2e for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Mar 2023 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62237 X-GNU-PR-Package: emacs Original-Received: via spool by 62237-submit@debbugs.gnu.org id=B62237.167907932912982 (code B ref 62237); Fri, 17 Mar 2023 18:56:02 +0000 Original-Received: (at 62237) by debbugs.gnu.org; 17 Mar 2023 18:55:29 +0000 Original-Received: from localhost ([127.0.0.1]:45629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdFEf-0003NJ-Br for submit@debbugs.gnu.org; Fri, 17 Mar 2023 14:55:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdFEd-0003N7-Pr for 62237@debbugs.gnu.org; Fri, 17 Mar 2023 14:55:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdFEY-0004e1-4s; Fri, 17 Mar 2023 14:55:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=er8mI40MPHpC7SFHPcinU9BnC2E49WrqU1Dg52uGFNA=; b=YbPZJD2FLiVLIeP5mRhJ fLpVqX3tgU0yKz8XIYqJRCsGkUrJs8yn4g7tFuCdXVXkE3YPKJSVZndexAX8JfqzOD/phcsyqfcv+ Fm45kol8dXDYjd2vRwk6HU6+v235bjmdjgWd7zSdOGgRP9J+cU3xmKdkeIcDf51ueZgCshhiawRip URSRZ6a224Ft861FF22p9JETsR8YiBCQNKEKn3C4xIc5Sm7055fS6jausakOOhCV+rDriDb3pD7C5 K2KsFTtpO9PxkspZgq1atM/6cE0z3U+FSppCg1bzWJVX+0488IrSBbdFXMYUCaRDN/Cr8NTjy7oEH QUZslTtfv3fQVA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdFEX-0002JY-JZ; Fri, 17 Mar 2023 14:55:21 -0400 In-Reply-To: <87sfe3s26k.fsf@gmail.com> (message from Robert Pluim on Fri, 17 Mar 2023 18:44:19 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258105 Archived-At: > From: Robert Pluim > Cc: sdt@sebyte.me, 62237@debbugs.gnu.org > Date: Fri, 17 Mar 2023 18:44:19 +0100 > > Eli> Is this screen.FOO format documented somewhere in screen's > Eli> documentation? > > Yes: > > When screen tries to figure out a terminal name for itself, it first > looks for an entry named "screen.", where is the contents > of your $TERM variable. If no such entry exists, screen tries "screen" > (or "screen-w" if the terminal is wide (132 cols or more)). If even > this entry cannot be found, "vt100" is used as a substitute. > > The idea is that if you have a terminal which doesn't support an impor‐ > tant feature (e.g. delete char or clear to EOS) you can build a new > termcap/terminfo entry for screen (named "screen.") in which > this capability has been disabled. If this entry is installed on your > machines you are able to do a rlogin and still keep the correct term‐ > --> cap/terminfo entry. The terminal name is put in the $TERM variable of > all new windows. Screen also sets the $TERMCAP variable reflecting the > capabilities of the virtual terminal emulated. Notice that, however, on > machines using the terminfo database this variable has no effect. Fur‐ > thermore, the variable $WINDOW is set to the window number of each win‐ > dow. This seems to tell how 'screen' figures out the terminal name, not how it sets TERM. I asked who and why sets TERM to screen.SOMETHING.