chiark / gitweb /
mdw-pager: New hack for pager support.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 7 Jul 2009 18:20:09 +0000 (19:20 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 7 Jul 2009 18:20:09 +0000 (19:20 +0100)
commitb20bfd83146e0f60cea539eb3c6eea39f8ad549d
treebf9a792248034ceb91e9c5ccc3d31bf8ccfff659
parent9db17a6585945476ab270ae7ed9d21cea89a60d4
mdw-pager: New hack for pager support.

Emacs runs sobprocesses, like `grep', with output to a pty, which
confuses `git grep' in particular into running a pager.  We intercept
the pager, using a script, which checks for Emacs's crappy pty and
simply runs `cat'.
bash_profile
mdw-pager [new file with mode: 0755]
setup