Re: RightAlt Key behaviour (was: Bug in "Edit")

Aitor Santamaria Merino <[email protected]> Sat, 02 Nov 2002 03:05:19 +0100
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
>
>
>>Along the same lines, I have been made this request as a possible with 
>>for xkeyb: make RightAlt behave "as leftAlt", or as I understood, making 
>>RightAlt behave as LeftAlt, as (I was told) happens in US style keyboards.
>>I don't quite understand what I am being requested, I think the idea is 
>>that one could trigger the menus by pressing RightAlt+F, not only 
>>LeftAlt+F. Bearing in mind that this would automatically disable the 
>>"third character in a key" feature, I can't get what I am supposed to 
>>do. As I understand it, if a program wants to check the Alt-pressing 
>>status, it would look in the appropriate BIOS variables (0040h:0017h, 
>>0040h:0096h, etc), so as I see it, there's nothing I can do about this, 
>>unless this means that my int9h has to cheat BIOS and tell that LeftAlt 
>>was pressed whenever RightAlt was pressed...
>>
>
>I don't know where the request comen from, but I can point that:
>
>1) RightAlt was introduced lated (in AT) and can only be checked
>independently with the extended interface. Both keys _should_ set
>the same bit in the standard interface, but it has a few bug sometimes.
>
Yes (what you call the "standard" interface, I suppose it's 0040h:0017h, 
where no distinction of Alt keys is pressed. Currently in xkeyb, 
"Alt-pressed" in this variable is filled whenever EITHER Alt is pressed).

>2) small keyboards don't _have_ a RightAlt. BUT some people write
>sw believing that every machine is just like theirs and will never change.
>If you have a sw that says RightAlt+Y and your keyboard just doesn't
>have it? 
>
I think the user referred to the case (not experienced by me so far) in 
which some software wouldn't response to RightAlt as they would do to 
LeftAlt.
In my opinion, a software that checks for Alt key to be pressed (for 
menus, etc) should check the "standard interface", that doesn't make a 
difference between left/right alt. I don't know how standard this is 
(this is what I would do), and that's why I am asking here if there's 
anything else xkeyb should do anything to "enable user" to make both Alt 
keys to behave more symmetrically, or if there is something I am missing 
about the Alt keys behaviour.
Well, if there aren't any other issues to be made by xkeyb about both 
Alt keys, I suppose there's nothing else xkeyb should do...

Best regards,
Aitor