delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/27/01:55:06

From: <drstutz AT access DOT digex DOT net> (Daniel Stutzman)
Subject: ANSI cursor control characters
Organization: Kaleida Labs, Inc.
Originator: daemon AT talisman DOT kaleida DOT com
Date: 27 Jan 94 02:35:29 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: djgpp AT sun DOT soe DOT clarkson DOT edu

Hello,
   I'm writing a C program in which I want to send
control sequences to reposition the text cursor on
the screen.  I haven't had any luck so far.  When
I print the control characters to the screen, they
show up as text characters instead of being interpretted
as commands. I have ANSI.SYS installed.  Is there
anything else I have to install?
 
   I have also tried including the pc.h header file
and using the  ScreenSetCusor function.  However, when
I try to compile the program I get
C:/TMP/ccb07730(.text+5f8): undefined reference to `ScreenSetCursor'

I checked the lib directory and libpc.a is there. Does
it contain all of the functions listed in pc.h?
 
   Does anyone have any idea what the problem is (other
than the fact that I haven't done much progamming and
don't know what I'm doing.)  Any help would be apreciated.
 
Dan
 
                                         

- Raw text -


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