Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-05 Thread Darryl Dixon
Sorry all, It seems that the list mods have finally released a duplicate message that I wrote last week when I wasn't subscribed to the list. Please ignore the message below if you have read the previous copy already. D On Thu, 2005-06-30 at 09:43 +1200, Darryl Dixon wrote: > Hi, > > I

Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-05 Thread Terry Reedy
"Darryl Dixon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I'm sorry, I don't seem to have done a very good job at explaining > the situation. I'll try again: Actually, I think you did fine the first time, and the second time, and I see nothing new here. You, like thousan

Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-05 Thread Jeff Epler
Whatever it is that you need 'getch' to do, can't you incorporate it first in an extension module you bundle with your application or library, rather than using the (broken?) wrapper in the msvcrt module? Jeff pgpArc0XfxgA7.pgp Description: PGP signature _

[Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-05 Thread Darryl Dixon
Hi, I'm sorry, I don't seem to have done a very good job at explaining the situation. I'll try again: 'getch()' is a low-level function provided on Windows to capture a single character of input from a user, /without echoing it to the screen/. As far as I can tell there's no other way of doi

Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-01 Thread Terry Reedy
"Darryl Dixon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Python on Windows. The Python interface to this function is in the C > code in msvcrtmodule.c, which has a (very thin) wrapper around the raw > OS system call. I think Fredrik made two points in this regard. 1) The cu

Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-07-01 Thread Aahz
On Fri, Jul 01, 2005, Darryl Dixon wrote: > > Is it worth sending in a patch to the sourceforge patch-tracker > implementing this? Is it OK for msvcrt_getch to return Unicode when > appropriate? Let's put it this way: you probably won't get much in the way of forward motion on this unless you do

[Python-Dev] getch() in msvcrt does not accept extended characters.

2005-06-30 Thread Darryl Dixon
Hi, I'm sorry, I don't seem to have done a very good job at explaining the situation. I'll try again: 'getch()' is a low-level function provided on Windows to capture a single character of input from a user, /without echoing it to the screen/. As far as I can tell there's no other way of doi

Re: [Python-Dev] getch() in msvcrt does not accept extended characters.

2005-06-29 Thread Fredrik Lundh
Darryl Dixon wrote: > Microsoft support capturing extended characters via _getch, but it requires > making a > second call to getch() if one of the 'magic' returns is encountered in the > first call (0x00 > or 0xE0). so why not do that in your python code? > The relevant chunk of code in Pytho

[Python-Dev] getch() in msvcrt does not accept extended characters.

2005-06-29 Thread Darryl Dixon
Hi all, Please CC: me on any replies as I am not subscribed to this list. I am the lead maintainer for the ntlmaps project (http://ntlmaps.sourceforge.net). Recently a bugreport logged against ntlmaps has brought an issue to my attention (see: https://sourceforge.net/tracker/index.php?func=d