Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86219
| From | David Aldrich <David.Aldrich@EMEA.NEC.COM> |
|---|---|
| Subject | Python shell: Arrow keys not working in PuTTY |
| Date | 2015-02-23 13:44 +0000 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19070.1424699091.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Hi I want to use the Python 3.4 interpreter interactively, via a PuTTY ssh session. Python is running on Centos 5. Currently, the arrow keys do not work: $ /usr/local/bin/python3.4 Python 3.4.2 (default, Feb 11 2015, 15:06:33) [GCC 4.1.2 20080704 (Red Hat 4.1.2-55)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> ^[[A This stackoverflow thread: http://stackoverflow.com/questions/893053/python-shell-arrow-keys-do-not-work-on-remote-machine suggests that the problem can be fixed by installing the readline package: sudo apt-get install libreadline-dev followed by a rebuild of Python or pip install readline Please can anyone comment on the easiest way to fix this? Is a rebuild of Python necessary? Best regards David
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Python shell: Arrow keys not working in PuTTY David Aldrich <David.Aldrich@EMEA.NEC.COM> - 2015-02-23 13:44 +0000
csiph-web