delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/26/23:38:46

Date: Wed, 26 Jan 94 23:04:59 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: drstutz AT access DOT digex DOT net
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: ANSI cursor control characters
Reply-To: babcock AT cfa DOT harvard DOT edu

> 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.

Which C functions are you using?  Some map to DOS calls which go through
ANSI.SYS, others do not.  Printf at least should go through ANSI.

> I checked the lib directory and libpc.a is there. Does
> it contain all of the functions listed in pc.h?

Use the -lxxx option to tell the linker to use library libxxx.a, so you
probably need the -lpc option.  (A quick look at my makefile shows -lc and
-lpc options.)

- Raw text -


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