wampler@unmvax.UUCP (Bruce Wampler) (02/07/86)
This is the second revision report for TVX, creating new version of 2/6/86. If you missed the first set of revisions, send me e-mail and I will send to you directly. **** Change 11 ==================================================== In file tvx_1.c, in routine insert, there are four occurrences of the line: if (ins_msg) .... Change all four lines to: if (ins_msg && how) ... --- This is a cosmetic change - it fixes the ugliness you get with the ### Insert Mode ### message on the ^G and ^E commands. **** Change 12 ====================================================== This change fixes a SERIOUS bug in file tvx_1.c in routine edit. Change the old lines reading: ----- old ------ lastln = curlin; /* remember where we were */ for (ni = 0 ; ni < 10 ; noteloc[ni++] = curlin) ; /* init noteloc */ To the new lines: ------ new ----- lastln = 1 ; /* remember where we were */ for (ni = 0 ; ni < 10 ; noteloc[ni++] = 1) ; /* init noteloc */ ---------- If the buffer was empty (when you create a new file), then the value curlin was not valid. Later, after text has been added, the noteloc array points to invalid lines, and it was possible to lose the entire new text entered. ****** Note about the atari 520st ================================== The stdio.h file provided with the developer's kit is brain damaged (mostly in portab.h). It is necessary to remove references to portab.h and perhaps a couple of other things. I can supply a replacement stdio.h and two build batch files to anyone compiling a version for the atari 520st. **** Note on Unix System V ======================================= The file in the original distribution called tvx_unix.c should probably be called tvx_bsd.c as it doesn't port to system V very well. Supposedly someone has done a System V port, and I can provide more details. If you port to a new system, probably the best approach is to isolate stuff in a file called tvx_yoursystem.c, just like tvx_ibm.c and tvx_unix.c (which should be tvx_bsd.c). --- -- Dr. Bruce E. Wampler University of New Mexico Department of Computer Science Albuquerque, NM 87131 ..{ucbvax | seismo!gatech | ihnp4!lanl}!unmvax!wampler