delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/15/17:35:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jtiller AT sjm DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: cygwin 1.3.2 bug on non-us keyboard layouts
In-Reply-To: <20010615210133.A23058@gintaras>
Message-ID: <Pine.WNT.4.33.0106151313210.278-100000@753yc01.ventritex.com>
X-X-Sender: jdtiller AT shell3 DOT ba DOT best DOT com
MIME-Version: 1.0

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

- Raw text -


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