[IPython-dev] 0.12 testing: MS Windows terminal history editing

Jörgen Stenarson jorgen.stenarson at bostream.nu
Mon Dec 12 17:49:36 EST 2011


Kevin Buchs skrev 2011-12-12 20:46:
> I've been working with ipython 0.12 development version for a bit. I
> just updated my git clone to verify that this problem has not been fixed.
>
> History editing in default mode (terminal) on Windows XP is misbehaving.
> When recalling multi-line commands from history,
> sometimes the cursor is placed in the middle vertically or at the top
> vertically and cannot move any further to the right. Other times a line
> may be chopped off, though it is actually there and when executing it
> does run. Other problems exist with redrawing and text insertion.
>
> See the attached screen shot, where I cut in beginning on a *history
> -n* output and then *rep*(layed) entry 50 for "In [56]. You can see the
> underline cursor appear on the top of three lines, out into space on the
> right side.
>
> ipython -pylab_2011-12-12_09-50-16.png
>

Your problems are most likely because pyreadline is not designed to 
handle multiline edits. It is not something I'm personally interested in 
working on. So unless someone else submits a patch it is unlikely to be 
implemented in the near future.

/Jörgen



More information about the IPython-dev mailing list