Re: Win32 python: odd behavior when run via ssh

2008-02-02 Thread Thorsten Kampe
* Gabriel Genellina (Fri, 01 Feb 2008 23:13:27 -0200) > En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge > <[EMAIL PROTECTED]> escribió: > > If you're using the offficial Win32 port of Python than you > > probably want to use the Cygwin version because Win32 version > > doesn't support readline any

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Gabriel Genellina
En Sat, 02 Feb 2008 01:40:50 -0200, Steve Holden <[EMAIL PROTECTED]> escribi�: > Gabriel Genellina wrote: >> I don't understand the comment. Most of the readline functionality is >> already present on Windows XP (command history, up/down arrows, edit >> [...] > Until you try to do something li

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Steve Holden
Gabriel Genellina wrote: > En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge > <[EMAIL PROTECTED]> escribió: > >> If you're using the offficial Win32 port of Python than you probably >> want to use the Cygwin version because Win32 version doesn't support >> readline anyways. > > I don't understand

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Grant Edwards
On 2008-02-02, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge ><[EMAIL PROTECTED]> escribió: > >> If you're using the offficial Win32 port of Python than you >> probably want to use the Cygwin version because Win32 version >> doesn't support readline

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Martin v. Löwis
> That's odd, because readline seems to work fine in a Windows > console (recalling previous lines and line editing). That's an illusion. The Windows version of Python does not support or use GNU readline at all. What you see is a feature of the console window. Regards, Martin -- http://mail.pyt

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Gabriel Genellina
En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge <[EMAIL PROTECTED]> escribió: > If you're using the offficial Win32 port of Python than you probably > want to use the Cygwin version because Win32 version doesn't support > readline anyways. I don't understand the comment. Most of the readline fun

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Grant Edwards
On 2008-02-02, Ross Ridge <[EMAIL PROTECTED]> wrote: >>When I ssh into a windows machine (running Cygwin sshd), I can >>invoke python at the shell prompt (you have to use -i option >>and I don't really understand why). >> >>Once it's started there are couple rather odd behaviors: >> >> 1) readline

Re: Win32 python: odd behavior when run via ssh

2008-02-01 Thread Ross Ridge
Grant Edwards <[EMAIL PROTECTED]> wrote: >When I ssh into a windows machine (running Cygwin sshd), I can >invoke python at the shell prompt (you have to use -i option >and I don't really understand why). > >Once it's started there are couple rather odd behaviors: > > 1) readline support doesn't wo

Win32 python: odd behavior when run via ssh

2008-02-01 Thread Grant Edwards
When I ssh into a windows machine (running Cygwin sshd), I can invoke python at the shell prompt (you have to use -i option and I don't really understand why). Once it's started there are couple rather odd behaviors: 1) readline support doesn't work. 2) you have call sys.exit() to exit (neithe