delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/06/21:30:20

From: jiminy AT olag DOT com (Primro)
Newsgroups: comp.os.msdos.djgpp
Subject: How to graphically locate text in standard screen terminal mode
Message-ID: <361ac13e.17024152@news.mci2000.com>
X-Newsreader: Forte Free Agent 1.1/32.230
Lines: 16
Date: Wed, 07 Oct 1998 01:24:41 GMT
NNTP-Posting-Host: 166.55.36.168
X-Trace: news.cwix.com 907723350 166.55.36.168 (Wed, 07 Oct 1998 01:22:30 GMT)
NNTP-Posting-Date: Wed, 07 Oct 1998 01:22:30 GMT
Organization: CWIX
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello, I am not sure if this is a specific DJGPP question, or an easy
to answer generic C question. But here goes: using standard printf()
statements, one adds a new line each printf() while the old statements
scroll upwards and eventually off the screen. I am looking for a
command that will allow me to do the equivalent of the QuickBasic
"LOCATE" command- that is, put a piece of text somewhere specific on
the screen. Even if I could get only text to return to the start of
the line it would be an improvement.

In mode 13h, I've drawn text around graphically, but I am not
interested in doing a full graphics compliment in this project-
standard DOS shell screen is what I'm using. Is there a simple djgpp
command that allows me to do the equivelent of the QB locate command?
Please post here. Email doesn't work.

Thanks

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019