Arrow keys broken in Python 1.6/2.0?

Zajcev Evgeny lg at localhost.rgz.ru
Mon Sep 18 09:14:05 EDT 2000


Carsten Gaebler <cg at schlund.de> writes:

> Hi!
> 
> I have compiled and installed Python 1.6 and 2.0b1. Now the arrow keys
> don't seem to work in the interactive interpreter, they just produce
> [[A[[B[[C[[D. This is true both in xterm and on a text console. Is there
> something to be configured for those to work?
> 
> Regards
> Carsten.
do you compile Python with readline module?

uncomment
# readline readline.c -lreadline -ltermcap

in <Python-src-dir>/Modules/Setup and rebuilt Python

--
zev



More information about the Python-list mailing list