Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpl-opus!hpcc05!hpyhde4!hpycla!hpcuhc!hpcupt3!defaria@hpcupt3.cup.hp.com From: defaria@hpcupt3.cup.hp.com (Andy DeFaria) Newsgroups: comp.lang.pascal Subject: Re: setting foreground text colors Message-ID: <45670027@hpcupt3.cup.hp.com> Date: 26 Jun 91 18:04:41 GMT References: <27270@adm.brl.mil> Organization: Hewlett Packard, Cupertino Lines: 20 >/ hpcupt3:comp.lang.pascal / ts@uwasa.fi (Timo Salmi) / 11:36 am Jun 25, 1991 / >In article <45670025@hpcupt3.cup.hp.com> defaria@hpcupt3.cup.hp.com (Andy DeFaria) writes: >: >>Why not simply use TP's own TextBackground (I believe that's what it's >>called) and TextColor procedures? They are in the CRT unit I believe and >>do the job for you. RTFM or use the help to look them up. > >This is a point that has been discussed many times. Using the Crt >unit enforces direct screen writes, and disables redirection ^^^^^^^^^^^^^^^^^^^^ >potential unless special steps (which are not as straightforward as ^^^^^^^^^ >occasionally claimed) are taken. If these do not matter in a >program, then, no problem. Else one has to do something about it. This may be the answer to my problem posted under the "Redirecting I/O for .BAT files" note. Could you explain this problem and the special steps involved in resolving it? Email if this is considered a FAQ? Thanks