[net.sources] Bug fix for Maryland Windows

chris@umcp-cs.UUCP (10/16/83)

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