Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 15 Jun 2001 14:35:03 -0700 (Pacific Daylight Time) From: Jason Tiller To: Subject: Re: cygwin 1.3.2 bug on non-us keyboard layouts In-Reply-To: <20010615210133.A23058@gintaras> Message-ID: X-X-Sender: jdtiller AT shell3 DOT ba DOT best DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Marius, :) On Fri, 15 Jun 2001, Marius Gedminas wrote: > On Fri, Jun 15, 2001 at 09:56:41AM -0700, Jason Tiller wrote: > > You are not the first to have come across this! I implemented > > (with much help from Corinna) a patch that was first applied in > > 1.3.1 to modify the behavior of AltGr (Alt key right of the > > spacebar on 102-key keyboards (US, at least)). I wanted AltGr to > > act as META, since I was using emacs editing keys in bash and > > really liked using either Alt key as META. Since US users have no > > use for AltGr, really, we worked the code to treat AltGr as META > > only if the console keyboard's primary language identifier was > > English (LANG_ENGLISH). > Actually, some non-US keyboards also do not use AltGr. I use a > nonstandard "Lithuanian (Programmers)" layout which uses dead keys, > and I'm quite used to have both Alt keys work as META. Hmm. Sounds like defining the exact conditions (without user input) that determine when AltGr should be interpreted as META is more challenging than originally thought (but isn't it always that way?). > The best solution would be to see how the selected keyboard layout > defines the right Alt key. I don't know if that's possible. I'll > try to look into this on MSDN. Hmm. I don't know if MapVirtualKey would do it or not. I'm certainly interested in any ideas that you have! I don't purport to be an expert at this, not at all... ---Jason Sonos -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple