[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting man pages in color



on Wed, Jul 30, 2003 at 09:31:25AM +0800, Robert Storey (y2kbug@ms25.hinet.net) wrote:
> On 28 Jul 2003 02:44:23 +0300
> Micha Feigin <michf@math.tau.ac.il> wrote:
> 
> > How do I get man pages to show in color?
> > used to have it on mandrake at one of the workplaces but never figured
> > out how to enable it under debian.
> > 
> > thanx
> 
> As others have said, "most" is what you want. To install and configure:
> 
>  
> apt-get install most
> 
>   THEN (AS ROOT) DO THIS:
> 
> root@sonic:~# update-alternatives --config pager

Alternatively (if you prefer using less elsewhere):

    function man () {
        export PAGER=most /usr/bin/man $@
    }

...in your .bashrc.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
  The trouble with eating Italian food is that five or six days later
  you're hungry again.
  		-- George Miller

Attachment: pgpYZq0WLMhCn.pgp
Description: PGP signature


Reply to: