Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!milano!peyote!woan From: woan@peyote.cactus.org (Ronald S. Woan) Newsgroups: comp.windows.x Subject: Re: Problems compiling several X.11 programs posted to comp.sources.x Summary: non-portable code Message-ID: <301@peyote.cactus.org> Date: 30 Nov 89 06:02:39 GMT References: <603@greek.UUCP> Distribution: usa Organization: Capital Area Central Texas Unix Society, Austin, TX Lines: 17 You were right when you said that most errors were due to non-portable code. I have gotten almost all of your examples compiled for AIX machines which are SysVR3 + BSD extensions. Anyways, you can change most usleeps to sleep with a value for the parameter adjusted for the resolution of your sleep call (in my case divide by 1000, as sleep is in seconds and usleep in milliseconds, or something like that). For xchomp, you may find that you can leave some of them out as the programs sucks up cpu like there's no tomorrow. The best advice is just look at the source code and dig into your system manual. A BSD manual will also help as most programs seem to have been developed on BSD systems. Ron -- +-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+ +------------------------------My Employer----------------------------------+ + Ronald S. Woan @cs.utexas.edu:ibmaus!auschs!woan.austin.ibm.com!ron + + second choice: woan@peyote.cactus.org +