Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 12:37:11 +0000
From:      Jamie Landeg-Jones <jamie@dyslexicfish.net>
To:        rkoberman@gmail.com, jbtakk@iherebuywisely.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: default pager (csh)
Message-ID:  <201502201237.t1KCbBLX008182@dyslexicfish.net>
In-Reply-To: <E1YOOYW-0000BF-6y@rmm6prod02.runbox.com>
References:  <E1YOOYW-0000BF-6y@rmm6prod02.runbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Jeffrey Bouquet" <jbtakk@iherebuywisely.com> wrote:

> PAGER='cat'
> alias man='env PAGER=lookat man $1'

No need to alias 'man', just set env MANPAGER.

>From man man: (so good they named it twice etc.!)

-P pager
         Use specified pager.  Defaults to 'less -s' if color support is
         enabled, or 'more -s'.  Overrides the MANPAGER environment variable,
         which in turn overrides the PAGER environment variable.

cheers, Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502201237.t1KCbBLX008182>