[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VT100 TECTRM bug



PROBLEM:

In BABYL and ZBABYL on a VT100 or similar terminal, a "Q" or ^X^Z
leaves the cursor at the top of an uncleared screen instead of the
bottom, as intended.


DIAGNOSIS:

In some versions of TECTRM.MID, somebody got over zealous and "fixed"
VT1INI ("FORCE ANSII [sic] MODE") to include an ORIGIN reset sequence,
"$[?6l".  This has the side effect of overriding any previous curpos
sequence and put the cursor at the top of the screen.

CURE:

A "quick fix" is to remove the ORIGIN reset sequence, which is
patchable in TECPUR.EXE.  The "correct" (untested) fix would be to
envelope the ORIGIN mode reset with a Save Cursor and Restore Cursor
sequence, resulting in: $<$7$[?6l$8 .

--Frank