Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!erik.UUCP!randy From: randy@erik.UUCP (Randy Brown) Newsgroups: comp.windows.x Subject: Re: XWIN 3.0 Input Events Message-ID: <9003091553.AA21117@rocky.kevex.com> Date: 9 Mar 90 15:53:21 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 15 >The environment is ATT SVR3.2.2 and XWIN 3.0 (== X11R3). > >I'm trying to monitor a group of pipe fds. I use XtAddInput to >set XtInputReadMask. Dispite the fact that there is demonstrably >data in the pipe, the input callback is never called. Remember, SVR3.2.2 doesn't have select. The compatibility version in XWIN only works with Streams files, since it's really a Streams poll. Until SVR4, which surely will have select, you could start a demon to read each pipe (blocking) and write to a pseudo-tty (streams, right?). Then read the ptty in your X app. I can't say for sure that this will work, so I'd be interested to hear back by email. ... rb