Re: keys2.bat

William Ofosu-Amaah (XI6W-OFSA@asahi-net.or.jp)
Sun, 28 Jul 1996 10:27:01 +0900

> I am puzzled. It does not appear that you are remapping the + key at
> all. Default mapping of + seems to be both + and shift-+ as well as
> the correct location of shift+=. What gives?

Oops, sorry what I wrote was incorrect. I wrote it away from the OGO
so was writing from memory. I just rechecked on my OG and discovered
both the problem and the solution.

The problem: The scan code for "SHIFT+=" and
"+" (on the keypad) are both 43 so by remapping SHIFT+= to "_" to
match the OGO keyboard, I had converted "+" and "SHIFT++" also
to "_" this is why I must have thought I couldn't get the "+"
To correct the problem, I have changed that line in my keys.bat
file using OGEDIT:

I Changed th line:
echo SHIFT-= "_" ESC[43;"_"p

to:

echo ALT-. "_" ESC[0;52;"_"p

This maps "_" to ALT-.

Please feel free to change it as you wish.

>
> For myself I found it easier just to leave +, ? and _ alone as they
> map correctly (on the corresponding keys on a standard keyboard) by
> default.

Good idea!
For me though I can touch type, I wouldn't remember where they are :-(
which is why I was trying to match the OGO keyboard so that what you
saw was what you got (WYSIWG? :-).

Thanks for your post. It helped me realize and solve the problem!

William