On Wed, 09 Jun 2004 07:46:10 +1200
Nick Rout <[EMAIL PROTECTED]> wrote:

> On Wed, 2004-06-09 at 03:23, Keith McGavin wrote:
> > picked this up from a newsgroup to enable man pages to display
> > bold text in console.
> > 
> > >You may want to try "most" as your pager. "man -P /usr/bin/most man" to see;
> > >and set your color preferences in $HOME/.mostrc
> > 
> > an alias such as the following can be put in /etc/profile or .bashrc.
> >  
> > 
> > alias manc='man -P /usr/bin/most $1' 
> > 
> 
> Or you could set PAGER=most in your environment. 
> 
> NB many distros do not install most by default.
> 
> The name is another little unix joke - 
> 
> more - original pager, even exists in dos
> less - the default in most linux systems, allows paging up as well as
> down
> most - even smarter again.
> 
> echo $PAGER to find out what your pager is by default

slight embellishment, man man tells us:

" -P  pager
              Specify  which pager to use.  This option overrides the MANPAGER
              environment variable, which in turn overrides  the  PAGER  vari-
              able.  By default, man uses /usr/bin/less -is."

Therefore if you just want to affect the man output, and not other
paging tasks, you can set MANPAGER in your environment. If you want to
affect all paging use PAGER


> 
> > 
> > ---
> > keith.
> > 
> > 
> > 
> > 
> > 
> > 

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to