python3.1 shell and Arrow Keys ?

casevh casevh at gmail.com
Fri Oct 9 01:47:19 CEST 2009


On Oct 8, 2:47 pm, Peter Billam <pe... at www.pjb.com.au> wrote:
> Greetings.  I've upgraded 3.0->3.1 and now my arrow-keys don't work
> at the shell command-line, I just get:
>   >>> ^[[A
> etc. Is there some environment-variable or option I have to set ?
> I'm using xterm on debian lenny, and compiled python3.1.1, as far
> as I remember, just with sh configure, make, make install ...
>
> Regards,  Peter
>
> --
> Peter Billam      www.pjb.com.au   www.pjb.com.au/comp/contact.html

You probably need to install the readline-devel package. I don't use
debian so I'm not sure of exact the package name.

HTH,

casevh



More information about the Python-list mailing list