🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10527

Re: pr_ConsoleTask

#10527
From: Matt Dillon
Date: Fri, 09 Dec 1988 18:28
30 lines
1332 bytes
:There was a very interesting discussion about Execute(), however the
:best solution was Aztec specific, and I have lent my manuals to a
:friend.  Can anyone tell me the Lattice 5.0 way of doing the following:
:
:		extern APTR DeviceProc();
:		proc->pr_ConsoleTask = DeviceProc("null:");
:
:At least I think this is Aztec specific?  pr_ConsoleTask isn't defined in
:any header file I have (which is the lattice 5.0 set).
:
:Thanks,
:wpl
:
:--
:William P Loftus       wpl@creation.UUCP     (215) 265 6833

	What you have above ought to work no matter which compiler
you use.  This will fix problems with things you Execute().  In Aztec C,
you must also fclose(stderr) because that references "*" (otherwise
you will not be able to close the console window).  I do not know what
Lattice does but there's a good chance fclose(stderr) will also work.

	     .		o
      .	    
     	  			    o
 . 
//					  O

					-Matt\|/
					      *
Technical Details
Message-ID: <8812091828.AA02818@cloud9.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ncar!ames!pasteur!ucbvax!CLOUD9.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ncar!ames!pasteur!ucbvax!CLOUD9.BERKELEY.EDU!dillon
From: dillon@CLOUD9.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga.tech
Subject: Re: pr_ConsoleTask
Message-ID: <8812091828.AA02818@cloud9.berkeley.edu>
Date: 9 Dec 88 18:28:56 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 30