View previous topic :: View next topic |
Author |
Message |
setan Tux's lil' helper
Joined: 21 Feb 2024 Posts: 77
|
Posted: Wed Apr 03, 2024 1:55 pm Post subject: How to unset eselect |
|
|
Hello,
I have set my pager to less with eselect pager set 1.
Now I do not get the colors in rc-status.
Can anyone please tell me how to unset this?
I cannot find it in the man or help:
Code: | $ eselect pager
Usage: eselect pager <action> <options>
Standard actions:
help Display help text
usage Display usage information
version Display version information
Extra actions:
list List available targets for the PAGER variable
set <target> Set the PAGER variable in profile
target Target name or number (from 'list' action)
show Show value of the PAGER variable in profile
update Update the PAGER variable if it is unset or invalid
|
|
|
Back to top |
|
|
setan Tux's lil' helper
Joined: 21 Feb 2024 Posts: 77
|
Posted: Wed Apr 03, 2024 1:59 pm Post subject: |
|
|
I have removed the PAGER export in /etc/profile, but this didn't help |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1743
|
Posted: Wed Apr 03, 2024 2:00 pm Post subject: |
|
|
For pager, delete /etc/env.d/99pager, then run env-update. Any current terminals will need to source /etc/profile to apply the changes. |
|
Back to top |
|
|
setan Tux's lil' helper
Joined: 21 Feb 2024 Posts: 77
|
Posted: Thu Apr 04, 2024 8:39 am Post subject: |
|
|
I have deleted that file and run the env-update as root.
Restarting my terminals, logging out and even rebooting did not change that -- I still get uncolored output
$PAGER is not set frim that I can see (it echos to an empty line) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21908
|
Posted: Thu Apr 04, 2024 1:55 pm Post subject: |
|
|
Why did you think the pager was at fault? What is the output of declare -p TERM? Do other color-capable tools still produce color in that terminal? |
|
Back to top |
|
|
setan Tux's lil' helper
Joined: 21 Feb 2024 Posts: 77
|
Posted: Thu Apr 04, 2024 6:04 pm Post subject: |
|
|
> Why did you think the pager was at fault?
Colors went away shortly after i have changed the pager.
Code: | $ declare -p TERM
declare -x TERM="foot" |
> Do other color-capable tools still produce color in that terminal?
From my testing, yes. I have checked eselect, emerge, fastfetch, dmesg... |
|
Back to top |
|
|
|