So what's the deal with Debians default Manpage viewer?

If none of the more specific forums is the right place to ask

So what's the deal with Debians default Manpage viewer?

Postby spectre_25gt » 2005-12-14 06:16

Call me finicky, but I'm used to VI style navigation while using man pages. In the installation of Debian that I just got going, however, the man pages are acting quite strangely. I can only move through by hitting enter and it doesn't seem as though there's any way to back up at all. It's really been driving me up the wall, actually. Anyone know what the difference is? Is there a switch that I can make an alias to or something?
spectre_25gt
 
Posts: 1
Joined: 2005-12-14 06:08

Postby Penguin Skinner » 2005-12-14 16:32

You need to change the PAGER environment variable.

Example: to use 'less' as the system file pager - assuming you use bash, and also assuming you have 'less' installed (which it wasn't on my Debian install) - add the following to your /etc/profile file:

Code: Select all
export PAGER="less -X"


The same syntax can be used to change the pager on a per-user basis by adding to ~/.bashrc (if memory serves me correctly; bash uses a number of different config files, in various degrees of priority.)
Penguin Skinner
 
Posts: 709
Joined: 2005-09-15 20:37
Location: North by Northwest

Postby anon » 2005-12-15 16:29

Like spectre_25g said, less isn't installed per default, just install it and it will be the default manpage viewer.
anon
 


Return to General Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable