View previous topic :: View next topic |
Author |
Message |
Freedom1947 n00b
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 |
|
|
pixelbeat n00b
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 |
|
|
Freedom1947 n00b
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 |
|
|
TheGreatMcPain n00b
Joined: 30 Oct 2019 Posts: 7
|
|
Back to top |
|
|
|