Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86224
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:not': 0.03; 'source,': 0.04; 'interpreter': 0.05; 'subject:Python': 0.06; 'session.': 0.07; 'handful': 0.09; 'subject:keys': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; '24,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'rebuild': 0.16; 'ssh': 0.16; 'sudo': 0.16; 'wrote:': 0.18; 'library': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'compiled': 0.26; 'header:In- Reply-To:1': 0.27; 'fixed': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'linux.': 0.31; 'running': 0.33; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'installing': 0.36; 'much.': 0.36; 'files': 0.38; 'most': 0.60; "you're": 0.61; "you'll": 0.62; 'more': 0.64; 'needing': 0.65; '2015': 0.84; '3.4': 0.84; 'apt-get': 0.84; 'compiling': 0.84; 'to:none': 0.92; 'package:': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=zlholTJWEiEqXHn5cOrpF0DPnz8a+W1a58pKWZyPcr8=; b=AP6LwHabP3BWMSk251jcaXMQ8L1oEATFilpjC/BmlZHCm1SIz2u1K8G7hJa3EXZJMA bizPRjiCeBGx4G4iUGIjkg/uc6DCyKQsEHJPc/dDeX/vl6OSv+fYQFVa8pDRmFIphErZ U4cpkIpcG0slp9k8Z3g5S5j6S+3Q2ZJpDA+Lru7ev1PRNsmryGwv7FyIHXBQRknKeGZz d/p4Ks+2CcD1+n1FwTQF669S5iwM7siw+i8sBWCpICxFCVsgTPNOIsvJXP7LcmUK2f1W UIa2k1trmSiRxYRzJ3mX1kyhtBeMlGAt9CDLWfXLjJbtnOEOl+9jkWCA3TFRZqncaUV/ zKoQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.128.219 with SMTP id k88mr13749376ioi.27.1424701337928; Mon, 23 Feb 2015 06:22:17 -0800 (PST) |
| In-Reply-To | <41302A7145AC054FA7A96CFD03835A0A0B9451B8@EX10MBX02.EU.NEC.COM> |
| References | <41302A7145AC054FA7A96CFD03835A0A0B9451B8@EX10MBX02.EU.NEC.COM> |
| Date | Tue, 24 Feb 2015 01:22:17 +1100 |
| Subject | Re: Python shell: Arrow keys not working in PuTTY |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19072.1424701346.18130.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1424701346 news.xs4all.nl 2873 [2001:888:2000:d::a6]:41233 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:86224 |
Show key headers only | View raw
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python shell: Arrow keys not working in PuTTY Chris Angelico <rosuav@gmail.com> - 2015-02-24 01:22 +1100
csiph-web