Help with python shell

C

cbmeeks

I just upgraded my Python install up to version 2.5.1 (from 2.4.x)
using source code and compiling.

Everything went fine until I enter the command line mode and press any
arrow keys.

When I press UP arrow, I was getting my previous command as always but
now I get: ^[[A

What can I do to fix this??

Thanks!

cbmeeks
 
D

Diez B. Roggisch

cbmeeks said:
I just upgraded my Python install up to version 2.5.1 (from 2.4.x)
using source code and compiling.

Everything went fine until I enter the command line mode and press any
arrow keys.

When I press UP arrow, I was getting my previous command as always but
now I get: ^[[A

What can I do to fix this??

Compiling with readline support? I guess that's missing.

Diez
 
C

cbmeeks

cbmeeks said:
I just upgraded my Python install up to version 2.5.1 (from 2.4.x)
using source code and compiling.
Everything went fine until I enter the command line mode and press any
arrow keys.
When I press UP arrow, I was getting my previous command as always but
now I get: ^[[A
What can I do to fix this??

Compiling with readline support? I guess that's missing.

Diez

I tried ./configure --enable-readline but that didn't do the trick.
ARG!! This is annoying.
 
D

Diez B. Roggisch

cbmeeks said:
cbmeeks said:
I just upgraded my Python install up to version 2.5.1 (from 2.4.x)
using source code and compiling.
Everything went fine until I enter the command line mode and press any
arrow keys.
When I press UP arrow, I was getting my previous command as always but
now I get: ^[[A
What can I do to fix this??
Compiling with readline support? I guess that's missing.

Diez

I tried ./configure --enable-readline but that didn't do the trick.
ARG!! This is annoying.

You don't just need to enable it - the readline lib needs to be
installed, including the possible devel-package (If you are under linux)
for the headers.

Diez
 
C

cbmeeks

cbmeeks schrieb:


cbmeeks schrieb:
I just upgraded my Python install up to version 2.5.1 (from 2.4.x)
using source code and compiling.
Everything went fine until I enter the command line mode and press any
arrow keys.
When I press UP arrow, I was getting my previous command as always but
now I get: ^[[A
What can I do to fix this??
Compiling with readline support? I guess that's missing.
Diez
I tried ./configure --enable-readline but that didn't do the trick.
ARG!! This is annoying.

You don't just need to enable it - the readline lib needs to be
installed, including the possible devel-package (If you are under linux)
for the headers.

Diez

That worked!

I had to install readline-devel and rebuild with --enable-readline

Thanks!!!!!

cbmeeks
http://codershangout.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,125
Latest member
VinayKumar Nevatia_
Top