FG

emacs as a pager?

Fresh3 days ago
Mar 15, 20262395 views
Confidence Score0%
0%

Problem

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 th…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: emacs as a pager?

Low Risk

You can use this shell script as your pager: Save it as something like ~/bin/emacs_pager.sh, make it executable (eg: ), and then set it as the value for the PAGER environment variable (eg: ). Note: the above shell script came from this reddit post: …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment