🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #1356

Re: VT100 scrolling region

#1356
From: Peter D. Smith
Date: Fri, 18 Dec 1992 16:36
23 lines
1255 bytes
In article <18623@mindlink.bc.ca>, Frank@mindlink.bc.ca (Frank I. Reiter) writes:
> Part of an application I am working on includes a VT100 emulator.  We thought
> this was complete...

Terminal emulators are always harder than they look.

> 1) Does ESC [;22r mean "scroll lines 0 through 22" or does it mean "Set the
> bottom scrolling line to 22, leave the top line as it is set already" ?

It should mean 'scroll lines 1 to 22'.  Remember that these sequences
could be implemented in TTL without a microprocessor of any kind & therefore
use the simplest possible implementation.  

> 
> 2) Should a clear screen code clear the scrolling region only, or the entire
> screen?  How about a clear to end of screen?
>

I think this is the whole screen regardless of the scrolling region.
Don't bet your company on it, though.


				Peter D. Smith
Technical Details
Message-ID: <lj3vgrINNieu@news.bbn.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!uwm.edu!news.bbn.com!bbn.com!pdsmith
References: <18623@mindlink.bc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!uwm.edu!news.bbn.com!bbn.com!pdsmith
From: pdsmith@bbn.com (Peter D. Smith)
Newsgroups: comp.terminals
Subject: Re: VT100 scrolling region
Summary: Answer to the questions
Message-ID: <lj3vgrINNieu@news.bbn.com>
Date: 18 Dec 92 16:36:43 GMT
References: <18623@mindlink.bc.ca>
Lines: 23
NNTP-Posting-Host: bbn.com