There are lots of places in UNIX where programs call out to the program in $PAGER (usually less
or some similar command) to display some output. It's certainly true that many of the most common uses have an Emacs replacement (in the case of man
, for example), but I'd still like a general way to use Emacs as my system-wide pager. Ideally this would mean that calls to PAGER end up in an Emacs temporary buffer similar to *Help*, a read-only buffer you can navigate around and dismiss by pressing "q".
I usually run a shell through M-x shell, so my envisioned use case is that typing a command like "man foo" in the *shell* window will bring up the man page in another window, more or less exactly like how the built-in *Help* system works.
less
ismore
, but there is alsomost
another pager which has emacs-like bindings and some nice color. – Garrotte