Xref: utzoo comp.sys.amiga.hardware:2365 comp.sys.amiga.tech:13091 comp.sys.amiga:61028 Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!uw-june!dylan From: dylan@cs.washington.edu (Dylan McNamee) Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.tech,comp.sys.amiga Subject: Connecting Input() to output Message-ID: <12432@june.cs.washington.edu> Date: 2 Jul 90 03:15:23 GMT Reply-To: dylan@june.cs.washington.edu (Dylan McNamee) Distribution: na Organization: University of Washington, Computer Science, Seattle Lines: 30 I am writing a program using the Post1.1 library. It allows the programmer to supply an output file handle, so the messages from the interpreter can show up wherever you choose. 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.) I tried making the post output filehandle be my program's input file, which presumably didn't work since Input is probably meant to be read only. I tried opening a file, passing the handle to post, then opening the same file, for read only, but the second open fails...one process per open file, I presume. 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. ideas? anyone? anyone? (email please...) thanks dylan dylan@cs.washington.edu