Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-14-2005, 12:02 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15
Rep:
|
Man page colors
Hi everyone,
I am having problems with MAN : the output is formatted in very weird colors that prove unreadable on my background color.
I could change the background but it would just be simpler if I could specify no coloring whatsoever (say all in White)...
I do not have a .Xdefaults in my $HOME so it is not that...
Any other idea?
Thanks
|
|
|
03-14-2005, 01:09 PM
|
#2
|
Member
Registered: Apr 2003
Location: Stockholm/Sweden
Distribution: Kubuntu, Debian, Slax
Posts: 91
Rep:
|
Check your $PAGER. You might have something specified which utilizes colors.
Change to something simple in ~/.bash_profile, like:
Code:
export PAGER='less -R'
|
|
|
03-14-2005, 02:59 PM
|
#3
|
LQ Newbie
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15
Original Poster
Rep:
|
Hey!
Thanks for the answer but no, $PAGER is empty...
I still don't see why the blue colors for the titles in 'man ls' ...
*edited* Apologies for posting the same thread in the RedHat forum, I only realized I should post it there since it might be Distro-related but then I didnt know how to delete the current post. Anyway, my apologies.
Last edited by daelomin; 03-14-2005 at 03:02 PM.
|
|
|
03-15-2005, 03:54 PM
|
#4
|
LQ Newbie
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15
Original Poster
Rep:
|
no one else?
|
|
|
03-15-2005, 04:54 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally posted by daelomin
Hey!
Thanks for the answer but no, $PAGER is empty...
|
Did you try SETTING it? :)
If it's empty the following applies
Quote:
from man man
Code:
-P pager
Specify which pager to use. This option overrides
the MANPAGER environment variable, which in turn
overrides the PAGER variable. By default, man uses
/usr/bin/less -is.
|
Cheers,
Tink
|
|
|
03-16-2005, 08:25 AM
|
#6
|
LQ Newbie
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15
Original Poster
Rep:
|
I tried exporting it like apeekaboo suggested, but the -R option doesnt work...
so:
export PAGER='less'
and then calling : "man -P $PAGER ls " does use less as a pager but it doesnt solve MY problem which had to deal with the actually colors with which MAN displays the content of any manpage..
It's not the formatting of the page, it's the colors on it !
|
|
|
All times are GMT -5. The time now is 12:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|