Arrow Keys in the Interpreter Interface
Cliff Crawford
cjc26 at nospam.cornell.edu
Mon Jan 8 14:09:45 EST 2001
* eandroid at my-deja.com <eandroid at my-deja.com> menulis:
| I use zsh as my shell instead of bash and as a result my arrow keys do
| not properly work in the interpretter, printing ^[[A instead of
| scrolling back though my history. Has anyone seen this? If I change my
| default shell to bash and relogin it starts working. I think that this
| may be related to scripts that the shell runs on login but Python is the
| only program that seems affected.
It sounds like you don't have readline support compiled in; edit
Modules/Setup in the python source directory and recompile to add it.
(I don't know why it works in bash though..)
--
Cliff Crawford http://www.people.cornell.edu/pages/cjc26/
print "Just another Python hacker"
More information about the Python-list
mailing list