Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring MANPAGER [Solved]
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
Leo Lausren
Apprentice
Apprentice


Joined: 24 Feb 2004
Posts: 198
Location: Denmark

PostPosted: Thu Jan 13, 2005 12:09 pm    Post subject: Configuring MANPAGER [Solved] Reply with quote

I noticed /usr/bin/vimmanpager, while emerging vim-7.0_alpha.
In /etc/man.conf I changed PAGER to /usr/bin/vimmanpager; but man seems to continue using less -is as PAGER.
Adding MANPAGER=/usr/bin/vimmanpager to /etc/env.d/00basic worked fine; but that didn't survive the last emerge world.
What is the recommended way of configuring this. :?:
_________________
Blog: common sense – nonsense


Last edited by Leo Lausren on Thu Jan 13, 2005 12:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Leo Lausren
Apprentice
Apprentice


Joined: 24 Feb 2004
Posts: 198
Location: Denmark

PostPosted: Thu Jan 13, 2005 12:54 pm    Post subject: solved Reply with quote

Ah. It seems that the latest emerge world, beside deleting my MANPAGER entry in /etc/env.d/00basic, also has updated man and man-pages.
vimmanpager works now, and reading man pages with vim syntax highlighting is really great.
_________________
Blog: common sense – nonsense
Back to top
View user's profile Send private message
Leo Lausren
Apprentice
Apprentice


Joined: 24 Feb 2004
Posts: 198
Location: Denmark

PostPosted: Thu Jan 20, 2005 8:19 am    Post subject: Reply with quote

It wasn't solved after all :(

It seems that the PAGER environmentvariable, set in /etc/env.d/00basic, is chosen over the configured PAGER in /etc/man.conf

I just changed the NROFF entry to use UTF-8, so I'm sure that man.conf is used.
So for now I added a file /etc/env.d/70man with
MANPAGER="/usr/bin/vimmanpager"
_________________
Blog: common sense – nonsense
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