Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!ucsd!pacbell.com!pacbell!att!cbnewsk!konopka From: konopka@cbnewsk.att.com (raymond.konopka..jr) Newsgroups: comp.lang.pascal Subject: Remapping the Keypad keys Message-ID: <1990Aug29.191358.26280@cbnewsk.att.com> Date: 29 Aug 90 19:13:58 GMT Sender: Raymond Konopka, Jr. Followup-To: konopka@ihlpm.att.com Distribution: usa Organization: AT&T Bell Laboratories Lines: 12 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