473,499 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

command history broken in Python2.3 ?

Hello ,

I'm tring Python 2.3 ( on source and binary distribution ,
on Linux and Windows ) and i think
the command history doesn't work .

When i use the Up-Arrow in Python2.3
started in an xterm i get '^[[A' .
In IDLE under Windows using Alt-p produce nothig .
In IDLE under Linux Alt-p works !! .

Do you have the same behavior in you
interpreter ?

Bye .

(p.s. please forgive english mistakes )
Jul 18 '05 #1
9 2262
Nicola Mingotti wrote:
Hello ,

I'm tring Python 2.3 ( on source and binary distribution ,
on Linux and Windows ) and i think
the command history doesn't work .

When i use the Up-Arrow in Python2.3
started in an xterm i get '^[[A' .
In IDLE under Windows using Alt-p produce nothig .
In IDLE under Linux Alt-p works !! .

Do you have the same behavior in you
interpreter ?

Bye .

(p.s. please forgive english mistakes )


Just installed 2.3 final release on Linux
Same problem here...

Vincent Wehren

Jul 18 '05 #2
Nicola Mingotti <ni********************@libero.it> writes:
When i use the Up-Arrow in Python2.3
started in an xterm i get '^[[A' .
In IDLE under Windows using Alt-p produce nothig .
In IDLE under Linux Alt-p works !! .

Do you have the same behavior in you
interpreter ?


Can you determine whether the readline module was built (import
readline)?

Regards,
Martin

Jul 18 '05 #3
- readline module (or maybe incorrectly picked termlib instead of
+ readline library (or maybe incorrectly picked termlib instead of
John
Jul 18 '05 #4
On Sun, 03 Aug 2003 17:35:31 +0200, Nicola Mingotti wrote:
Hello ,
... John and Martin spoke of termcap and readline ... there it was :)


.... I hadn't installed two C libraries that were needed :
'readline' and 'termcap' . After installing them i re-configured/compiled
python and now commands history works fine .
But under windows , where i have only the binary version
at hands , the problem remains ...

bye .

Nico
Jul 18 '05 #5
Nicola Mingotti wrote:
On Sun, 03 Aug 2003 17:35:31 +0200, Nicola Mingotti wrote:
Hello ,
... John and Martin spoke of termcap and readline ... there it was :)


... I hadn't installed two C libraries that were needed :
'readline' and 'termcap' . After installing them i re-configured/compiled
python and now commands history works fine .
But under windows , where i have only the binary version
at hands , the problem remains ...


Have you tried installing Gonnerman's "Alternative Readline",
http://newcenturycomputers.net/projects/readline.html ? I have
found it extremely useful to gain the gist of readline's
functionality on Windows installatons of Python.
Alex

Jul 18 '05 #6

Readline for Python on Windows, get it here....

http://ipython.scipy.org/dist/PyRead...-4.0p22.tar.gz

You will need the mingw compiler to build it I seem to remember. It
works like a charm.

Sean
--
+---------------------------------------------------------------+
| All spelling errors are intentional and are there to show new |
| and improved ways of spelling old words. |
+---------------------------------------------------------------+
Jul 18 '05 #7
On Mon, 04 Aug 2003 09:54:28 +0200, Alex Martelli wrote:
Have you tried installing Gonnerman's "Alternative Readline",
http://newcenturycomputers.net/projects/readline.html ? I have found it
extremely useful to gain the gist of readline's functionality on Windows
installatons of Python.
-- Alex


yes , only now , and it works .

thank you .
bye.
Jul 18 '05 #8
Alex Martelli <al***@aleax.it> writes:
Have you tried installing Gonnerman's "Alternative Readline",
http://newcenturycomputers.net/projects/readline.html ? I have
found it extremely useful to gain the gist of readline's
functionality on Windows installatons of Python.


Ehemm... How do you use readline? What should it do?

Does it work on 2.3? I tried installing but the readline function had
a different function prototype so I guess it doesn't work.
--

Vennlig hilsen

Syver Enstad
Jul 18 '05 #9
----- Original Message -----
From: "Syver Enstad" <sy*************@online.no>

Alex Martelli <al***@aleax.it> writes:
Have you tried installing Gonnerman's "Alternative Readline",
http://newcenturycomputers.net/projects/readline.html ? I have
found it extremely useful to gain the gist of readline's
functionality on Windows installatons of Python.


Ehemm... How do you use readline? What should it do?

Does it work on 2.3? I tried installing but the readline function had
a different function prototype so I guess it doesn't work.


I don't have a version for 2.3 yet. Give me time, and
I'll get it built (after I download the 2.3 installer and
build a MinGW32 import library for it).

Chris Gonnerman -- ch*************@newcenturycomputers.net
http://newcenturycomputers.net

Jul 18 '05 #10

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

Similar topics

10
5593
by: Matt Mower | last post by:
Hi folks, I have an old Linux box that I am messing about with Python on. The RedHat installed version is 1.5 something so I have built & installed 2.2.2 in /opt/python. I've started trying...
4
2325
by: Jochen Demuth | last post by:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs. First I copied the contents of the ZWiki-0.32.0.tgz to the Products-directory under SOFTWARE_HOME: This is what it...
0
1417
by: Gene Heskett | last post by:
On Monday 26 July 2004 00:55, Jeffrey Burns wrote: >FWIW, I've had the same problem right for the last ~24 hrs. Just >installed FC2. So did I just now, and when I was done, I tried to fire off...
0
1287
by: Glenn R Williams | last post by:
Has anybody gotten shelve to work under SuSE 9.1? I have SuSe 9.1, Python 2.3.3.85, db 4.2.52, and bsddb3-4.2.4. When I try to create a shelve, I get errors galore, Here's the traceback: ...
2
8597
by: Nigel King | last post by:
I have a problem with the logging module. It reports a Broken Pipe error after outputing to the log file occasionally (5%). This does not appear to happen on Mac OSX using current finked python...
4
1912
by: Chris | last post by:
Since I've installed (from sources) Python 2.3.4 on SuSE 8.2 the command history is not working anymore. When I press the cursor keys I get ^[[A or ^[[B .... I also tried to install IPython but...
1
3251
by: Stefan Bellon | last post by:
Hi all! I'm embedding Python in my own C (or rather Ada, but via the C interface) program. Everything runs fine. But I have a small question regarding command history. Let's take the simplest...
6
1926
by: ThomasC | last post by:
Hello, How to configure Python2.5's interactive interpreter to get command history ? I always got ^[[A and ^[[B . Thank you !! Thomas#
13
3978
by: c3950ig | last post by:
Hi, I am python newbie and the command prompt is having an issue with python. I installed python 2.4.4 onto my windows machine, opened a command prompt window, and typed python to start the...
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7007
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
7174
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
7220
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...
1
6894
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
297
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.