No more command history with cursor keys

Christophe Cavalaria chris.cavalaria at free.fr
Fri Oct 1 05:41:38 EDT 2004


Chris wrote:

> Indeed, readline.so exists in my Python2.2 install (part of SuSE 8.2) but
> not in the Python 2.3.4 install that I built. I tried to copy the file but
> there's a mismatch.
> But I don't understand what went wrong: configure / make / make install
> all finished successfully.
> How can I get that readline.so file?
> 
> Chris
> 
> "Alex Martelli" <aleaxit at yahoo.com> a écrit dans le message de news:
> 1gkz5o9.1yipm4e1bewl8jN%aleaxit at yahoo.com...
>> Chris <chrisNOSPAM at spam.com> wrote:
>>
>> > Since I've installed (from sources) Python 2.3.4 on SuSE 8.2 the
>> > command history is not working anymore. When I press the cursor keys I
>> > get ^[[A
> or
>> > ^[[B ....
>> > I also tried to install IPython but the same problem is there.
>> >
>> > What's wrong?
>>
>> You appear to be missing some parts of the 'readline' library --
>> probably the 'devel' half of it; or, if you have it installed, it's
>> somewhere the build process for Python and IPython can't find.
>>
>>
>> Alex

You probably forgot to install the libreadline or the libreadline-devel
package on your system before you did the ./configure



More information about the Python-list mailing list