help: up/down arrows in 2.3.4 interactiv

Erik Heneryd erik at heneryd.com
Mon Sep 13 12:43:52 EDT 2004


Jerald wrote:
> Hi.
> 
> I've just installed 2.3.4 from the source on a linux box.
> In the interactive mode, up/down arrows do not work.
> When I press 'up' python prints '^[[A' and down gives '^[[B'
> What is wrong?
> 
> Thanks,
> 
> Gerald

You need to build the readline module.  Enable it in Modules/Setup and 
do make, make install again.

(assuming you got the readline lib+headers to begin with)


Erik



More information about the Python-list mailing list