Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2005-08-02 Thread Andrew Pimlott
On Tue, Aug 02, 2005 at 10:44:39PM +0200, Denis Barbier wrote:
> On Sun, Jul 24, 2005 at 09:11:39PM -0700, Andrew Pimlott wrote:
> > Shouldn't the line
> > 
> > include "level3(ralt_switch_multikey)"
> > 
> > (line 64) simply be removed from pc/dvorak?
> 
> You are fully right. As there have been various problems with other
> changes in XKB stuff, I for one was reluctant to push this change
> in before sarge release.  I plan working on XKB very soon, and will
> then commit this change.

Cool, thanks!

Andrew


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2005-08-02 Thread Denis Barbier
On Sun, Jul 24, 2005 at 09:11:39PM -0700, Andrew Pimlott wrote:
> I'm another dvorak user who is annoyed by this behavior, and from
> reading this bug log, I can't figure out what the difficulty is.
> Shouldn't the line
> 
> include "level3(ralt_switch_multikey)"
> 
> (line 64) simply be removed from pc/dvorak?

You are fully right. As there have been various problems with other
changes in XKB stuff, I for one was reluctant to push this change
in before sarge release.  I plan working on XKB very soon, and will
then commit this change.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2005-07-24 Thread Andrew Pimlott
I'm another dvorak user who is annoyed by this behavior, and from
reading this bug log, I can't figure out what the difficulty is.
Shouldn't the line

include "level3(ralt_switch_multikey)"

(line 64) simply be removed from pc/dvorak?  This is part of the "basic"
definition, and does not seem to belong there.  In pc/us, the "basic"
definition does not include such a line, only the "intl" and "alt-intl"
definitions.  Do some people need an "intl" version of pc/dvorak
(besides those already present, eg "fr" and "pl_basic")?  If so, let
them provide it; or if I must, I'll provide it, and they can fix it if
it's broken.  Meanwhile, let's fix the definition for 90% of users who
just want both alt keys to work.

If this is not the solution, can someone explain the problem in small
words, and I promise I'll work on it.

Andrew

PS.  Thanks a lot Adam for putting that song in your sig that is now
stuck in my head.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-10-15 Thread Branden Robinson
On Thu, Oct 14, 2004 at 09:51:06AM -0400, Adam C Powell IV wrote:
> On Thu, 2004-10-07 at 18:41, Branden Robinson wrote:
> > Any luck with this?
> 
> Not yet I'm afraid.  Feel free to close it, and if I get around to
> learning how to do this I'll either reopen it if it's within 30 days or
> open a new wishlist bug.
> 
> Thanks for your diligence and attention to this very minor bug. :-)

Nah, it can stay open.  When we get a chance to work on it, we'll work in
it.

I do find myself wondering, though, if "dvorak" shouldn't stop being a
layout of itself, and start being a variant of the various national maps.

-- 
G. Branden Robinson|Turning on -Wall is like turning on
Debian GNU/Linux   |the pain.
[EMAIL PROTECTED] |-- James Troup
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-10-14 Thread Adam C Powell IV
On Thu, 2004-10-07 at 18:41, Branden Robinson wrote:
> On Tue, Aug 31, 2004 at 07:31:32PM -0400, Adam C Powell IV wrote:
> > I see, so dvorak has different right alt behavior from pc/us.  Thank you
> > for the detailed explanation.
> [...]
> > Hmm...  I am satisfied, but the next guy to come along using dvorak
> > might not be, so it's "good enough for me", but not necessarily "good
> > enough for Debian".
> > 
> > Let's leave it open, I don't want to take any more of your time, so I'll
> > try to create another variant myself and send it to this bug as a
> > patch.  I should be able to get to it in the next day or two.
> 
> Any luck with this?

Not yet I'm afraid.  Feel free to close it, and if I get around to
learning how to do this I'll either reopen it if it's within 30 days or
open a new wishlist bug.

