geoff@tolerant.com (Geoffrey Leach) (03/08/90)
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. Any ideas/experience would be appreciated.
randy@erik.UUCP (Randy Brown) (03/09/90)
>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