473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

compiling python 2.3.4 with command line editing

Hi,
I'm running RH9 on my laptop. It comes with the Python 2.2.2 RPM.
Its cool because when I run the interpreter, I can use command line
history.

I need to upgrade, so I downloaded and compiled Python 2.3.4. Very
cool, spiffy etc, but the interpreter doesn't allow for command line
editing, i.e. I can't type <ctrl-P> and go to the previous command.

How do I enable that?

Thanks!
S
Jul 18 '05 #1
2 1886
enjoylife_95135 wrote:
I need to upgrade, so I downloaded and compiled Python 2.3.4. Very
cool, spiffy etc, but the interpreter doesn't allow for command line
editing, i.e. I can't type <ctrl-P> and go to the previous command.

How do I enable that?


Make sure the readline module is built. For that, you need to install
the readline header files, which are probably in the readline-dev
package.

Regards,
Martin
Jul 18 '05 #2
Got it. As it turned out, I needed the readline-dev package *and* the
termcap-dev package. But command-line history works now, and I am warm
and happy.

Thanks!
S
"Martin v. Löwis" <ma****@v.loewis.de> wrote in message news:<41***********************@news.freenet.de>.. .
enjoylife_95135 wrote:
I need to upgrade, so I downloaded and compiled Python 2.3.4. Very
cool, spiffy etc, but the interpreter doesn't allow for command line
editing, i.e. I can't type <ctrl-P> and go to the previous command.

How do I enable that?


Make sure the readline module is built. For that, you need to install
the readline header files, which are probably in the readline-dev
package.

Regards,
Martin

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

52
by: Olivier Scalbert | last post by:
Hello , What is the python way of doing this : perl -pi -e 's/string1/string2/' file ? Thanks Olivier
49
IDE
by: Thomas Lindgaard | last post by:
Hello I am probably going to start a war now... but so be it :) I just want to hear what all you guys who eat pythons for breakfast use for python coding. Currently I use Kate, but I would...
15
by: Ashot | last post by:
This is sort of both Python and Vim related (which is why I've posted to both newsgroups). Python related: ---------------------- I have been frustrated for quite some time with a lack of a...
0
by: pruebauno | last post by:
Hello all, I am having issues compiling Python with large file support. I tried forcing the configure script to add it but then it bombs in the make process. Any help will be appreciated. ...
1
by: JackPhil | last post by:
I searched in the python-mode.el, sf.net, python.org, and found nothing Best regards
4
by: tnoell | last post by:
Hi comp.lang.python: New to the group and new to python, so don't tear me up too much ... I installed the GNU readline support in python2.4, and it is working, but there is one annoying behaviour...
12
by: adamurbas | last post by:
ya so im pretty much a newb to this whole python thing... its pretty cool but i just started today and im already having trouble. i started to use a tutorial that i found somewhere and i followed...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.