Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!mordor!sri-spam!ames!ucbcad!ucbvax!hplabs!tektronix!uw-beaver!fluke!star From: star@tc.fluke.COM (David Whitlock) Newsgroups: comp.sys.amiga Subject: VT100 V2.3 Possible Bug and Possible Fix Message-ID: <3711@vax4.tc.fluke.COM> Date: Wed, 3-Dec-86 01:02:53 EST Article-I.D.: vax4.3711 Posted: Wed Dec 3 01:02:53 1986 Date-Received: Sun, 7-Dec-86 04:27:31 EST Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 25 Keywords: Wecker VT100 I was always perplexed as to why the VT100 program's arrow keys (at least to me), did not work properly when using 'vi' on our vax. I noted that in the module 'window.c' around line 300-340 that a variable 'keyapp' was used to select an appropriate action. This was true with the arrow keys also. I was not quite sure what function 'keyapp' played with the arrow keys but took the liberty to 'rem' out the following code. case 0x4f: sendchar(27); /* if (keyapp) sendchar('O'); else */ send(']'); sendchar(code - 11); break; This did the trick and the arrow keys now work well with a 'vt100' termcap on the vax and also with 'vi'. Can someone enlighten me if this is really a fix or did I buger something else up. -- Dave Whitlock {decvax!microsof,uw-beaver,ssc-vax,allegra,lbl-csam}!fluke!star --John Fluke Mfg. Co., 33031 Schoolcraft Road, Livonia, MI 48150