jmm@ski.UUCP (Joel M. Miller) (10/13/88)
Has anyone tried to use the vi editor on a vt100-like terminal that has more than the usual 24 lines (mine is a Direct DT-9220)? There appears to be a bug in (at least my Masscomp vi) such that the sequence that vi sends to scroll up a portion of text assumes a 24 line screen. The peculiar thing is that, apart from incorrectly moving the cursor to the bottom of the scrolling region (it always sends "ESC [ 24 ; 1 H") prior to giving LF's to cause scrolling, vi seems to know it is a 27 line terminal: it sets the scrolling region with "ESC [ 10 ; 27 r", and positions the cursor with "ESC [ 26 ; 1 H" prior to writing the new bottom line on the screen.