Path: utzoo!attcan!uunet!mcvax!unido!sbsvax!roeder From: roeder@sbsvax.UUCP (Edgar Roeder) Newsgroups: comp.sys.atari.st Subject: Crawio() Keywords: Crawio(), new TOS, I/O-redirection, bug? Message-ID: <567@sbsvax.UUCP> Date: 25 Jul 88 14:32:01 GMT Organization: Universitaet des Saarlandes, Saarbruecken, West Germany Lines: 29 Can one of the BETA-testers for the new TOS-release answer the following question: what is the output of the following program under the new TOS ? #include #define Stdout 1 #define PRN -3 main() { int f; Crawio('A'); Fforce(Stdout,PRN); Crawio('B'); f = Fopen("file.tst",2); Fforce(Stdout,f); Crawio('C'); } In the older versions this little program crashes the ST after printing 'A' on the monitor and 'B' on the printer. Should Crawio() be redirectable or not ? - If yes, then 'C' has to appear in the file. - If not, then 'B' and 'C' have to appear on the screen. - Edgar