[IPython-dev] previous line gives strange results

Stefan van der Walt stefan at sun.ac.za
Thu Feb 16 06:24:21 CST 2006


On Thu, Feb 16, 2006 at 11:20:53AM +0100, Hans Meine wrote:
> You can use e.g. 
> 
>   readline_parse_and_bind "\C-l": dump-functions
> 
> in ipythonrc to check which function is bound to alt-p/ctrl-P, post the result 
> and/or change as desired with the same function.
> 
> (On my system, I get 'dump-macros can be found on "\M-p".', which may be due 
> to an inputrc in /etc or $HOME, see "man readline".)

Thanks for the tip.  On my system, I see

non-incremental-reverse-search-history can be found on "\M-p".

Either way, you are right -- it is not an IPython bug, but rather
strange readline behaviour (I see the same in bash).

Thanks.
Stéfan




More information about the IPython-dev mailing list