🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #33350

Crawio()

#33350
From: Edgar Roeder
Date: Mon, 25 Jul 1988 14:32
29 lines
1053 bytes
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 <osbind.h>
	    #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
Technical Details
Message-ID: <567@sbsvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!unido!sbsvax!roeder

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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