This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygwin 1.3.2 bug on non-us keyboard layouts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]