View previous topic :: View next topic |
Author |
Message |
Freedom1947 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Sep 2023 Posts: 21
|
Posted: Mon Jul 22, 2024 6:26 pm Post subject: rc-status outputs colorless output after updating coreutils |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pixelbeat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Jun 2005 Posts: 3 Location: Ireland
|
Posted: Tue Jul 23, 2024 11:00 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Freedom1947 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Sep 2023 Posts: 21
|
Posted: Tue Jul 23, 2024 3:37 pm Post subject: |
|
|
@pixelbeat, I am sorry, I have not understood you. Could you please explain yourself further? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|