From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim 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 12:38:32 +0100 Message-ID: <87wn3eqog7.fsf@gmail.com> 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> 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="25350"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 62237@debbugs.gnu.org To: Sebastian Tennant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 18 12:39:09 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 1pdUtw-0006Qc-U7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Mar 2023 12:39:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdUtr-0001ga-Vw; Sat, 18 Mar 2023 07:39:04 -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 1pdUtq-0001gM-R9 for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 07:39:02 -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 1pdUtq-0005ZO-JJ for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 07:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdUtq-0006Xf-DR for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 07:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Mar 2023 11:39: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.167913952325121 (code B ref 62237); Sat, 18 Mar 2023 11:39:02 +0000 Original-Received: (at 62237) by debbugs.gnu.org; 18 Mar 2023 11:38:43 +0000 Original-Received: from localhost ([127.0.0.1]:46442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdUtW-0006X7-T8 for submit@debbugs.gnu.org; Sat, 18 Mar 2023 07:38:43 -0400 Original-Received: from mail-ed1-f45.google.com ([209.85.208.45]:39673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdUtU-0006Wr-Jp for 62237@debbugs.gnu.org; Sat, 18 Mar 2023 07:38:41 -0400 Original-Received: by mail-ed1-f45.google.com with SMTP id ek18so29770442edb.6 for <62237@debbugs.gnu.org>; Sat, 18 Mar 2023 04:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679139514; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=NHeGva4RyEBJ9kpvrkDIlX/v6mBIUiIB1saie+v6VIQ=; b=dKM1O5q6ONqgSGDh0mgQza9iHNJX3MNWbe1pf7X8ha3QQXByG071BkDAh7WDpnOIj9 fU9BPOKFdg/TZ+F8gdoeR2bFLZnxB25+4de/1yNl6Wl5y+JbPJrsv2laEw+yyh0N9csX Cd8U4FAw141fTHDbIG4dnq6Ol+5LQd3qW04E3MISrvNI75KOzrw/d6qAfFjupwszyufO NPQqEEErhrHbCJe4axB+nNRm/fv13ajNLxM8+8GwRRep77rZS8Kh4F+iqN/1zvmPUodL CHtWoNGOfXbgtoMMnNlWtxyYc51o6ASr9k6OD69BKAsXmiVVMB9KQfflqfTdDPP6iE8J raFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679139514; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NHeGva4RyEBJ9kpvrkDIlX/v6mBIUiIB1saie+v6VIQ=; b=jwDoskS0kfepoQ/DyX3iLzX/g/jMJ2zYQa+uJZjEhHcARlbIhpu86NPfnsovstFBQH qAR/gsT3wjI/FVSKAD5mnThBiPfDaBMNpybC8o7kHW80w9oVoKBIZILImUlZ2qvR0ws6 cPmS+6GhwU42UNmMxeOCzbMFawAqmXHpjfRMfsPOr1OpPkX/Y0UbUyiv6f8YplAa66r2 jWtHjGwnguRpG6gd7nGAftR4SYpzmL7hfP14+HRD2Xty4cI5Q9fXIZIPj0pTFoqCSy04 UKzTiihDyTou1msT8lHpYwpYoSCRU5wNjUPt+SVV0pUHsy0RySltxaA2JA6RhpQ/s62e Th3A== X-Gm-Message-State: AO0yUKVNQ6Gmpu0XeKJNmjswCzDrA3Xf3HV2KknkWHgLFcW1Ql5YveOo 3UKwA8aGiE4IxRw6h7BAZRs64fx6oAc= X-Google-Smtp-Source: AK7set+Bt41pPVPW7CNG5Yycw2a49Yu2WFbtjUQ4cEmRBwcSVfKNqanOys3I1kTfHlytSqaqs+0x6A== X-Received: by 2002:a17:906:bc8a:b0:930:7d8f:15a4 with SMTP id lv10-20020a170906bc8a00b009307d8f15a4mr2246858ejb.53.1679139514029; Sat, 18 Mar 2023 04:38:34 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id lm15-20020a170906980f00b008c76facbbf7sm2083248ejb.171.2023.03.18.04.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Mar 2023 04:38:33 -0700 (PDT) In-Reply-To: <87leju4acd.fsf@sebyte.me> (Sebastian Tennant's message of "Sat, 18 Mar 2023 10:34:10 +0000") 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:258166 Archived-At: >>>>> On Sat, 18 Mar 2023 10:34:10 +0000, Sebastian Tennant = said: Sebastian> Quoth Eli Zaretskii Sebastian> on Sat, 18 Mar 2023 11:09:10 +0200: >>>>> [=E2=80=A6] machines you are able to do a rlogin and still keep t= he >>>>> correct termcap/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. Furthermore, the variable >>>>> $WINDOW is set to the window number of each window. >>>>>=20 >>>> 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. >>>>=20 >>> screen does: "The terminal name is put in the $TERM variable of all >>> new windows." >>>=20 >> So how did Emacs ever succeed to work inside screen, then? AFAIK, >> we never supported this form of TERM's value. Sebastian> If you discard the =E2=80=98screen.=E2=80=99 prefix by expli= citly setting TERM in your Sebastian> .screenrc; for example: Sebastian> term xterm-256color Sebastian> it makes no difference, i.e. colours are still broken (when = COLORTERM Sebastian> 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. Robert --=20