Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!nthropy!lowe From: lowe@nthropy.UUCP (Andy Lowe) Newsgroups: comp.windows.x Subject: questions on server side implementation of XTest extension Message-ID: <9009141145.AA12379@nth.com> Date: 14 Sep 90 11:45:40 GMT Lines: 53 Posted-Date: Fri, 14 Sep 90 06:45:40 CDT To: comp-windows-x@cs.utexas.edu Fellow server hackers, I'm trying to implement the XTest input synthesis extension for our X11R4 server and I'm confused about the following routines described in $top/extensions/server/xtest1.frags: ... > You also need to implement the following routines (documentation > is needed; for now, see server/ddx/hp/hp/x_hil.c): ... > XTestGenerateEvent(dev_type, keycode, keystate, mousex, mousey) > XTestGetPointerPos(fmousex, fmousey) > XTestJumpPointer(jx, jy, dev_type) all I have in the indicated directory is: hp.300.o.Z hp.800.o.Z evidently, the dreaded institutional OCO (object code only) virus attacked hp at the last minute! In fact, 19% cd $top/server/ddx 20% grep XTestGenerateEvent `find . -name "*.[ch]" -print` generated only one match, and that was an invocation, not a definition: ./tek/pegInit.c: XTestGenerateEvent(0, 0, 0, 0, 0); Similarly, 39% cd $top/extensions 40% grep XTestGenerateEvent `find . -name "*.[ch]" -print` only generated two matches, also invocations, as it turns out: ./server/xtest1dd.c:void XTestGenerateEvent(); ./server/xtest1dd.c: XTestGenerateEvent( Oddly, these functions are not mentioned at all in the (scant) documentation I have ($top/doc/extensions/xtest1.mm), but I don't think it will work without them. Am I missing something? Any assistance will be greatly appreciated! regards, Andy Lowe andy@nth.com