LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-14-2005, 11:02 AM   #1
daelomin
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15

Rep: Reputation: 0
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
 
Old 03-14-2005, 12:09 PM   #2
apeekaboo
Member
 
Registered: Apr 2003
Location: Stockholm/Sweden
Distribution: Kubuntu, Debian, Slax
Posts: 91

Rep: Reputation: 16
Check your $PAGER. You might have something specified which utilizes colors.
Change to something simple in ~/.bash_profile, like:
Code:
export PAGER='less -R'
 
Old 03-14-2005, 01:59 PM   #3
daelomin
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15

Original Poster
Rep: Reputation: 0
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 02:02 PM.
 
Old 03-15-2005, 02:54 PM   #4
daelomin
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15

Original Poster
Rep: Reputation: 0
no one else?
 
Old 03-15-2005, 03:54 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 03-16-2005, 07:25 AM   #6
daelomin
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu at home, Mandriva 2007 at work
Posts: 15

Original Poster
Rep: Reputation: 0
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 !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man pages with colors in xterm milod Linux - Software 4 03-30-2006 11:34 PM
Man page colors daelomin Red Hat 1 03-14-2005 11:45 AM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 08:52 AM
Is there a man page on how to use man page? jdruin Linux - Software 2 10-30-2004 09:29 AM
getting out of a man page! naijaguy Linux - Newbie 2 08-13-2004 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration