Xref: utzoo comp.sys.amiga.hardware:2418 comp.sys.amiga.tech:13161 comp.sys.amiga:61248 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!uunet!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.tech,comp.sys.amiga Subject: Re: Connecting Input() to output Message-ID: <13045@cbmvax.commodore.com> Date: 5 Jul 90 05:07:41 GMT References: <12432@june.cs.washington.edu> Reply-To: jesup@cbmvax (Randell Jesup) Distribution: na Organization: Commodore, West Chester, PA Lines: 18 In article <12432@june.cs.washington.edu> dylan@june.cs.washington.edu (Dylan McNamee) writes: >I want this filehandle to be readable by my program (the same one >that called up the post.library) so it can interact and recieve >output from the interpreter. (Namely to get font widths into an >internal array.) ... >Short of asking Adrian to rewrite the file-io interface (my next >step...) can anyone think of a way to connect processes in this >manner? It doesn't seem like it should be impossible, since I'm >really not asking any more than having a pipe between post and me. No problem. Use pipes. Open("PIPE:myfile",MODE_NEWFILE) to give to Post, and Open("PIPE:myfile",MODE_OLDFILE) for your program to read from. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup Common phrase heard at Amiga Devcon '89: "It's in there!"