X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,336628042f943d07 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 1994-04-22 03:49:48 PST Newsgroups: alt.ascii-art Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!usc!sdd.hp.com!think.com!spdcc!merk!winston From: winston@merk.com (Winston Smith) Subject: TALK: Re: Help with ANSI? Message-ID: Keywords: ANSI, DEC, VT100, PF1 Organization: Technology Partners, Inc. References: <1994Apr20.125304.10040@msus1.msus.edu> Date: Fri, 22 Apr 1994 10:49:48 GMT Lines: 41 On Wednesday, April 20, 1994 at 12:53:03 -0500 (17:53:03 GMT ? ) mindlok@TIGGER.STCLOUD.MSUS.EDU (Chris) writes: C> Hello out there, C> I'm looking for an ANSI escape code to redefine a key on a VT-100 C> terminal. I need it for a program I'm writing. If any of you ASCII C> animators know what this code is, I would be very greatfull. C> Please send any responses to cs272007@eeyore.stcloud.msus.edu. C> Chris D.E.C. VT-100 keys are not redefinable. Each key sends a fixed escape code. Thus, the [ GOLD / PF1 ] key can not be exchanged with the [ PF4 ] key. Their hardware actions are fixed. The keys can only be reassigned via changing the --SOFTWARE-- routine executed for any particular keypress. VAX/VMS DCL allows you to map and remap the VT100 keys at the OS level. You can redefine VT-100 keys under program control, but you can do that for --ANY-- key on your keyboard (e.g. if 'a' is pressed go West, etc....). D.E.C. VT-100 ANSI is not much like MS-DOS ANSI.SYS in several respects. PF1, for example, will send an in D.E.C. VT-100 ANSI. There is no way to change this sequence short of turning on VT-52 emulation and turning the VT-100 into a VT-52 (which changes the screen mapping and everything else about the terminal). Perhaps if we had even the vaguest idea of what it is you are trying to accomplish, we could offer some meaningful advice. Here is the VT100 ANSI function keypad as I know it: [ O P ] [ O Q ] [ O R ] [ O S ] [ O w ] [ O x ] [ O y ] [ O m ] [ O t ] [ O u ] [ O v ] [ O l ] [ O q ] [ O s ] [ O p ] [ O n ] [ O M ] The function keypad is turned on with: = The function keypad is turned off with: > Best of luck!