LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2003, 01:47 AM   #1
milod
LQ Newbie
 
Registered: Mar 2003
Location: China
Posts: 4

Rep: Reputation: 0
man pages with colors in xterm


hi!
when i finished lfs 4.1 and blfs 1.0 i found vim can't show colors
in xterm! i read articles here and export 'TERM=xterm-color'. i can
see colors in vim!! however..

the problem:
i can't see colors in man pages! all the words should have colors are all
underlined just like the situation when vim can't show colors.

why?
thank you very much!
 
Old 03-25-2006, 07:38 PM   #2
karlox
LQ Newbie
 
Registered: Nov 2005
Location: london
Distribution: debian
Posts: 11

Rep: Reputation: 0
What I did once, I was in google, looking for the same thing about the colorfull manual pages in the terminal.
And I found that there is a little program, after installed, I could see them in a color organized way.
I can't remember the name of this program, but i did apt-get to install it, as far as I can remember.

If anyone knows this name... it would be nice. Because i'm looking and looking and I can't find it again... (These things from the net!)
Bye!
 
Old 03-25-2006, 09:23 PM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,781

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
heh, it's not easy to search for this in google, so many random man pages show up.

I did find a page describing how to view coloured man pages in vim: Tip #167: Using vim as a man-page viewer under Unix

This page about color in xterm for BSD (you'll have to scroll down a bit), no reason why it shouldn't work in Linux, but maybe I have to restart X before it will read .Xdefaults
Edit: This thing doesn't seem to be working for me, maybe you have to actually all the colours they say are in the rest of the config file that comes with BSD...

I also found a manpage/info page viewer called pinfo. If you alias man to pinfo -m then you'd get man pages in colour. Might be a bit overkill though...

Last edited by ntubski; 03-25-2006 at 09:56 PM.
 
Old 03-26-2006, 12:55 AM   #4
karlox
LQ Newbie
 
Registered: Nov 2005
Location: london
Distribution: debian
Posts: 11

Rep: Reputation: 0
And I have understood that this little application could be using PHP. Reads the Bolded characters, or any other. and then depending of it, applies the color.
Next time I find out this little name... (it could be next year)... I'm writting it down here!!!!
 
Old 03-30-2006, 11:34 PM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,781

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
Was looking through my Thread subscriptions, and I noticed this one. Searching with quotes is good Using most as a pager can give you colour man pages. see http://lists.debian.org/debian-user/.../msg00319.html
 
  


Reply



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 page colors daelomin Linux - Newbie 5 03-16-2005 07:25 AM
Man page colors daelomin Red Hat 1 03-14-2005 11:45 AM
rxvt/xterm colors macondo Debian 2 04-20-2004 07:10 PM
ls colors in xterm/rxvt/aterm Pougan Linux - Software 8 12-01-2003 11:24 AM
Environment Variables: xterm, ls, mc, and emacs colors kulitpuro Slackware 4 09-01-2003 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 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
Open Source Consulting | Domain Registration