[IPython-dev] [PATCH] make dump_pager more smart (on Windows)

Alexander Belchenko bialix at ukr.net
Mon Oct 10 06:52:49 CDT 2005


Attached patch provide clearing prompt "---Return to continue, q to
quit--- " after hitting the key so this prompt don't mix with printed text.

This solution intended for Windows users,
but I think for Linux can be done similar thing (instead of
msvcrt.getch() should be used more sophisticated read method from terminal).

BTW, on Windows 2K/XP also colud be used 'more' pager but only when
nocolor scheme used (because 'more' does not handle coloring escape
sequences).
May be it worth to put remark about this in hints?

Alexander.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: page_more.diff
Url: http://projects.scipy.org/pipermail/ipython-dev/attachments/20051010/14ca51b1/attachment.pl 


More information about the IPython-dev mailing list