Thanks for giving this a good going over and a thorough explanation.
But I think the critical difference between your testing and mine is that you are in a Win98 DOS box using MS EDIT and I am on a pure FreeDOS machine using FD EDIT.
The reference to a multimedia keyboard is from Lester Vedrox's post, to which I was responding. I'm not using such a keyboard here, nor would I expect that to make any difference.
----- Original Message -----
From: Henrique Peron
Sent: Wednesday, May 10, 2006 1:13 PM
Subject: Re: [Freedos-user] Right-ALT key (topic was Customizing Startup Files)
I have just tested the US keyboard (under MS-DOS EDIT) and the <Left_Alt> works just like <Right_Alt>.
If you haven't prepared and selected any cp (codepage), then you'll be using the character table implemented in the BIOS of your VGA adapter which, on 99.999% of the cases, is identical (in encoding) to FreeDOS (and MS-DOS, IBM-DOS and probably any other DOS) cp437 and that's why if you run KEYB under these conditions, it will work as if you had prepared and selected that codepage. In that case, "KEYB US" should work just like the US implementation of the keyboard BIOS extension.
If you have actually prepared and selected cp437 (or cp850), "KEYB US" should still work just like the US implementation of the keyboard BIOS extension.
The <Right_Alt> key only works differently (i.e. like the <AltGr> key on international keyboards) if there's a character associated to a given combination.If you're using cp858 (which is FreeDOS default), the <Right_Alt> key works as <AltGr> only to <AltGr> + <5> and <AltGr> + <E>, which display the Euro sign.
For all the other combinations, <Right_Alt> remains the same as <Left_Alt>.
Therefore, as far as I can see it, KEYB not only sticks to the commitment of being 100% MS-DOS compatible as well as it enhances MS-DOS KEYB functionality, since it allows you to encode your own layouts and even extra layers, such as, for example, combining keys with <Shift> + <AltGr>.
All my KEY encodings and testings are under a Win98 DOS Box. Perhaps KEYB behaves slightly different when working under FreeCOM (and/or under FreeDOS EDIT).
(Definition of "KEY encodings": All the keyboard layouts are encoded into *.KEY files.)
By the way, the issue of being a multimedia keyboard won't probably have anything to do with that. All that happens is, your multimedia keyboard has extra scancodes for its multimedia keys - which aren't dealt with on standard KEY files so they'll remain "dead" unless you run some program which handles them.
- [Freedos-user] Customizing Startup Files Lester Vedrox
- Re: [Freedos-user] Customizing Startup Files Eric Auer
- Re: [Freedos-user] Customizing Startup Files Lester Vedrox
- [Freedos-user] Right-ALT key (topic was Customi... John Hupp
- Re: [Freedos-user] Right-ALT key (topic was... Henrique Peron