Path: utzoo!utgpu!watserv1!watcgl!electro!ignac From: ignac@electro.UUCP (Ignac Kolenko) Newsgroups: comp.sys.atari.st Subject: re-direction Summary: how? Message-ID: <1602@electro.UUCP> Date: 10 Apr 90 13:25:59 GMT Reply-To: ignac@electro.UUCP (Ignac Kolenko) Organization: Electrohome Ltd., Kitchener, ON Lines: 21 what is the "official" method of doing io-redirection in software. what i want is for program A to run. It prints to the screen using Cconws();. In the course of running A, it will invoke B, which also prints with Cconws. Before B is called, the user has the option of redirecting B's output anywhere (screen, printer, file, modem). After B runs, control is returned to A, which will then continue printing to the screen as before. So the question i ask is: what is the proper way for A to redirect B's output before B is invoked. Or is this even the correct way of thinking about this problem. Any comments, code fragments, etc will be happily accepted and graciously rewarded with thanx at this time! -- =====Ignac A. Kolenko (The Ig)=====watmath!watcgl!electro!brasoft!ignac====== co-author of QuickST, and the entire line of Quick Software!!!! Branch Always Software Box 2624, Station B, Kitchener, Ont. CANADA N2H 6N2 =============================================================================