[IPython-User] readline freakout

neil rabinowitz neil.rabinowitz@merton.ox.ac...
Sun Aug 14 12:07:06 CDT 2011


i have a rather specific problem with an unknown etiology. basically, while
using the ipython terminal, after some time the readline keybindings stop
working. so, for example, Ctrl-A/E no longer goes to the start/end of the
line, and Ctrl-R no longer allows reverse-i-search. the only way i can solve
this is by quitting the terminal and restarting.

i recall this being a problem on ipython 0.10 as well. to be honest, i have
no idea if it's an ipython or a python problem. i know this happens to me on
at least two machines, both of which are running ubuntu (one 10.04 with
python 2.6.5, the other 11.04 with python 2.7.1+), via gnome-terminal.

if anyone has any pointers for figuring out why this might happen, they'd be
appreciated. i have a hunch that it may happen after a botched
tab-completion, but i'm not confident that this is the case. alternatively
-- if someone knows a way of restarting readline (or whatever else is
responsible) from within a session, this may also help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20110814/89445db2/attachment.html 

More information about the IPython-User mailing list