🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #2182

vi on vt100 with 27 lines

#2182
From: Joel M. Miller
Date: Wed, 12 Oct 1988 21:56
11 lines
1068 bytes
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.
Technical Details
Message-ID: <2686@ski.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!pacbell!ski!jmm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!pacbell!ski!jmm
From: jmm@ski.UUCP (Joel M. Miller)
Newsgroups: comp.terminals
Subject: vi on vt100 with 27 lines
Message-ID: <2686@ski.UUCP>
Date: 12 Oct 88 21:56:45 GMT
Reply-To: jmm@ski.UUCP (Joel M. Miller)
Organization: Smith-Kettlewell Eye Research Institute, San Francisco, CA
Lines: 11