Problem with keyboard up/down arrows in Python 2.4 interpreter

Benjamin Kaplan benjamin.kaplan at case.edu
Tue Mar 22 02:37:30 EDT 2011


On Tue, Mar 22, 2011 at 2:27 AM, Julien <jphalip at gmail.com> wrote:
> Hi,
>
> I'm having problems when typing the up/down arrows in the Python 2.4
> interpreter (exact version: Python 2.4.6 (#1, Mar  3 2011, 15:45:53)
> [GCC 4.2.1 (Apple Inc. build 5664)] on darwin).
>
> When I press the up arrow it outputs "^[[A" and when I press the down
> arrow it outputs "^[[B".
>
> I've google it and it looks like it might be an issue with the
> readline not being installed or configured properly. Is that correct?
> If so, how can I fix this issue?
>
> Many thanks.
>
> Kind regards,
>
> Julien
> --

How did you install Python? If you used Macports, it looks like
readline support is a separate port for 2.4. Try installing
py-readline.

> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list