Chris Turner c.tur...@199technologies.org wrote:
Jeremy C. Reed wrote:
less is not more. man uses more by default.
you can:
export PAGER=less
or
setenv PAGER less
to change the man(1) behavior, btw.
Just for completeness, if you rather want the opposite
behaviour, i.e. less to behave like traditional more,
you can do this:
export LESS_IS_MORE=1
Of course, you can configure the behaviour when hitting
end-of-file with the -e and -E options. You can put
them in the LESS environment variable (or MORE if you
use the more compatibility mode) or in the .lesskey
file. See the less(1) and lesskey(1) manual pages for
details.
Best regards
Oliver
PS: For inspiration, here's an excerpt from my personal
.lesskey file (actually there are more key bindings) ...
#command
\e[ggoto-mark \^
g goto-mark \^
#env
LESS= -Meiqa -\#8 -j.5 -z-4
LESSCHARSET = latin1
LESSOPEN= |/usr/bin/lesspipe.sh %s
--
Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd