Message-Id: <3.0.5.32.19980617223636.007b7d20@pop.uow.edu.au> Date: Wed, 17 Jun 1998 22:36:36 +1000 To: djgpp AT delorie DOT com From: Brett Porter Subject: Redirecting output Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk Hi DJGPP users, I'm working on a text based project here which uses text windows on occasion and shells to other programs. I was wondering if it is possible to redirect the output of this program into the window. The window will probably use the "conio.h" functions to define it, but called programs will ignore this using stdout. Even if the programs use cprintf, it won't know the calling programs settings will it? So how can I do it? I can pass arguments to the program to tell it the colours and window to use, but that won't work for programs I haven't written. Thanks for your help, Brett ----------------------------------------------------------- Brett Porter http://members.xoom.com/brett_porter/ "Ahh... to live in a perfect world, where I get my way _all_ the time!" -- Brett -----------------------------------------------------------