Path: utzoo!attcan!uunet!husc6!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: XNextEvent vs. select(2) Message-ID: <8812201302.AA23318@EXPO.LCS.MIT.EDU> Date: 20 Dec 88 13:02:55 GMT References: <2199@daisy.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 16 Unfortunately, the UNIX input stream seems to be incompatible with the X input stream. Not that I know of. Is there any (preferably portable) way to register the X event stream with select()? Yes. You can get the file descriptor with ConnectionNumber(dpy). Alternatively, is there any way to be notified of UNIX events through XNextEvent()? No, but if you use the Xt Intrinsics, you can be notified of Unix file and timer events through the Xt event mechanisms.