Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!panda!teddy!jpn From: jpn@teddy.UUCP (John P. Nelson) Newsgroups: comp.sys.ibm.pc Subject: Re: Turbo C - >Graphics, CGA, EGA, et.al. Message-ID: <4261@teddy.UUCP> Date: Thu, 13-Aug-87 08:53:06 EDT Article-I.D.: teddy.4261 Posted: Thu Aug 13 08:53:06 1987 Date-Received: Sat, 15-Aug-87 08:45:18 EDT References: <661@ur-cvsvax.UUCP> Reply-To: jpn@teddy.UUCP (John P. Nelson) Organization: GenRad, Inc., Concord, Mass. Lines: 19 In article <661@ur-cvsvax.UUCP> tim@ur-cvsvax.UUCP (Tim Takahashi) writes: > 1. Turbo C does not, apparently, honor ANSI.SYS and its associated > calls. Any reason, patch? I cannot verify this. Tim does not mention exactly what "associated calls" he is attempting to use, nor what Turbo C functions he is using to attempt to invoke them. However, a simple test shows that Turbo C can, indeed, take advantage of ANSI.SYS if it is loaded: #define ESC '\033' main() { printf("%c[H%c[J%c[7mthis should be inverse%c[m\n", ESC, ESC, ESC, ESC); } I assume that Tim is either 1. writing C code which accesses the BIOS rather than going through DOS (As far as I know, none of the standard Turbo C IO functions do this!), or 2. he does not have ANSI.SYS loaded, or 3. He is not generating ANSI escape sequences correctly.