Newsgroups: comp.lang.pascal Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!s.psych.uiuc.edu!amead From: amead@s.psych.uiuc.edu (alan mead) Subject: Re: Extracting from a unit (or CRT vs. ANSI) Message-ID: <1991Apr5.212056.26150@ux1.cso.uiuc.edu> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana References: <26447@adm.brl.mil> Date: Fri, 5 Apr 1991 21:20:56 GMT Lines: 21 209507097@ucis.vill.edu (MCREE, JAMES F) writes: > I need to use the "KeyPressed" and "ReadKey" functions in CRT in Turbo >5.0, but can't use the CRT unit because it will cause the program to ignore the >meaning of my ANSI codes. There are three general ways that I can think of for >... I have an ANSI.SYS driven CRT replacement unit that I got from (I think) SIMTEL that sounds like what you want--just what ANSI codes does CRT cause your code to ignore?! I believe the unit is called ANCRT and I can upload it if it is no longer available (or if I'm wrong and I didn't get it from SIMTEL). If you don't want to use the whole unit, the source is included, so you can see what ReadKey does. In fact, there is a better function GetKey (or something) that may vbe helpfull (like perhaps it is ReadKey and not the CRT unit that is ignoring ANSI codes). -alan mead : amead@s.psych.uiuc.edu