Thanks for your diligence and attention to this very minor bug. :-)

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-10-07 Thread Branden Robinson
On Tue, Aug 31, 2004 at 07:31:32PM -0400, Adam C Powell IV wrote:
> I see, so dvorak has different right alt behavior from pc/us.  Thank you
> for the detailed explanation.
[...]
> Hmm...  I am satisfied, but the next guy to come along using dvorak
> might not be, so it's "good enough for me", but not necessarily "good
> enough for Debian".
> 
> Let's leave it open, I don't want to take any more of your time, so I'll
> try to create another variant myself and send it to this bug as a
> patch.  I should be able to get to it in the next day or two.

Any luck with this?

-- 
G. Branden Robinson|   The Bible is probably the most
Debian GNU/Linux   |   genocidal book ever written.
[EMAIL PROTECTED] |   -- Noam Chomsky
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-31 Thread Adam C Powell IV
On Tue, 2004-08-31 at 18:08, Denis Barbier wrote:
> On Mon, Aug 30, 2004 at 12:08:07PM -0400, Adam C Powell IV wrote:
> [...]
> > Interestingly, I had thought that the absence of Alt_R in mod2 was the
> > problem with the Dvorak/switched layout.  But it's also missing in the
> > default US/no switch layout, in which right Alt works just fine...
> >
> > FYI, in the case of Dvorak/no switch, right Alt does nothing; with
> > US/switch, right Alt works fine.  So Dvorak seems to be the problem.
> 
> Great, thank you for your detailed report.
> Your analysis is right, swapcaps and mod2 are not causing this bug.
> Since xmodmap output is similar in both cases, one could believe that
> their modifiers are the same, but this is wrong.  The difference is
> more subtle, it becomes visible when running
>   $ xmodmap -pke | grep 113
> (because 113 is the keycode of right Alt key in your case) with both
> layouts (do not swap caps/ctrl to make less changes) and compare their
> output:
>keycode 113 = Alt_R Meta_R
>keycode 113 = ISO_Level3_Shift Multi_key
> 
> With pc/us, right Alt key is bound to "Alt_R Meta_R".  Unfortunately
> xmodmap does not tell why Alt_R is bound to mod1, this is because XKB
> is much more powerful and xmodmap is unable to display all details.
> The reason can be found by running
>   $ xkbcomp :0
> and searching for Alt_R in the generated server-0.xkb file.
> 
> OTOH right Alt key is bound to ISO_Level3_Shift (and thus mod5) with
> dvorak layout, so pressing this key grabs the 3rd column found in
> /etc/X11/xkb/symbols/pc/dvorak (ie. dead keys).  This event is
> intercepted by XKB and not sent to your window manager.
> So in fact, your right Alt key works as expected, but not as you want.

I see, so dvorak has different right alt behavior from pc/us.  Thank you
for the detailed explanation.

> This bug should either be fixed by providing a pure ASCII dvorak
> variant, or you have to bind your right Alt key to mod1.  I believe
> that selecting altwin:meta_alt option does the trick.  In such a
> case, can this bugreport be closed, or do you really need another
> variant?

Hmm...  I am satisfied, but the next guy to come along using dvorak
might not be, so it's "good enough for me", but not necessarily "good
enough for Debian".

Let's leave it open, I don't want to take any more of your time, so I'll
try to create another variant myself and send it to this bug as a
patch.  I should be able to get to it in the next day or two.

Thanks,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-31 Thread Denis Barbier
On Mon, Aug 30, 2004 at 12:08:07PM -0400, Adam C Powell IV wrote:
[...]
> Interestingly, I had thought that the absence of Alt_R in mod2 was the
> problem with the Dvorak/switched layout.  But it's also missing in the
> default US/no switch layout, in which right Alt works just fine...
>
> FYI, in the case of Dvorak/no switch, right Alt does nothing; with
> US/switch, right Alt works fine.  So Dvorak seems to be the problem.

Great, thank you for your detailed report.
Your analysis is right, swapcaps and mod2 are not causing this bug.
Since xmodmap output is similar in both cases, one could believe that
their modifiers are the same, but this is wrong.  The difference is
more subtle, it becomes visible when running
  $ xmodmap -pke | grep 113
