Richard Stallman writes: > > 5. Become a pipe for Emacs (which may or may not produce > > any terminal output). > > > > These all seem useful in principle. 5 seems hard and I doubt > > it is worth implementing. > > It would make it possible to configure an Emacsclient invocation > as a $PAGER command. > > Sorry, I do not follow. Executables like "man" use a pager configurable in $PAGER for their output. Calling man in an Emacs shell session creates a lot of garbage due to terminal problems. It would be much nicer if one could configure something into $PAGER which just sucked up its stdin and made it available in a separate Emacs buffer in view mode. In fact, I _have_ something like that configured as a pager, namely the following executable: