Issue with inserting '@' at the command prompt.

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Aug 19 15:33:00 GMT 2011


On Aug 19 17:15, Samuel Thibault wrote:
> Corinna Vinschen, le Fri 19 Aug 2011 17:08:41 +0200, a écrit :
> > Yes, just like the german one.  However, to the best of my knowledge
> > there's no printable unicode char which requires to press left-alt on
> > any such keyboard layout.
> 
> Yes, but there are shortcuts which use left-alt.
> 
> > That's exactly what the AltGr == right-alt key is for, isn't it?
> 
> For glyphs, yes.
> 
> For instance, alt-e would open an edition menu, while altgr-e prints the
> euro symbol.

Sure, but for the shortcuts, the keyboard doesn't generate a valid
unicode.  I think we're in violent agreement, just using different
expressions for it.

> > Uh, ok, I see.  If you press AltGr on a keyboard layout which does not
> > distinguish Alt and AltGr, (english, for instance), the AltGr key only
> > emits a RIGHT_ALT_PRESSED control code.
> 
> Ok.
> 
> > On a keyboard layout which does
> > distinguish them, the AltGr key emits LEFT_CTRL_PRESSED | RIGHT_ALT_PRESSED.
> 
> Ah. *that* is the part that I was missing :) I had assumed that
> RIGHT_ALT meant altgr. So we'll indeed simply simulate control as well,
> and it should work correctly.
> 
> Thanks!

Glad I could help,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list