pexpect/pexpect — pull request #76 by takluyver (2014-06-27 00:43:42+00:00)
Title: Allow replwrap to reset pager so bash doesn't get stuck displaying things

e.g. if you do `man ls`, a pager will appear and wait for the user to quit it, so replwrap would timeout waiting for the next prompt. By setting the pager to `cat`, we can capture the output and get the next prompt.