python3.1 shell and Arrow Keys ?

Peter Billam peter at www.pjb.com.au
Thu Oct 8 20:40:04 EDT 2009


On 2009-10-08, casevh <casevh at gmail.com> wrote:
> 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 ...
>
> You probably need to install the readline-devel package. I
> don't use debian so I'm not sure of exact the package name.

Yes! it's
  aptitude install libreadline-dev
and that fixes the problem :-)

Thanks,  regards,  Peter

-- 
Peter Billam       www.pjb.com.au    www.pjb.com.au/comp/contact.html



More information about the Python-list mailing list