6
I am looking for a way to use emacs as my pager command in the shell (for example with man or to scroll the output of an asynchronous command with a large amount of output). I use emacsclient as my $EDITOR, but emacsclient cannot use stdin as its input file. Is there an emacs extension that does this, or failing that, a pager that uses most of the emacs buffer motion and search commands?
I know that I could just be using M-x term or M-x ansi-term and set my $PAGER variable to 'cat', but I am hoping there is something that will integrate with my current habit of using emacs and xterm separately.
I've been looking for a solution for you, but I fear there is no way to read STDIN. Seems like quite a limitation.... – Joe Casadonte – 2010-02-03T01:02:35.637
2
this is technically a dupe of the following question - http://superuser.com/questions/31404/how-to-make-emacs-read-buffer-from-stdin-on-start
– Darren Hall – 2010-02-22T19:19:50.727