[IPython-User] Getting a clean prompt without Ctrl-C

Thomas Kluyver takowl@gmail....
Sat Jan 14 10:48:30 CST 2012

On 14 January 2012 04:47, Nikolaus Rath <Nikolaus@rath.org> wrote:

> Oh, ipython is using readline? I assumed it was using something else,
> because of the history behavior. In all readline programs I known
> pressing up-arrow brings you to the previous input, but in ipython it
> brings you to the most-recent input starting with the substring of the
> current input up to the cursor position. If that's a readline feature,
> I'll have to try to make bash use it as well. It takes a while to get
> used to, but then it's really convenient.

I've set bash up to do the same by adding these lines to my .inputrc:

"\e[A": history-search-backward
"\e[B": history-search-forward

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

More information about the IPython-User mailing list