Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rc-status outputs colorless output after updating coreutils
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Freedom1947
n00b
n00b


Joined: 27 Sep 2023
Posts: 21

PostPosted: Mon Jul 22, 2024 6:26 pm    Post subject: rc-status outputs colorless output after updating coreutils Reply with quote

After updating sys-apps/coreutils from 9.4 to 9.5, the output of 'rc-status' became colorless. This was not the case before the update.
I am using foot terminal and wayland. The output of 'ls' and other commands is colored as before.

The values of my environmental variables are (and were before the update):
Code:
~ $ printenv TERM
foot
~ $ printenv COLORTERM
truecolor


When I do:
Code:
~ $ export TERM=xterm-256color


, the colors of 'rc-status' output come back.

I have no idea why this might be the case and I would like to know what is going on before I include 'export TERM=xterm-256color' in my .bash_profile.
Does anybody have any idea?
Back to top
View user's profile Send private message
pixelbeat
n00b
n00b


Joined: 03 Jun 2005
Posts: 3
Location: Ireland

PostPosted: Tue Jul 23, 2024 11:00 am    Post subject: Reply with quote

I suspect there is a missing "COLORTERM" entry in /etc/DIRCOLORS or equivalent.
You can see the upstream support for "foot" etc. at:
https://github.com/coreutils/coreutils/commit/75c9fc674

That's shouldn't have regressed in 9.5, so I suspect a packaging change in gentoo wrt to colors.

You can test the dircolors setup with:

Code:
TERM=foot COLORTERM=truecolor dircolors


You can also add a file to that command line like /etc/DIRCOLORS etc.
as per your system
Back to top
View user's profile Send private message
Freedom1947
n00b
n00b


Joined: 27 Sep 2023
Posts: 21

PostPosted: Tue Jul 23, 2024 3:37 pm    Post subject: Reply with quote

@pixelbeat, I am sorry, I have not understood you. Could you please explain yourself further?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum