Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!helios!tamunix!n188cu From: n188cu@tamunix (Joel Huddleston) Newsgroups: comp.sys.hp Subject: Re: Help wanted - Starbase under X11 Message-ID: <4551@helios.TAMU.EDU> Date: 10 Mar 90 10:20:47 GMT References: <77980@tut.cis.ohio-state.edu> <101950104@hpcvlx.cv.hp.com> Sender: news@helios.TAMU.EDU Reply-To: n188cu@tamunix.tamu.edu (Joel Huddleston) Organization: Texas A&M University Lines: 18 > According to the manual "Starbase Programming With X11", the following > should work: > > if ((display = gopen("/dev/screen/pavi", OUTDEV, "hp98550", INIT)) == -1) > exit(1); > if ((locator = gopen("/dev/screen/pavi FIRST_MOUSE", INDEV, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > "hp-hil", INIT)) == -1) > exit(1); I think you should strongly suspect this syntax and double check it. Perhaps this FIRST_MOUSE should be bitwise or'ed to the INIT parameter at the end of the call. Or, maybe it should be in the "hp-hil" string. I don't have the manuals in front of me now or I could be more sure of what I am saying but it seems that the first parameter to gopen should ONLY contain the device file used for I/O. Joel Huddleston n188cu@tamunix.tamu.edu