[comp.sys.mac.programmer] THINK C console output redirection / echo

good@quiche.cs.mcgill.ca (Dave GOODGER) (09/25/90)

I use THINK C 4 as a substitute for the local UNIX system, for assignments.  I
simply use the console for text output.  I would like to be able to echo this
output to a file, and have been unable to do so.  It's only a problem when
there's more than one screenful of data, when the earlier stuff scrolls off
into the void.

Is there some way to do it like in THINK Pascal?  I've tried using freopen,
but then I can't see the prompts.  What I'd like is something like the 'tee'
program on unix.  Any solutions?

Please e-mail me as I might miss replies because of the high traffic volume.

Thanks in advance.

-- 
    David J. Goodger      /\ "This theory that I have, that is to say, which is
good@quiche.cs.mcgill.ca /  \ mine, is mine ... that it is." -- Anne Elk [Miss]
________________________/    \____________________ ._. .._ _.  ._ .__ ._ _.__!!
                    "At last!  A call!  A cry of distress!"