🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #7025

Direct output to two destinations

#7025
From: ccrob
Date: Wed, 23 Jan 1991 04:32
24 lines
1482 bytes
Hello all,

I am teaching myself a little bit about C by writing a small utility 
on a PC using MS QuickC. In this utility (call it "foo"), I want to 
specify an output file, and from within foo, interactively run some 
other programs I also specify during foo's execution, with foo spooling 
the entire execution session to both the screen (so I can see what I'm 
doing) and the output file (so I have a record). This would be exactly 
like a logging a terminal session on a larger multi-user machine.

I was wondering if anybody could e-mail me any helps/tips/suggestions/
code or information on a utility like this that may already exist. If I 
haven't provided enough information, let me know and I'll show some code.

Thanks for any help that you may be able to provide.

Cheers,
Rob.

----------------------+-------------------------------------------------------
Rob McMillan          |  E-mail: ccrob@uqvax.cc.uq.oz.au (DTE 050527372000094)
Asst Systems Prog     |  Phone:  +61 07 365 4105          FAX: +61 07 365 4477
The Prentice Centre   |  Post:   University of Queensland, QLD 4072, AUSTRALIA
Technical Details
Message-ID: <1991Jan23.143231.15270@uqvax.cc.uq.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!brolga!uqvax.cc.uq.oz.au!ccrob

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!brolga!uqvax.cc.uq.oz.au!ccrob
From: ccrob@uqvax.cc.uq.oz.au
Newsgroups: comp.sys.ibm.pc.misc,comp.binaries.ibm.pc.d
Subject: Direct output to two destinations
Message-ID: <1991Jan23.143231.15270@uqvax.cc.uq.oz.au>
Date: 23 Jan 91 04:32:31 GMT
Lines: 24