Re: Oracle*Terminal and PC keys remapping

From: Prashant Bhandary <prashb_at_rta.oz.au>
Date: Wed, 9 Jun 93 07:54:57 GMT
Message-ID: <1993Jun9.075457.17688_at_rta.oz.au>


>>
>> I don't know how many of you have played with Oracle Terminal, but I have
>> a *strange* situation...Is there any way to remap the 101-key keyboard's
>> numeric keypad keys, especially the /*-+ keys to the right of the NumLock
>> key? How about using F11 and F12? Can the grey cursor movement keys be
>> mapped separately from the keypad equivalents?
>>
>> Obviously, there must be *some* way to distinguish the /*-+ keypad keys
>> from those on the qwerty keyboard, since I have programs which can
>> differentiate between the two. Any ideas? All appreciated!
>>
>>
 

> Whoops...I guess I didn't make it clear enough. I'm aware of all the
> VT-style remapping that can go on, but my problem here has to do with the
> native DOS version of Oracle and the suite of tools. Apparently, Oracle
> Terminal provides logical key cap names for either bios key scan codes
> or ANSI.SYS driver scan codes ... the problem lies as to whether or not
> the /*-+ keypad keys have different scan codes from the same keys on the
> qwerty cluster.
>

I don't know about Oracle on DOS but the scan codes for the grey keys are different. If you look up the man page for ANSI.SYS in your DOS manual it talks about ESC[<code>;<string>p sequence... By some coincidence the key codes mentioned correspond to the scan codes recevived by BIOS :-)

Another reference for scan codes would be _The Programmer's guide to the IBM PC and PS/2_ by Peter Norton.

So Home is 0, 71 and grey Home is 224, 71. I hope that solves your problem.

Prashant
prashb_at_xwdev.rta.oz.au

-- 

+----------------+  -------------------------------------------------
|                |    Prashant Bhandary
|   +---+        |    Roads and Traffic Authority
Received on Wed Jun 09 1993 - 09:54:57 CEST

Original text of this message