(because 113 is the keycode of right Alt key in your case) with both
layouts (do not swap caps/ctrl to make less changes) and compare their
output:
   keycode 113 = Alt_R Meta_R
   keycode 113 = ISO_Level3_Shift Multi_key

With pc/us, right Alt key is bound to "Alt_R Meta_R".  Unfortunately
xmodmap does not tell why Alt_R is bound to mod1, this is because XKB
is much more powerful and xmodmap is unable to display all details.
The reason can be found by running
  $ xkbcomp :0
and searching for Alt_R in the generated server-0.xkb file.

OTOH right Alt key is bound to ISO_Level3_Shift (and thus mod5) with
dvorak layout, so pressing this key grabs the 3rd column found in
/etc/X11/xkb/symbols/pc/dvorak (ie. dead keys).  This event is
intercepted by XKB and not sent to your window manager.
So in fact, your right Alt key works as expected, but not as you want.

This bug should either be fixed by providing a pure ASCII dvorak
variant, or you have to bind your right Alt key to mod1.  I believe
that selecting altwin:meta_alt option does the trick.  In such a
case, can this bugreport be closed, or do you really need another
variant?

Denis




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-30 Thread Adam C Powell IV
On Thu, 2004-08-26 at 15:37, Denis Barbier wrote:
> Adam C Powell IV wrote:
> > On Wed, 2004-08-25 at 16:38, Branden Robinson wrote:
[snip]
> > >   So I'm thinking the fix is to apply the above, then modify the
> > >   symbol maps such that (in most cases) any keys that get modifier
> > >   mappings are cleared first.
> > >   This solution will absolutely positively need testing.
> 
> No, original bugreport is against -4, so this is a different issue.
> And 'modifier_map none' does not appear in XFree86 CVS, so shipping
> files with this construct seems very risky.  OTOH incorporating 667
> would be nice since users may try this syntax if everything else
> fails.
> 
> > I see.  Thanks for the rapid response!  Let me know how I can help with
> > testing.
> 
> What does
>   $ xmodmap
>   $ setxkbmap -print
> display?  You told that your right alt key is missing, what does xev
> tell when it is pressed?  And what is this key supposed to do in your
> environment?

This is with the GNOME keyboard manager set to the Dvorak layout with
left Ctrl and caps lock switched:

