Quote:
Originally Posted by zeusys
please try this :
how I can less man pages? you mean something like this :
man 1p set | less
|
You (likely) don't need to do anything. You're already using it.
As I tried to explain before, the
man command itself doesn't display the page; it just grabs the page you want from the database and formats it. Then it
automatically outputs the results to the default pager, unless you override it. This should be
less, unless you've changed it somewhere.
If I'm reading it correctly, the
man command looks for the following to determine which pager to use, in order.
the
-P option
an equivalent setting in the
$MANOPT environment variable
the
$MANPAGER environment variable
the
$PAGER environment variable
Use one of these if you want to override the default.
Read the
man man page for more.
Also read the man page of the pager it's using for how to use its search options.