bugGNU Screen - Bugs: bug #66483, btop is not displaying colors...

 
 

bug #66483: btop is not displaying colors correctly when run from inside the screen

Submitter:  None
Submitted:  Mon 25 Nov 2024 04:11:11 PM UTC
   
 
Category:  User Interface Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Need Investigation
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.9.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 12 Dec 2024 02:04:21 PM UTC, comment #3: 

now it is not clear if this is a screen or a btop issue:

Screen version 5.0.0 (build on 2024-08-29 01:08:49)
on
clean install Linux 5.15.173-1-MANJARO #1 SMP PREEMPT Sun Nov 17 21:30:08 UTC 2024 x86_64 GNU/Linux

- btop is showing grayscale colors only from the screen shell;
- htop shows colors;


.screenrc setting "truecolors on" doesn't make any difference.

expect btop to show rgb colors as from a normal shell.

comment #2:

> Can you try to reproduce it with 5.0.0 version?
> (config file for hardstatus should be updated)

Anonymous
Mon 25 Nov 2024 08:43:49 PM UTC, comment #2: 

Can you try to reproduce it with 5.0.0 version?
(config file for hardstatus should be updated)

Alexander Naumov <anaumov>
Group administrator
Mon 25 Nov 2024 04:13:54 PM UTC, comment #1: 

see attached screenshot

Anonymous
Mon 25 Nov 2024 04:11:11 PM UTC, original submission:  

Hi,

on my debian home server accessible over ssh I found that 'btop' is not displaying colors properly if executed from 'screen' tool.

It works perfectly fine if executed from plain shell over ssh.

Screen version 4.09.00 (GNU) 30-Jan-22

Linux debianlv 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux

my .screenrc:

truecolors on
hardstatus off
backtick 0 5 5 "/bin/date" '+%Y-%m-%d'
backtick 1 5 5 "/bin/date" '+%H:%M'
hardstatus alwayslastline '%{#00ff00}[ %H ][%{#ffffff}%= %{7}%?%-Lw%?%{1;0}%{1}(%{15}%n%f%t%?(%u)%?%{1;0}%{1})%{7}%?%+Lw%?%? %=%{#00ff00}][ %{#00a5ff}%{6}%0` %{#ffffff}%{7}%1`%{#00ff00} ]'

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #56645:  Screenshot@2024-11-25@at@18.10.37.png added by None (635KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-11-25 anaumov StatusNone Need Investigation
    2024-11-25 None Attached File- Added Screenshot@2024-11-25@at@18.10.37.png, #56645

    Back to the top

    Powered by Savane 3.14-430a.
    Corresponding source code