GNU bug report logs - #64740
28.2; screen interacts badly with TERMCOLOR=truecolor

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Thu, 20 Jul 2023 07:57:01 UTC

Severity: normal

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 64740 <at> debbugs.gnu.org (full text, mbox):

From: Francesco Potortì <pot <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64740 <at> debbugs.gnu.org
Subject: Re: bug#64740: 28.2; screen interacts badly with TERMCOLOR=truecolor
Date: Thu, 20 Jul 2023 13:04:06 +0200
>> emacs -nw -Q  behaves strangely under Screen when COLORTERM=truecolor
>> 
>> If I unset COLORTERM  the problem goes away
>> 
>> The problem does not happen outside of Screen.
>> 
>> The problem is that Emacs starts as if it could not use the terminal's reverse capability, that is, the mode line is made of hyphens rather than filled characters.  Also, all text is dimmed.  Moreover, the text stays dimmed in the shell after exiting Emacs.
>> 
>> I do not know if this is an Emacs problem, a Screen problem or else, and unfortunately at the moment I have no time to dig deeper, hope someone else can.
>
>It's a Screen problem, see etc/PROBLEMS and bug#62237.  Since you only
>have Emacs 28, I reproduce the PROBLEMS entry below:

>  ** Colors are not available or messed up on TTY frames inside 'screen'.
...
>  The solution is to either upgrade to a newer version of 'screen'
>  (version 5.x or later reportedly supports true color), or to unset the
>  COLORTERM variable before starting 'screen'

Thank you Eli.  In fact, I am on Debian testing which sports Screen 4.9.0.  Don't know why this bag has started affecting me only now.

Sorry for the duplicate




This bug report was last modified 1 year and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.