Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ROVER.UMD.EDU!jonnyg From: jonnyg@ROVER.UMD.EDU (Jon Greenblatt) Newsgroups: comp.windows.x Subject: Need a sample.... Message-ID: <8902221722.AA11560@rover.UMD.EDU> Date: 22 Feb 89 17:22:11 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 8 Can anyone give me some sample code to do the following. I need to have my X11 client sleep until I get input from either the terminal or an X event. I do not want the process to have to fork, it is a large process. I know you can do this through select, I was hoping someone had an example. BTW I am using straight Xlib calls. JonnyG.