Article View: comp.sys.amiga.tech
Article #13123Re: Open a console window from Lattice
From: Thomson
Date: Tue, 12 Dec 1989 22:59
Date: Tue, 12 Dec 1989 22:59
19 lines
1303 bytes
1303 bytes
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
Technical Details
Message-ID:
<83048@linus.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!philmtl!philabs!linus!mbunix!duncantReferences:
<129043@sun.Eng.Sun.COM> <812@jc3b21.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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