View previous topic :: View next topic |
Author |
Message |
Leo Lausren Apprentice
Joined: 24 Feb 2004 Posts: 198 Location: Denmark
|
Posted: Thu Jan 13, 2005 12:09 pm Post subject: Configuring MANPAGER [Solved] |
|
|
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 |
|
|
Leo Lausren Apprentice
Joined: 24 Feb 2004 Posts: 198 Location: Denmark
|
Posted: Thu Jan 13, 2005 12:54 pm Post subject: solved |
|
|
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 |
|
|
Leo Lausren Apprentice
Joined: 24 Feb 2004 Posts: 198 Location: Denmark
|
Posted: Thu Jan 20, 2005 8:19 am Post subject: |
|
|
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 |
|
|
|