delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/19/13:21:51

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: NATIONAL CHARACTERS IN b18
19 May 1997 13:21:51 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC6449.2121BA60.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: "noer AT cygnus DOT com" <noer AT cygnus DOT com>,
"'tage DOT westlund AT stockholm DOT mail DOT telia DOT com'"
<tage DOT westlund AT stockholm DOT mail DOT telia DOT com>
Original-Cc: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
Encoding: 33 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Tage Westlund wrote:
> In the mailing list I read that b18 was to be released 
> and I was happy. Now is time to widen the experience, 
> to import the source, not only the binaries!
> But, recently I have found that swedish, danish and 
> german users have complained about the national charac-
> ters, typed by using the Alt Gr shift key. They simply
> do not work, they say.
> Do we have to wait for a soon coming b18.1 version or
> for a small national characters' patch?

Here is a fragment of winsup/console.cc:

    else /* keep it */                                             
      {                                                            
        if (input_rec.Event.KeyEvent.dwControlKeyState &           
>                        (LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED))    
          {                                                        
            char tmp[2];                                           
            tmp[0] = tolower(input_rec.Event.KeyEvent.AsciiChar);  
            tmp[1] = 0;                                            
            buf[copied_chars++] = '\033';                          
            undo_input(hndl, tmp);                                 
          }                                                        
        else                                                       

Modify marked line according to your needs.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019