Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » comp.sys.amiga » VT100 V2.3 Possible Bug and Possible Fix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
VT100 V2.3 Possible Bug and Possible Fix [message #293816] Wed, 03 December 1986 01:02 Go to previous message
star is currently offline  star
Messages: 23
Registered: October 1985
Junior Member
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);

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
--John Fluke Mfg. Co., 33031 Schoolcraft Road, Livonia, MI 48150
[Message index]
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: makeboth.arc: KickBench kit
Next Topic: Educational discounts (was Re: The trouble with the Amiga)
Goto Forum:

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Jan 27 10:28:55 EST 2022

Total time taken to generate the page: 0.00510 seconds