www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/17/08:38:15

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 <blp01 AT uow DOT edu DOT au>
Subject: Redirecting output
Mime-Version: 1.0

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 <blp01 AT uow DOT edu DOT au>
           http://members.xoom.com/brett_porter/

"Ahh... to live in a perfect world, where I get my way _all_ the time!"
	-- Brett
-----------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019