Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86224 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2015-02-24 01:22 +1100 |
| Last post | 2015-02-24 01:22 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Python shell: Arrow keys not working in PuTTY Chris Angelico <rosuav@gmail.com> - 2015-02-24 01:22 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-02-24 01:22 +1100 |
| Subject | Re: Python shell: Arrow keys not working in PuTTY |
| Message-ID | <mailman.19072.1424701346.18130.python-list@python.org> |
On Tue, Feb 24, 2015 at 12:44 AM, David Aldrich <David.Aldrich@emea.nec.com> wrote: > I want to use the Python 3.4 interpreter interactively, via a PuTTY ssh > session. Python is running on Centos 5. > > 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 apt-get is for Debian-based Linuxes, but you're running a Red Hat-based Linux. You'll be needing to use 'yum' instead, and I think it's "libreadline-devel" or "readline-devel" for the package name. (Apologies, I don't know CentOS very much. I'm more a Debian guy.) Did you compile Python from source, or did it come from the CentOS repositories? If you compiled from source, then most likely yes, you will need to add that library and rebuild; but it won't be a *full* rebuild - most of the interpreter isn't affected, so you'll be compiling just the handful of files that actually use readline. ChrisA
Back to top | Article view | comp.lang.python
csiph-web