[net.micro.atari16] TVX/VI emulator bug, note

wampler@unmvax.UUCP (Bruce Wampler) (10/07/86)

    I have discovered the problem people have been having with my
public domain editor TVX.  (The problem is with all versions:
TVX, the Vi emulator, and the Emacs emulator.)  I would really call
it a bug in GEMDOS, but it shows up in the editor.  It only happens
if you have your key repeat rate set too high and hold the up/down
keys down too long.  GEMDOS loses track of input/output and dies.
For those of you with source, the solution is to add code to check
for un-read keystrokes in the command interpreter loop in tvx_edit.c.
Just throw away the extra keystrokes inside the loop.  This will
make sure that TVX is finished executing one command before the
keyboard overflows.  It will also force the screen to match your
keystrokes.  It is a bit of a kludge, but works.  I will include
the change on any sources I send out from now on (send me 720K
worth of pre-formatted disks and return postage, and I will return
full sources, compiled code, and documentation).

    If there is enough interest (by e-mail reply), I will post
the uuencoded executable of the Vi emulator to this group (plus
a short document).  Otherwise, I'll continue my policy
of returning disks with the sources.

    P.S. - I was unable to duplicate the problem of not writing
the backup file - I suspect the user just didn't find the right
work file.
--
Dr. Bruce E. Wampler
University of New Mexico
Department of Computer Science
Albuquerque, NM 87131

..{ucbvax | seismo!gatech | ihnp4!lanl}!unmvax!wampler