🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Writing to screen, no cursor movement

#7839
From: Solution Technology
Date: Tue, 03 Oct 1995 19:54
22 lines
1180 bytes
William White (wcw@wolfenet.com) wrote:


: 	I'm trying to write a program that does all screen I/O without the screen 
: borders scrolling.  I need to be able to write in column 80 on line 25 
: without the cursor going to the next line, thus making line 1 disappear off 
: the screen.

How about:
Read the character in column 79.
Delete column 79 twice.
Insert the last character at 79.
Insert the read character at 79 pushing the other character into 80.
This should leave the cursor in column 80.

Ugly isn't it?

Of cource if you can get to the character mode memory directly.
You can just store the byte at the proper address.
Some systems have an API to get the buffer address.

Ken Walter
Technical Details
Message-ID: <44s4dd$nld@seminole.gate.net>
Path: arc1-ca.pugleaf.net!news.gate.net!not-for-mail
References: <44rvl0$3pq@news1.wolfe.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.gate.net!not-for-mail
From: stidev@news.gate.net (Solution Technology)
Newsgroups: comp.os.msdos.programmer,comp.lang.c,comp.lang.c++
Subject: Re: Writing to screen, no cursor movement
Followup-To: comp.os.msdos.programmer,comp.lang.c,comp.lang.c++
Date: 3 Oct 1995 15:54:21 -0400
Message-ID: <44s4dd$nld@seminole.gate.net>
References: <44rvl0$3pq@news1.wolfe.net>
NNTP-Posting-Host: seminole.gate.net
X-Newsreader: TIN [version 1.2 PL2]