54 p4-117-1% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x25)
control Control_L (0x42),  Control_R (0x6d)
mod1Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2Num_Lock (0x4d)
mod3
mod4BadKey (0x7f),  BadKey (0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

55 p4-117-1% setxkbmap -print
xkb_keymap {
xkb_keycodes  { include "xfree86+aliases(qwerty)"   };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc/pc(pc104)+pc/dvorak+ctrl(swapcaps)" };
xkb_geometry  { include "pc(pc104)" };
};

Now when I use the capplet to remove Dvorak and add U.S. English, and
remove the ctrl-caps lock switch (IOW, revert to defaul settings):

56 p4-117-1% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2Num_Lock (0x4d)
mod3
mod4BadKey (0x7f),  BadKey (0x80)
mod5Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

57 p4-117-1% setxkbmap -print
xkb_keymap {
xkb_keycodes  { include "xfree86+aliases(qwerty)"   };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc/pc(pc104)+pc/us"};
xkb_geometry  { include "pc(pc104)" };
};

Interestingly, I had thought that the absence of Alt_R in mod2 was the
problem with the Dvorak/switched layout.  But it's also missing in the
default US/no switch layout, in which right Alt works just fine...

FYI, in the case of Dvorak/no switch, right Alt does nothing; with
US/switch, right Alt works fine.  So Dvorak seems to be the problem.

Thanks much,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-26 Thread Denis Barbier
Adam C Powell IV wrote:
> On Wed, 2004-08-25 at 16:38, Branden Robinson wrote:
> > My thinking now is that to fix this I need to tackle one of the few
> > remaining TODO items for -7:
> >
> > * #256706: keep swatting away at the keyboard modifer issue; Ivan
> > Pascal told
> >   BR:
> > There is not modifier_del instruction in 'XKB language' but ...
> > I made a simple change for xkbcomp and now it understands an
> > instruction
> > like
> > 
> >modifier_add none {  };
> > It removes the modifier binding from the specified key.
> > I'm sorry I forget to mention this patch in CHANGELOG but it was a
> > part of 667 change made at Dec 18 14:14:37 2003 (i.e. it is
> > included in 4.4.0).
> > If your xkbcomp is later than that version it understands such
> > instruction.

Too bad I missed that message, it would have helped me to understand
what 667 is for in #256706.

> >   So I'm thinking the fix is to apply the above, then modify the
> >   symbol maps such that (in most cases) any keys that get modifier
> >   mappings are cleared first.
> >   This solution will absolutely positively need testing.

No, original bugreport is against -4, so this is a different issue.
And 'modifier_map none' does not appear in XFree86 CVS, so shipping
files with this construct seems very risky.  OTOH incorporating 667
would be nice since users may try this syntax if everything else
fails.

> I see.  Thanks for the rapid response!  Let me know how I can help with
> testing.

What does
  $ xmodmap
  $ setxkbmap -print
display?  You told that your right alt key is missing, what does xev
tell when it is pressed?  And what is this key supposed to do in your
environment?

Denis




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-26 Thread Adam C Powell IV
On Wed, 2004-08-25 at 16:38, Branden Robinson wrote:
> On Tue, Aug 24, 2004 at 09:23:19AM -0400, Adam C Powell IV wrote:
> > Hello again and apologies for the delay,
> > 
> > On Tue, 2004-07-13 at 00:44, Branden Robinson wrote:
> > > tag 258399 + moreinfo upstream
> > > thanks
> > > 
> > > On Fri, Jul 09, 2004 at 08:48:38AM -0400, Adam C Powell IV wrote:
> > > > Package: xlibs
> > > > Version: 4.3.0.dfsg.1-4
> > > > Severity: minor
> > > > 
> > > > Greetings,
> > > > 
> > > > On switching from a normal US layout to the dvorak layout in GNOME (on a
> > > > PC), I've lost the use of the right alt key...
> > > 
> > > I think this is the sort of thing the unpopular modifier key change
> > > backported from upstream in -5 was intended to address.
> > > 
> > > Can you reproduce this problem with 4.3.0.dfsg.1-6?
> > 
> > Yes.  I've upgraded xlibs[-data] and the individual libraries on which
> > it depends, and xserver-[xfree86|common], and the problem persists.  Of
> > course, this is still just testing with a newer X, though libxklavier is
> > at its newest version, but other old packages could be causing this...
> > 
> > Please let me know if you need any further information.
> 
> My thinking now is that to fix this I need to tackle one of the few
> remaining TODO items for -7:
> 
> * #256706: keep swatting away at the keyboard modifer issue; Ivan Pascal told
>   BR:
> There is not modifier_del instruction in 'XKB language' but ...
> I made a simple change for xkbcomp and now it understands an instruction
> like
> 
>modifier_add none {  };
> It removes the modifier binding from the specified key.
> I'm sorry I forget to mention this patch in CHANGELOG but it was a part
> of 667 change made at Dec 18 14:14:37 2003 (i.e. it is included in 4.4.0).
> If your xkbcomp is later than that version it understands such 
> instruction.
>   So I'm thinking the fix is to apply the above, then modify the symbol maps
>   such that (in most cases) any keys that get modifier mappings are cleared
>   first.  This solution will absolutely positively need testing.

I see.  Thanks for the rapid response!  Let me know how I can help with
testing.

Cheers,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-25 Thread Branden Robinson
On Tue, Aug 24, 2004 at 09:23:19AM -0400, Adam C Powell IV wrote:
> Hello again and apologies for the delay,
> 
> On Tue, 2004-07-13 at 00:44, Branden Robinson wrote:
> > tag 258399 + moreinfo upstream
> > thanks
> > 
> > On Fri, Jul 09, 2004 at 08:48:38AM -0400, Adam C Powell IV wrote:
> > > Package: xlibs
> > > Version: 4.3.0.dfsg.1-4
> > > Severity: minor
> > > 
> > > Greetings,
> > > 
> > > On switching from a normal US layout to the dvorak layout in GNOME (on a
> > > PC), I've lost the use of the right alt key...
> > 
> > I think this is the sort of thing the unpopular modifier key change
> > backported from upstream in -5 was intended to address.
> > 
> > Can you reproduce this problem with 4.3.0.dfsg.1-6?
> 
> Yes.  I've upgraded xlibs[-data] and the individual libraries on which
> it depends, and xserver-[xfree86|common], and the problem persists.  Of
> course, this is still just testing with a newer X, though libxklavier is
> at its newest version, but other old packages could be causing this...
> 
> Please let me know if you need any further information.

My thinking now is that to fix this I need to tackle one of the few
remaining TODO items for -7:

* #256706: keep swatting away at the keyboard modifer issue; Ivan Pascal told
  BR:
There is not modifier_del instruction in 'XKB language' but ...
I made a simple change for xkbcomp and now it understands an instruction
like

   modifier_add none {  };
It removes the modifier binding from the specified key.
I'm sorry I forget to mention this patch in CHANGELOG but it was a part
of 667 change made at Dec 18 14:14:37 2003 (i.e. it is included in 4.4.0).
If your xkbcomp is later than that version it understands such instruction.
  So I'm thinking the fix is to apply the above, then modify the symbol maps
  such that (in most cases) any keys that get modifier mappings are cleared
  first.  This solution will absolutely positively need testing.

-- 
G. Branden Robinson|
Debian GNU/Linux   |   If existence exists,
[EMAIL PROTECTED] |   why create a creator?
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-08-24 Thread Adam C Powell IV
Hello again and apologies for the delay,

On Tue, 2004-07-13 at 00:44, Branden Robinson wrote:
> tag 258399 + moreinfo upstream
> thanks
> 
> On Fri, Jul 09, 2004 at 08:48:38AM -0400, Adam C Powell IV wrote:
> > Package: xlibs
> > Version: 4.3.0.dfsg.1-4
> > Severity: minor
> > 
> > Greetings,
> > 
> > On switching from a normal US layout to the dvorak layout in GNOME (on a
> > PC), I've lost the use of the right alt key...
> 
> I think this is the sort of thing the unpopular modifier key change
> backported from upstream in -5 was intended to address.
> 
> Can you reproduce this problem with 4.3.0.dfsg.1-6?

Yes.  I've upgraded xlibs[-data] and the individual libraries on which
it depends, and xserver-[xfree86|common], and the problem persists.  Of
course, this is still just testing with a newer X, though libxklavier is
at its newest version, but other old packages could be causing this...

Please let me know if you need any further information.

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg




Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-07-12 Thread Branden Robinson
tag 258399 + moreinfo upstream
thanks

On Fri, Jul 09, 2004 at 08:48:38AM -0400, Adam C Powell IV wrote:
> Package: xlibs
> Version: 4.3.0.dfsg.1-4
> Severity: minor
> 
> Greetings,
> 
> On switching from a normal US layout to the dvorak layout in GNOME (on a
> PC), I've lost the use of the right alt key...

I think this is the sort of thing the unpopular modifier key change
backported from upstream in -5 was intended to address.

Can you reproduce this problem with 4.3.0.dfsg.1-6?

-- 
G. Branden Robinson| There is resilient security in
Debian GNU/Linux   | openness, and brittle security in
[EMAIL PROTECTED] | secrecy.
http://people.debian.org/~branden/ | -- Bruce Schneier


signature.asc
Description: Digital signature


Processed: Re: Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-07-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tag 258399 + moreinfo upstream
Bug#258399: xlibs: dvorak keyboard layout is missing right alt key
There were no tags set.
Tags added: moreinfo, upstream

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#258399: xlibs: dvorak keyboard layout is missing right alt key

2004-07-09 Thread Adam C Powell IV
Package: xlibs
Version: 4.3.0.dfsg.1-4
Severity: minor

Greetings,

On switching from a normal US layout to the dvorak layout in GNOME (on a
PC), I've lost the use of the right alt key...

Thanks,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg