bmc@MYCROFT.MAYO.EDU (12/13/89)
I have application A that creates a window then starts applications B, C, D ... What I would like is for B, C, D ... to be able to get their I/O from application A's window. So: 1) Is it possible for two (or more) clients to share a window (InputOutput)? 2) How do I make the necessary connections? --trying to pass the window ID results in a protocol error. Thanks in advance. --Bruce ---------------------------------------------------- Bruce M. Cameron bmc@bru.mayo.edu Medical Sciences 1-14 (507) 284-3288 Mayo Foundation WD9CKW Rochester, MN 55905 ----------------------------------------------------
klee@chico.pa.dec.com (Ken Lee) (12/15/89)
In article <8912121957.AA11397@mycroft.mayo.edu>, bmc@MYCROFT.MAYO.EDU writes: > 1) Is it possible for two (or more) clients to share a window (InputOutput)? Yes. > 2) How do I make the necessary connections? > --trying to pass the window ID results in a protocol error. How did you pass the window ID? Depending on your IPC mechanism, you may have to swap bytes, etc. If the client that creates the window is parent of the other clients, you can simply pass the window ID on through the exec argv. Otherwise, you can use a socket, pipe, or (shudder) window property. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee