mcastle@mcs213f.cs.umr.edu (Mike Castle (Nexus)) (01/10/91)
Is there anyway (using Turbo Pascal 5.5) to sense if standard output is being re-directed? I want to use the CRT unit to use direct screen writes, but I would also like to include support for redirection without use of a command line switch. I tried looking at the 'entire' command line as show in Timo's faqpas.txt, but dos strips away everything after the > . Is there a flag somewhere I could check? Maybe looking for some kind of flakely file in the current directory? :-> I suppose pointers to books would be ok, but I can barely afford $3.00 for a cheap novel, much less a DOS handbook of somesort. :-< Anyways, tanx. -- Mike Castle (Nexus) S087891@UMRVMA.UMR.EDU (preferred) | ERROR: Invalid mcastle@mcs213k.cs.umr.edu (unix mail-YEACH!)| command 'HELP' Life is like a clock: You can work constantly, and be right | try 'HELP' all the time, or not work at all, and be right twice a day. |