Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!mailrus!ames!oliveb!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga.tech
Subject: Re: How do I enable instant IO on console window
Message-ID: <55531@sun.uucp>
Date: 6 Jun 88 20:19:07 GMT
References: <3630@ece-csc.UUCP> <3635@ece-csc.UUCP> <3928@cbmvax.UUCP>
Sender: news@sun.uucp
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Organization: Sun Microsystems, Mountain View
Lines: 18

In article <3928@cbmvax.UUCP> andy@cbmvax.UUCP (Andy Finkel) writes:
->Are you aure Chuck's example is looking into a filehandle to find the
->console.device ?  Rather than getting the console process
->by a FindTask(0) and using the process pointer to the
->ConsoleTask, then sending a packet to the console task, and
->getting a return value ?
->andy finkel		{ihnp4|seismo|allegra}!cbmvax!andy 

Yes, he's sure. I needed to turn an arbitrary level 2 FILE * pointer 
into a RAW: or CON: window, and looked at the ConsPkts code (which only
worked on StdIn) and made it work on anything (in the Lattice world).
They have a pointer to the DOS FileHandle that is returned when you 
use Open() to open a console window. (as in Open("CON:",..))


--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.