By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,931 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,931 IT Pros & Developers. It's quick & easy.

command history broken in Python2.3 ?

P: n/a
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
Share this Question
Share on Google+
9 Replies


P: n/a
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

P: n/a
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

P: n/a
- readline module (or maybe incorrectly picked termlib instead of
+ readline library (or maybe incorrectly picked termlib instead of
John
Jul 18 '05 #4

P: n/a
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

P: n/a
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

P: n/a

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

P: n/a
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

P: n/a
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

P: n/a
----- 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 discussion thread is closed

Replies have been disabled for this discussion.