Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!uniwa!cc.curtin.edu.au!sdalelt From: sdalelt@cc.curtin.edu.au Newsgroups: comp.lang.pascal Subject: Re: disregard previous and read this Message-ID: <1991Mar27.182610.7638@cc.curtin.edu.au> Date: 27 Mar 91 10:26:09 GMT Article-I.D.: cc.1991Mar27.182610.7638 References: <1991Mar20.180021.29636@javelin.es.com> Organization: Curtin University of Technology Lines: 29 In article <1991Mar20.180021.29636@javelin.es.com>, tpehrson@javelin.es.com (Tim Clinkenpeel) writes: > i have decided a simple solution to all my problems would be the ability to > print an escape (chr(27)) to the screen as an escape, not as a "<-" character, > in turbo 5.0 (or higher). > Is this possible? Yes, provided you re-open the console for output, otherwise it goes to BIOS and not DOS (and thus ANSI.SYS). To do this, you need to: var f : text; begin assign(f,'') rewrite(f); Thus, to write to DOS, you'd do "writeln(f, ...)" and "writeln(....)" for BIOS. Cheers, Lincoln. _______________________________________________________________________________ UUCP: uunet!munnari.oz!cc.curtin.edu.au!SDALELT FidoNet: 3:690/627.0@fidonet Internet: SDALELT@cc.curtin.edu.au Internet: lincoln_dale@f627.n690.z3.fidonet.org