Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!orion.cf.uci.edu!oberon!sm.unisys.com!csun!csuna!abcscnuk From: abcscnuk@csuna.UUCP (Naoto Kimura) Newsgroups: comp.lang.pascal Subject: Logging stdin and stdout to file in Turbo Pascal Message-ID: <1675@csuna.UUCP> Date: 20 Feb 89 02:57:35 GMT Reply-To: abcscnuk@csun.UUCP (Naoto Kimura) Organization: California State University, Northridge Lines: 25 Presently I'm working on a unit for Turbo Pascal (version 4.0 and 5.0) that will allow you to log I/O through the standard "input" and "output" text files. Presently I've gotten it to log what is going through the "input" file, but have some difficulty in logging output through the "output." I'm wondering if someone has already done this, or am I the first to try this ? If you've already done something like this I'd be interested to hear from you and how you did it. For those who haven't but would be interested in the unit, drop me a line, and I'll send the code once I get it to work. The reason I'm doing this is because someone here had done it here already, but completely re-implemented the CRT unit to do it. My feeling was that it could be done without having to reimplement the CRT unit and am presently developing my own unit that does the same to prove my point. The unit was developed for use in a class here at CSUN, and the original was written for use with version 3 of the compiler. //-n-\\ Naoto Kimura _____---=======---_____ (csun!csuna!abcscnuk) ====____\ /.. ..\ /____==== // ---\__O__/--- \\ Enterprise... Surrender or we'll \_\ /_/ send back your *&^$% tribbles !!