delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/27/01:46:15

From: <peprbv AT cfa0 DOT harvard DOT edu> (Bob Babcock)
Subject: Re: ANSI cursor control characters
Organization: Kaleida Labs, Inc.
References: <199401270235 DOT AA26631 AT access3 DOT digex DOT net>
Reply-To: babcock AT cfa DOT harvard DOT edu
Originator: daemon AT talisman DOT kaleida DOT com
Date: 27 Jan 94 04:04:59 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: djgpp AT sun DOT soe DOT clarkson 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