Path: utzoo!attcan!uunet!microsoft!earleh From: earleh@microsoft.UUCP (Earle HORTON) Newsgroups: comp.sys.mac.programmer Subject: Re: console I/O under MPW C Message-ID: <56121@microsoft.UUCP> Date: 27 Jul 90 19:12:00 GMT References: <90@ <1234600048@uxa.cso.uiuc.edu> <111@neptune.inf.ethz.ch> Reply-To: earleh@microsoft.UUCP (Earle HORTON) Organization: Microsoft Corp., Redmond WA Lines: 21 In article <111@neptune.inf.ethz.ch> mneerach@c.inf.ethz.ch (Matthias Ulrich Neeracher) writes: >In article <1234600048@uxa.cso.uiuc.edu> ews00461@uxa.cso.uiuc.edu writes: >>The answer (as I understand it): console I/O can only be done >>within an MPW tool. > >I think I have seen a file called WriteInWindow somewhere on a CD. This >was said to allow Applications to use console I/O. I haven't tested it >yet, though. > WriteLnWindow does work for this purpose, but: a) Apple doesn't want it used for anything but debugging. b) Output text is handled by TextEdit and is therefore limited to 32k in size. You could probably get away with using WriteLnWindow for in-house, non-commercial applications. It is on Phil and Dave's Excellent CD. Earle Horton Disclaimer: My employer does not necessarily share any opinion expressed here.