Bug fix for Maryland Windows
chris at umcp-cs.UUCP
chris at umcp-cs.UUCP
Sun Oct 16 23:24:46 AEST 1983
Here's yet another bug fix to the display code. This one's easy
to install; just delete a few characters on one line and recompile.
The bug involves updating lines with a trailing matching sequence,
no leading matching sequence, a longer differing sequence in the
new line than the old, and differing numbers of leading blanks on
the new and old lines. Example:
old: twas brilling and the slithy toves
new: when searching the jungles for the rare slithy toves
On a terminal with character insert, the above change is done wrong.
The fix (line numbers probably off):
*** /tmp/,RCSt1009442 [the old one]
--- display.c Sun Oct 16 08:53:20 1983
***************
*** 625,631
else {
dumps2 (Inp, nl - t, Iop, ln, np - Inp);
if (t > 0)
! topos (ln, min (nsp, osp) + 1 + od);
}
}
if (t > 0)
--- 639,645 -----
else {
dumps2 (Inp, nl - t, Iop, ln, np - Inp);
if (t > 0)
! topos (ln, osp + od + 1);
}
}
if (t > 0)
***************
Now I've got to get off to the jungles to catch a slithy tove.
Gyring and gimbling,
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci
UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris.umcp-cs at UDel-Relay
More information about the Comp.sources.unix
mailing list