What is the default PAGER
used by man pages.
I,e what is the program runs the man pages?
It look some like more
or less
. I'm sure it's not more
since more
doesn't support reverse backward.
What is the default PAGER
used by man pages.
I,e what is the program runs the man pages?
It look some like more
or less
. I'm sure it's not more
since more
doesn't support reverse backward.
From
man man
:pager
(/usr/bin/pager
) is set using the Debian alternatives system (via/etc/alternatives/pager
), and defaults toless
.Apparently, this particular default (using a command named
pager
) is a Debian-derivative trait. See Which systems have 'pager' shortcut/alias? over on Unix & Linux.By default, it's
less
. As explained inman man
:On Debian-based systems, including Ubuntu,
pager
is a symlink toless
:This means that
man
's default,pager -s
, isless -s
. You can change this by i) using the-P
option ofman
; ii) setting theMANPAGER
orPAGER
environmental variables.