Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using emacs-shell. I'm sick of typing various commands like man and git diff which use a pager without me telling it to. I think this is influencable by the shell and I want to turn it off so I can use emacs as the pager.

share|improve this question
PAGER? – Tom Apr 9 '12 at 18:40

Emacs have already a man mode just M-x man and you can use magit git mode for emacs. there is a less implementation on emacswiki that can give you an idea for other pager based commands.

share|improve this answer

You can set the environment variable PAGER to cat:

 (setenv "PAGER" "cat")
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.