[net.unix-wizards] problem with vi while running sysline

barry@muddcs.UUCP (06/09/84)

<Don't Panic>

	Has anyone run into a problem with vi while running sysline.
I am using a vt100 with the termcap entry vt100-s-bot so that I can run
sysline.  Everything works fine until I try to delete a line when there 
are other lines underneath it.  The first line below my window scrolls
up and superimposes itself over the last line in the window.  The window
does not scroll and the line I deleted remains on the screen.  When I
refresh the screen with a  it all clears up.  If anyone has any info
I would greatly appreciate it.

				Thanks in Advance,
					Barry Lustig

				{ihnp4,seismo,allegra}!scgvaxd!muddcs!barry
				

dan@rna.UUCP (06/12/84)

nada
	One probably source of VT100 screw-up while running VI and sysline
is the problem I posted several months ago in which VI was assume that
any terminal that has the CS termcap entry has 24 lines. VI uses CS to
simulate line insert and delete functions (which the VT100 does not have).
	This works fine except that sysline, any program that uses
vt100-s, or other terminals that have CS and more or less than 24lines, will
screw-up.
	The fix is to change VI in the source to use the LI termcap entry
rather than the hardwired 24 lines.
	Even this may not be enough since vt100-s simulates the status line
on top by changing the scrolling region to 2-24. The vt100-s-bot may work,
however.
	It is just messy to simulate status lines with CS since CS is so
useful for other things.

						Cheers,
						Dan Ts'o
						...cmcl2!rna!dan