🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7190

Scrolling lines in C

#7190
From: Marc WANDSCHNEIDER
Date: Fri, 21 Jun 1991 03:23
23 lines
1517 bytes
Is there a way to scroll through lines on a screen while keeping a few lines
on the screen intact...?

Ie, If I have a  25 line screen, and want to keep 2 lines intact on the bottom
while scrolling three lines up above those two lines (somewhat akin to a text
editor)

By the same token is there a way to scroll three lines at the top of the screen
and have the rest scroll down the screen while keeping those two lines at the
bottom intact...?

I seem to recall something about a BIOS routine about this, but I was wondering
if I could do this in MS C, or Turbo C, or perhaps in a non-system specific
version of C (ANSI C).

./*-
storm@bart.cs.mcgill.ca
storm@sizone.UUCP
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
storm@cs.mcgill.ca         McGill University           It's 11pm, do YOU
Marc Wandschneider         Montreal, CANADA            know what time it is?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <1991Jun21.032331.11458@cs.mcgill.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!quiche!storm
References: <1991Jun21.030948.10951@cs.mcgill.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!quiche!storm
From: storm@cs.mcgill.ca (Marc WANDSCHNEIDER)
Newsgroups: comp.os.msdos.programmer
Subject: Scrolling lines in C
Message-ID: <1991Jun21.032331.11458@cs.mcgill.ca>
Date: 21 Jun 91 03:23:31 GMT
References: <1991Jun21.030948.10951@cs.mcgill.ca>
Sender: news@cs.mcgill.ca (Netnews Administrator)
Organization: SOCS, McGill University, Montreal, Canada
Lines: 23