Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
color manpages with most
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
g0del
n00b
n00b


Joined: 27 Jul 2011
Posts: 36

PostPosted: Fri Aug 05, 2011 9:39 pm    Post subject: color manpages with most Reply with quote

If your like me, you read manpages alot, and often. I dont like the standard output from less. Instead, what I use is the program most, it has colorised(sic) output making reading man pages a whole lot easier.
To install it just emerge it
Code:
emerge -va most

To have just one user using most, you can change the environment variable
Code:
MANPAGER

To test it to see if you like it
Code:
export MANPAGER=/usr/bin/most
genix@demon ~# man most

If you like it, set it in your
Code:
~/.bashrc

with
Code:
echo "export MANPAGER=/usr/bin/most" >> ~/.bashrc

Either log back out and back in or just
Code:
source ~/.bashrc

If you like it so much that everyone on the system must have it, as root, set it in gentoo's wonderful
Code:
/etc/env.d/99local

And if you don't have that file, again, as root just create it and put
Code:
MANPAGER=/usr/bin/most
inside it. Then as root update your profile.env by
Code:
env-update
now your profile.env is updated either log back out and back in or
Code:
source /etc/profile
and your done. Enjoy reading your manpages with most.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Aug 07, 2011 6:08 am    Post subject: Reply with quote

I like it :)

I don't like the default colours (bright red for bold is too much) but I can change that.

Thanks for the tip.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Sun Aug 07, 2011 6:18 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-p-5589428.html#5589428 :D
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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