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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Alt key isn't Meta in Cygwin xterm (Norwegian keyboard)


Hi Steinar and others,

I experienced something similar: My RightAlt (Altgr) wasn't working well, a resolution to get the key working was to change the file /etc/X11/xkb/symbols/pc/<lang file> and define your key function there.

The xev program now showed the is the right translation of the Alt key,
but the keyboard map doesn't show definitions for RightAlt.

Change to es file:

     key <RALT>  { type[Group1]="TWO_LEVEL",
                   [ Mode_switch, Multi_key ]   };
     modifier_map Mod5   { <RALT> };

See also the mail in cygwin-xfree list of 13/11/03 14:51

Maybe it helps in your case.

Hans.

Steinar Bang escribió:
>>>>>>Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>:
>>>>>
>
>>Hm, xev reports Alt+b but the bash gets â. Must be a problem with xterm.
>>-> Press Control and click into the xterm window. You'll get a menu.
>>Select "Meta Sends Escape" from the menu.
>
>
> This menu entry was previously unselected.  I selected it, and the
> behaviour remains unchanged.  Ie. Alt-b still generates â.
>
> The results from xev when pressing Alt-b, are:
>
> KeyPress event, serial 17, synthetic NO, window 0x1400001,
>     root 0x3a, subw 0x0, time 944035290, (120,91), root:(267,161),
>     state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> KeyPress event, serial 22, synthetic NO, window 0x1400001,
>     root 0x3a, subw 0x0, time 944036182, (120,91), root:(267,161),
>     state 0x8, keycode 56 (keysym 0x62, b), same_screen YES,
>     XLookupString gives 1 bytes:  "b"
>
>
> .
>




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