[comp.lang.pascal] Remapping the Keypad keys

konopka@cbnewsk.att.com (raymond.konopka..jr) (08/30/90)

I am using my pc as a terminal which is connected to a Unix based
mainframe.  Until I find a WordStar-like editor for Unix I am stuck
using Vi or Emacs.  What I would like to do is remap the keypad
of my computer to execute the corresponding editor commands in VI.
Since the commands are simply characters strings, I believe all I
have to do is watch the keyboard and whenever a keypad key is pressed
I will instead send the correct character string.  However, I do
not know how to go about doing this.  Any help would be appreciated.

Thanks,

   Ray Konopka