Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to unset eselect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Wed Apr 03, 2024 1:55 pm    Post subject: How to unset eselect Reply with quote

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
View user's profile Send private message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Wed Apr 03, 2024 1:59 pm    Post subject: Reply with quote

I have removed the PAGER export in /etc/profile, but this didn't help
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1663

PostPosted: Wed Apr 03, 2024 2:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Thu Apr 04, 2024 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21650

PostPosted: Thu Apr 04, 2024 1:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
setan
n00b
n00b


Joined: 21 Feb 2024
Posts: 65

PostPosted: Thu Apr 04, 2024 6:04 pm    Post subject: Reply with quote

> 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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