On Thu, 07 Jan 2010 01:09:08 +0100, casevh <cas...@gmail.com> wrote:

On Jan 6, 2:40 pm, pdlem...@earthlink.net wrote:
Have recently moved from XP to Ubuntu Linux.
Successfully installed Python 3.1.1 in the Ubuntu 9.04
release on my desktop.
Problem is the python interactive terminal  >>> .
Many of the keys now do not work.
eg pressing left-arrow yields  ^[[D
                    right-arrow         ^[[C
                    Home                  ^[OH
                    Del                      ^[[3~
up-arrow ^[[A Frustrating as I use all these , esp up-arrow to
repeat recent lines.  Found the same thing on
my sons MacBook.

This is not mentioned in two recent Python books
or one on Ubuntu. Nor could I found help on the www.

Is there any work-around  ?  Should I just forget
the python prompt >>> ? Thanks, Dave pdlem...@earthlink.net

Assuming you compiled the source code, you will also need to install
"libreadline5-dev" via Synaptic or apt-get.

casevh


Or you can use Idle instead of terminal. It works kind of different.

sudo apt-get install idle-python3.1

will do the thing!

cheers,
trzewiczek


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to