CompuServe Messages

#STRTRK broken (!?)

    17-Jul-90 11:09:58
Fm: Dennette Harrod, Jr 76234,510
To: Carl Neiburger 72336,2257
AAAARRRRGGGGGGGGHHH!!! O.K., 'Bow Babies, sit down for this one … There is a _bug_ in the VT100 emulation that invol\@ves "RESTORE CURSOR", or "<ESC>8" – if you have _not_ done a "SAVE CURSOR"{first, then it goes south as described in this message thread. THERE IS NOT VIRUS!!! After having used LC-TERM to call my VAX and use EDT on some files, i]I was able to run STARTREK. Reboot, and STARTREK bombs the first time. Called the VAX again, used EDT, came back, STARTREK works! Checked the BASIC code, pondered, added a "SAVE CURSOR" to the start-up code, rebooted, and it works like a charm!!{/paranoia) and the expense of the download of a bad version. I'll rebuild the executable and upload a new version this evening. (Boy, is _my_ face red!) I suspect that KEDT and other utilities that generate a "<ESC>7" (SAVE) can be run first as well, and that's what I must have been doing while developing this, otherwise I would have run into it sooner. I think that {thSAVE/RESTORE uses a buffer rather than a stack, but it's all the same, really – bad programming (on my part!) to try to "restore" an uninitialized value. Ah, well, just shows you're never too old to learn a new way to make a mess! Dennette