Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rootbeer.eng.ohio-state.edu!pavi From: pavi@rootbeer.eng.ohio-state.edu (Pavithran Thomas) Newsgroups: comp.sys.hp Subject: Help wanted - Starbase under X11 Keywords: Starbase, X11, help! Message-ID: <77980@tut.cis.ohio-state.edu> Date: 7 Mar 90 18:51:20 GMT Sender: news@tut.cis.ohio-state.edu Reply-To: Followup-To: comp.sys.hp Organization: y Lines: 41 Greetings! I'm just beginning to program on the HP and am running into a few problems. I'm using C with starbase under TWM. 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); if ((keyboard = gopen("/dev/screen/pavi FIRST_KEYBOARD", INDEV, "keyboard", INIT)) == -1) gclose(locator), gclose(display), exit(1); Unfortunately, I get the following error message: Starbase error 71: Requested resource is not available. Procedure name: gopen File descriptor: 8 Device file name: /dev/screen/pavi FIRST_MOUSE Library location: human interface loop (20) Could anybody please set me on the right track? All I want to do is to bring up a window under X11 using starbase and use the mouse and keyboard in a shared mode. Any help would be greatly appreciated! -pavi- pavi@rootbeer.eng.ohio-state.edu -=- ~~~~~~~~~~~~~~~~ Pavithran Thomas | DECNet: rcgl1::pavi ( 6177:pavi) Graphics Consultant + InterNet: pavi@eng.ohio-state.edu