Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'man uses more by default' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
man uses more by default
Authored by: mervTormel on Mar 28, '02 07:48:53PM

The less pager has a lot of options; they can be controlled with the environment variable LESS.

bash:

export LESS='-i -M -e -s'

tcsh:

setenv LESS='-i -M -e -s'


-i ignore case in searches

-M long(er) prompt than even more, like filename, lines/ofLines, %ofFile

e.g., prompt = /etc/magic lines 60-118/3837 3%

-e quit on second time at eof

-s squeeze blank lines; consecutive blank lines are squeezed into single line

See the less man pages for (many) more (pun) options (idiom)



[ Reply to This | # ]