From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sebastian Tennant 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: Sat, 18 Mar 2023 15:01:53 +0000 Message-ID: <87edpm3xy6.fsf@sebyte.me> References: <87sfe390kv.fsf@sebyte.me> <83h6ujefq1.fsf@gnu.org> <87wn3fs7yw.fsf@gmail.com> <833563e3xc.fsf@gnu.org> <87sfe3s26k.fsf@gmail.com> <83pm97cin8.fsf@gnu.org> <87o7oqsa36.fsf@gmail.com> <83v8iybf49.fsf@gnu.org> <87leju4acd.fsf@sebyte.me> <87wn3eqog7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40835"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) Cc: Eli Zaretskii , 62237@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 18 16:03: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 1pdY5g-000ABT-KT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Mar 2023 16:03:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdY5P-0002DU-CD; Sat, 18 Mar 2023 11:03:11 -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 1pdY5H-0002CK-1u for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 11:03:03 -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 1pdY5G-0002kJ-Pj for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 11:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdY5G-0006Wp-Hf for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 11:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Tennant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Mar 2023 15:03: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.167915172325017 (code B ref 62237); Sat, 18 Mar 2023 15:03:02 +0000 Original-Received: (at 62237) by debbugs.gnu.org; 18 Mar 2023 15:02:03 +0000 Original-Received: from localhost ([127.0.0.1]:48875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdY4I-0006VP-H5 for submit@debbugs.gnu.org; Sat, 18 Mar 2023 11:02:02 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:39611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdY4G-0006Up-QZ for 62237@debbugs.gnu.org; Sat, 18 Mar 2023 11:02:01 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C0FA95C01CA; Sat, 18 Mar 2023 11:01:55 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 18 Mar 2023 11:01:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1679151715; x=1679238115; bh=2EAmy/GqMmIFT48322OLP/jVu8tBXosgeAw UV/fg5eg=; b=idYM13y/5gpy/uihiBkbw9CRJwQuJctL9Agfc51US/zBJVbFiZm RnPJl9vpKxD4pZ6ZT4+EaiCoMXdbQjkP6rRyfQmCYbOxloN90973n81rpK06W2fl S0IuWs0eWUbk+OzTQqcmmkPSX/faVQE/B/SFISIBv3NSwTj029A9DU8lepaADjZU A6bwfnGq+VHmyLChVnUY+0q3NwFqoySCgVN30Tx5hS1iBP/xlC7dzagAAGRJE4y/ 3fV8n3rCaVGw++U7FRS/4+On9BILjHKG1UGUm4VnI8liHMdyidzBwFtxgBlmFzpZ 7mDLrN4wW/zxBSajFbZiSaaK5yqvjtpt3Yg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1679151715; x=1679238115; bh=2EAmy/GqMmIFT48322OLP/jVu8tBXosgeAw UV/fg5eg=; b=mLfOvRRzUrbN0c26fpf0vFh6UOYwrh8GqJh8qgByMQfxe1jfyHG wKLyNlsHaUmKYGu0z/zr5dRjQUv9rkjrAg1XtqHh/rNZAyCljT3vfwP4BDZ/P1CX SPOwisN6QJR7ex1p8SmwduABWsIXUYwJKq3si0W2esyIz14dleA+1rIxw7DsDccc 4+ZKPG/Q8g/IYiVKP9yzMUQZ49U6d218jeI8WlyYgRbBpqNZb+uiLjQYJTzncEXC y4pBPkJtpGeYhhIfVPRWEdfPaKSUjsG3UEba1NuLUcMuit1wgsP4GSQKk6LLiXxJ 4lFBqmHT5zGABXXlbEthFiwR+wHwM8GLA1A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdefgedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefuvggs rghsthhirghnucfvvghnnhgrnhhtuceoshguthesshgvsgihthgvrdhmvgeqnecuggftrf grthhtvghrnhepleetleeutdeuvdetveehhfeljeektefhheejudehjeehudejjeduhfeu hefgtdfhnecuffhomhgrihhnpeguvggsihgrnhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvggshihtvgdorhgvthhurhhnqdhp rghthhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 18 Mar 2023 11:01:55 -0400 (EDT) Original-Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pdY49-0020TT-Nd; Sat, 18 Mar 2023 15:01:53 +0000 In-Reply-To: <87wn3eqog7.fsf@gmail.com> (Robert Pluim's message of "Sat, 18 Mar 2023 12:38:32 +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:258182 Archived-At: Quoth Robert Pluim on Sat, 18 Mar 2023 12:38:32 +0100: >> [=E2=80=A6] If you discard the =E2=80=98screen.=E2=80=99 prefix by expl= icitly setting TERM >> in your .screenrc; for example: >> >> term xterm-256color >> >> it makes no difference, i.e. colours are still broken (when >> COLORTERM is set to =E2=80=98truecolour=E2=80=99). > > Hmm, I get 24-bit colour in that case. Presumably because screen + > gnome-terminal supports it. It seems my version of screen was too old and truecolor is not supported. I've now built and installed screen =E2=80=98master=E2=80=99 (4.99) and the= problem is resolved, i.e. provided my .screenrc includes the line =E2=80=98truecolor o= n=E2=80=99, colours work fine with COLORTERM set to =E2=80=98truecolor=E2=80=99, or not= set at all. Sorry about all this. Many months ago, I built screen from master and ran it to see if it made a difference. I concluded then that it didn't and I think this must have been because I didn't actually install the version I built. This meant that the relevant entries under /usr/lib/terminfo/s were not written/updated. In any case, we've established one thing for certain, the version of screen shipped by Debian bullseye (stable) does not support truecolor. Most strange is the fact that, according to dpkg, the version shipped is 4.8.0: $ dpkg -l | grep screen ii screen 4.8.0-6 amd64 terminal multiplexer with VT100/ANSI=E2=80=A6 ^^^^^ but screen itself reports: $ screen --version Screen version 4.08.00 (GNU) 05-Feb-20 ^^^^ which makes no sense at all! According to: https://packages.debian.org/search?keywords=3Dscreen Debian bookworm (the next stable release) will ship screen version 4.9.0. I've downloaded the deb and grepped the manpage and the string "truecolor" is nowhere to be found so it looks as if screen shipped by Debian will lack support for truecolor for some years to come.