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 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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Olivier Scalbert |
last post by:
Hello ,
What is the python way of doing this :
perl -pi -e 's/string1/string2/' file
?
Thanks
Olivier
|
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...
|
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...
|
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.
...
|
by: JackPhil |
last post by:
I searched in the python-mode.el, sf.net, python.org, and found nothing
Best regards
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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,...
| |