This is the mail archive of the
cygwin-patches@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: preliminary patch2 for i18n: change the code page to ANSI.
- To: cygwin-patches at sourceware dot cygnus dot com
- Subject: Re: preliminary patch2 for i18n: change the code page to ANSI.
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Mon, 3 Jul 2000 19:04:59 -0400
- References: <s1saefyooqa.fsf@jaist.ac.jp>
On Tue, Jul 04, 2000 at 07:03:57AM +0900, Kazuhiro Fujieda wrote:
>Index: fhandler_console.cc
>===================================================================
>RCS file: /cvs/src/src/winsup/cygwin/fhandler_console.cc,v
>retrieving revision 1.8
>diff -u -p -r1.8 fhandler_console.cc
>--- fhandler_console.cc 2000/04/24 21:41:11 1.8
>+++ fhandler_console.cc 2000/07/03 14:19:32
>@@ -179,7 +179,9 @@ fhandler_console::read (void *pv, size_t
> !input_rec.Event.KeyEvent.bKeyDown)
> continue;
>
>- if (ich == 0 || (ich & 0xff) == 0xe0) /* arrow/function keys */
>+ if (ich == 0 ||
>+ /* arrow/function keys */
>+ (input_rec.Event.KeyEvent.dwControlKeyState & ENHANCED_KEY))
> {
> toadd = get_nonascii_key (input_rec);
> if (!toadd)
Have you tested this change under Windows 95/98? This test against 0xe0
was a recent addition from someone who claimed that it made things work
better under 95 or 98, I believe.
cgf