Bsd less
From wikinotes
BSD variation of less.
You may also be interested in gnu less.
Documentation
man less
https://www.freebsd.org/cgi/man.cgi?query=less
Usage
Common Params
less \ -X `# skip de-initialization (leave text onscreen at exit)` -R `# raw control chars (include colours)` \ -S `# chop lines wider than terminal can display (scroll w/ arrowkeys)` \ -F `# only use pager if terminal not tall enough for all text` \ +F `# tail output, only use pager if terminal not tall enough for all text` \ -i `# ignore case` \ \ --wheel-lines=5 `# number of lines scrolled each mousewheel click` \
Configuration
Colours
less colours can be controlled via
$LESS_TERMCAP_*
environment variables.
See https://unix.stackexchange.com/questions/108699/documentation-on-less-termcap-variables