most is a pager (like less and more) that displays, one windowful at a time, the contents of a file on a terminal. It pauses after each windowful and prints the following on the window status line: the screen, the file name, current line number, and the percentage of the file so far displayed.
Let's install most:
- % su
- # cd /usr/ports/sysutils/most
- # make install clean
- # rehash
- # exit
- % setenv PAGER most
- % export PAGER=most
As most is a third party application I'd suggest that you don't use it as the default pager for the root account. I'm sure you don't want to find yourself in single user mode with only the root partition mounted and realize that your .cshrc defines most has the pager ;)
No comments:
Post a Comment