Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!philmtl!philabs!linus!mbunix!duncant From: duncant@mbunix.mitre.org (Thomson) Newsgroups: comp.sys.amiga.tech Subject: Re: Open a console window from Lattice Message-ID: <83048@linus.UUCP> Date: 12 Dec 89 22:59:40 GMT References: <129043@sun.Eng.Sun.COM> <812@jc3b21.UUCP> Sender: news@linus.UUCP Reply-To: duncant@mbunix.mitre.org (Thomson) Organization: The MITRE Corp. Bedford, MA Lines: 19 I've been following this thread with some interest, hoping to find the answer to the following question: Given a window, how can I get a file pointer (of type FILE *) which I can then use in fprintf(), fscanf()(), and so on, to do I/O with the console handler actually handling writing text to the window and reading the junk the user types into the window. I realize that this may not have been the original question, but it's a question which I am sure several people would like the answer to. By the way, I already know that I can do something like: wind_file = fopen( "NEWCON:0/0/100/100/MyWindow", "w+" ); which will open a window and give me a file pointer. What I'd really like to do is get a file pointer which can be used to do IO with a window which already exists. Duncan Thomson