Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ptsfa!ihnp4!cuae2!ltuxa!we53!sw013b!dj3b1!killer!toma From: toma@killer.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: VT-100 device driver Message-ID: <769@killer.UUCP> Date: Sun, 12-Apr-87 21:59:43 EST Article-I.D.: killer.769 Posted: Sun Apr 12 21:59:43 1987 Date-Received: Sun, 19-Apr-87 03:14:23 EST References: <2471@dalcs.UUCP> <58200032@gorgo.UUCP> Organization: \nThe Organization for the Disorganization of Organization Lines: 153 Summary: Kermit229 will allow it... In article <58200032@gorgo.UUCP>, ddrex@gorgo.UUCP writes: > > I'm acquianted with 'nansi'; I use it, but was not fully aware of all its > capabilities. > > My comments about the emulator were to some degree facetious: nobody will > ever convince me that an XT's double row of function keys looks, or behaves, > anything like a VT-100/200/220 keypad. Try running VMS EDIT remotely from > an XT sometime. It aint fun! What I'd really like to see is an emulator that > makes the XT's keypad work as much like a VT-100 keypad as is possible (it's > short a few keys, but that's life). ESCAPE would map out to the GOLD KEY, the > "+" could be mapped to ENTER... I don't know if it's even possible. > > David Drexler > ddrex@gorgo.UUCP MS-Kermit2.29 has an excellent VT-102 emulator, it will also allow mapping keys to produce ANY string, the keys are mapped by scan code, so, you can set up and key, CTRL, ALT, SHIFT, and any combination can be distinguished. So... I have a VT-102 keypad mapping script for MS-Kermit 2.29 for my Tandy-1000. It took a VT-102 manual and about 30 minutes. What I have is F1-F4 set up as PF1-PF4, PrtScr is the ',' and so on... Here is the my MS-Kermit2.29 start up file 'MSKERMIT.INI', this (if you have a Tandy-1000) will set up your keypad like that on a VT-102, if you don't have a Tandy, just change the scan codes on the appropriate definitions. *** ONE NOTE: in order for the 5 key on the keypad to produce a scan code, the NumLock has to be pressed - this is a restriction on the keyboard driver in most PC compatibles??? Tom UUCP: ihnp4\ \killer!toma infoswx!convex!dj3b1/ Tom Armistead --- cut here --- set port 1 set baud 1200 set parity n set prompt Kermit> set mode-line off ;turn off CGA mode, 10 = fast update mode set terminal color 10 ; Set Back Space key as Ctrl-H set key scan 14 \010 ; Set Ctrl-Back Space as Delete set key scan 1038 \177 ; do BBS will set backspace key to ^H ; do VAX will set backspace key to DEL - for a VAX... define BBS set key scan 14,\010 define VAX set key scan 14,\177 ; The following 4 key redifinitions are to compensate for the on the ; keypad of the Tandy 1000 - here, these keys are on the keypad set key scan 1171 \134 set key scan 1172 ~ set key scan 1173 | set key scan 1178 ` COMMENT *********** VT-102 Keypad Setup *********** COMMENT Depress Num-Lock to put Keypad into VT-102 Mode COMMENT F1 - F4 are equal to PF1 - PF4 respectively COMMENT F6 or shift keypad 8 is Up Arrow COMMENT F10 or shift keypad 2 is Down Arrow COMMENT F8 or shift keypad 6 is Right Arrow COMMENT F7 or shift keypad 4 is Left Arrow ;pf1 thru pf4 set key f1 \033OP set key f2 \033OQ set key f3 \033OR set key f4 \033OS ; f6 or shift 8 = up arrow set key f6 \033OA set key scan 584 \033OA ; f10 or shift 2 = down arrow set key f10 \033OB set key scan 592 \033OB ; f8 or shift 6 = right arrow set key f8 \033OC set key scan 589 \033OC ; f7 or shift 4 = left arrow set key f7 \033OD set key scan 587 \033OD ; ;key pad ; '0' set key scan 82 \033Op ; '1' set key scan 79 \033Oq ; '2' set key scan 80 \033Or ; '3' set key scan 81 \033Os ; '4' set key scan 75 \033t ; '5' set key scan 76 \033Ou ; '6' set key scan 77 \033Ov ; '7' set key scan 71 \033Ow ; '8' set key scan 72 \033Ox ; '9' set key scan 73 \033Oy ; '-' set key scan 83 \033Om ; ',' (PRINT key) set key scan 55 \033Ol ; '.' set key scan 86 \033On ; 'ENTER' (enter on Tandy keypad - has to be big PLUS key for IBM) set key scan 87 \033OM ; set back space to DEL set key scan 14 \177 ; default to terminal mode connect