Keyboard handling [Corinna]
Francis VIVAT
francis.vivat@cetp.ipsl.fr
Fri Apr 20 10:42:00 GMT 2001
Hi Harold,
I've just tried another xmodmap.fr, and discovered something :
at the begining :
clear Mod1
clear Mod2
and at the end :
add Mod1 = Alt_L
add Mod2 = Mode_switch
I've never put those lines before.
If I map Mode_Switch to the Alt-L key, the Alt-L works exactly as I want the
AltGr.
So maybe you just have to treat AltGr key like the Alt-L or any normal key, no ?
But the good new is that with proper xmodmap, Non-US can use their keyboard.
CU
. \)|(/
. (o o)
. /-----------------ooO----(_)----Ooo-----------------\
.(_| Francis VIVAT |
. | CETP-CNRS |
. | 10-12, avenue de l'Europe 78140 Velizy |
. | Tel : +33 1 3925 4780 |
. | Fax : +33 1 3925 4922 |_
. | E-Mail : francis.vivat@cetp.ipsl.fr | )
. \---------------------------------------------------/
. (_) (_)
----- Original Message -----
From: "Francis VIVAT" <francis.vivat@cetp.ipsl.fr>
To: "cygx" <cygwin-xfree@cygwin.com>
Sent: vendredi 20 avril 2001 15:10
Subject: Re: Keyboard handling [Corinna]
> Same behavior on french keyboard.
>
> Ctrl(L or R)+Alt(L or R) permit to reach the special caracters, like AltGr
does.
>
> CU
> . \)|(/
> . (o o)
> . /-----------------ooO----(_)----Ooo-----------------\
> .(_| Francis VIVAT |
> . | CETP-CNRS |
> . | 10-12, avenue de l'Europe 78140 Velizy |
> . | Tel : +33 1 3925 4780 |
> . | Fax : +33 1 3925 4922 |_
> . | E-Mail : francis.vivat@cetp.ipsl.fr | )
> . \---------------------------------------------------/
> . (_) (_)
>
>
>
> ----- Original Message -----
> From: "Corinna Vinschen" <cygwin-xfree@cygwin.com>
> To: "cygx" <cygwin-xfree@cygwin.com>
> Sent: vendredi 20 avril 2001 13:53
> Subject: Re: Keyboard handling [Corinna]
>
>
> > On Fri, Apr 20, 2001 at 01:32:50PM +0200, Corinna Vinschen wrote:
> > > 1) Ctrl_L down, Ctrl_L up
> > >
> > > KD VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0 fUp: 0 fMenuMode: 0
> > > KU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0 fUp: 1 fMenuMode: 0
> > >
> > > 2) Alt_L down, Alt_L up
> > >
> > > SD VK: 00000012 SC: 00000038 fExtended: 0 fAltDown: 1 fUp: 0 fMenuMode: 0
> > > SU VK: 00000012 SC: 00000038 fExtended: 0 fAltDown: 0 fUp: 1 fMenuMode: 0
> > >
> > > 3) AltGr down, AltGr up
> > >
> > > KD VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0 fUp: 0 fMenuMode: 0
> > > KD VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 1 fUp: 0 fMenuMode: 0
> > > SU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 1 fUp: 1 fMenuMode: 0
> > > KU VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 0 fUp: 1 fMenuMode: 0
> >
> > BTW: If you wonder why Alt_R returns _exactly_ the same as if
> > Ctrl+Alt has been pressed: It _is_ the same. For example the
> > Ascii character '@', which is on the german keyboard on
> > AltGr+Q is also reachable by pressing Ctrl+Alt+Q. I don't know
> > if that helps but I'm under the impression that could eliminate
> > all special handling for AltGr if Ctrl+Alt works as expected.
> >
> > Am I missing something?
> > Corinna
> >
> > --
> > Corinna Vinschen Please, send mails regarding Cygwin to
> > Cygwin Developer mailto:cygwin@cygwin.com
> > Red Hat, Inc.
> >
>
>
-------------- next part --------------
! Converted keytable file to xmodmap file
! with mk_modmap by root@linux.chanae.stben.be Wed Sep 4 03:01:13 MET DST 1996
clear Mod1
clear Mod2
keycode 9 = Escape Escape
keycode 10 = ampersand 1
keycode 11 = eacute 2 dead_tilde
keycode 12 = quotedbl 3 numbersign
keycode 13 = apostrophe 4 braceleft
keycode 14 = parenleft 5 bracketleft
keycode 15 = minus 6 bar
keycode 16 = egrave 7 dead_grave
keycode 17 = underscore 8 backslash
keycode 18 = ccedilla 9 asciicircum
keycode 19 = agrave 0 at
keycode 20 = parenright degree bracketright
keycode 21 = equal plus braceright
keycode 22 = BackSpace
keycode 23 = Tab Tab
keycode 24 = a
keycode 25 = z
keycode 26 = e
keycode 27 = r
keycode 28 = t
keycode 29 = y
keycode 30 = u
keycode 31 = i
keycode 32 = o
keycode 33 = p
keycode 34 = dead_circumflex dead_diaeresis
keycode 35 = dollar sterling
keycode 36 = Return
keycode 37 = Control_L
keycode 38 = q
keycode 39 = s
keycode 40 = d
keycode 41 = f
keycode 42 = g
keycode 43 = h
keycode 44 = j
keycode 45 = k
keycode 46 = l
keycode 47 = m M
keycode 48 = ugrave percent
keycode 49 = twosuperior
keycode 50 = Shift_L
keycode 51 = asterisk mu
keycode 52 = w
keycode 53 = x
keycode 54 = c
keycode 55 = v
keycode 56 = b
keycode 57 = n
keycode 58 = comma question dead_cedilla
keycode 59 = semicolon period
keycode 60 = colon slash Multi_key
keycode 61 = exclam section
keycode 62 = Shift_R
keycode 63 = KP_Multiply
keycode 64 = Mode_switch
keycode 65 = space space
keycode 66 = Caps_Lock
keycode 67 = F1 F11
keycode 68 = F2 F12
keycode 69 = F3 F13
keycode 70 = F4 F14
keycode 71 = F5 F15
keycode 72 = F6 F16
keycode 73 = F7 F17
keycode 74 = F8 F18
keycode 75 = F9 F19
keycode 76 = F10 F20
keycode 77 = Num_Lock
keycode 78 = Scroll_Lock
keycode 79 = KP_7
keycode 80 = KP_8
keycode 81 = KP_9
keycode 82 = KP_Subtract
keycode 83 = KP_4
keycode 84 = KP_5
keycode 85 = KP_6
keycode 86 = KP_Add
keycode 87 = KP_1
keycode 88 = KP_2
keycode 89 = KP_3
keycode 90 = KP_0
keycode 92 = Sys_Req
keycode 94 = less greater
keycode 95 = F11 F11
keycode 96 = F12 F12
keycode 107 = Delete
keycode 108 = KP_Enter
keycode 109 = Control_R
keycode 112 = KP_Divide
keycode 113 = Mode_switch
keycode 114 = Break
keycode 110 = Find
keycode 98 = Up
keycode 99 = Prior
keycode 100 = Left
keycode 102 = Right
keycode 104 = Down
keycode 105 = Next
keycode 106 = Insert
add Mod1 = Alt_L
add Mod2 = Mode_switch
More information about the Cygwin-xfree
mailing list