Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.sources Subject: Bug fix for Maryland Windows Message-ID: <3153@umcp-cs.UUCP> Date: Sun, 16-Oct-83 09:24:46 EDT Article-I.D.: umcp-cs.3153 Posted: Sun Oct 16 09:24:46 1983 Date-Received: Mon, 17-Oct-83 01:46:03 EDT Organization: Univ. of Maryland, Computer Science Dept. Lines: 42 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@umcp-cs ARPA: chris.umcp-cs@UDel-Relay