Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!sdd.hp.com!hp-pcd!hpcvlx!harry From: harry@hpcvlx.cv.hp.com (Harry Phinney) Newsgroups: comp.sys.hp Subject: Re: Protocol for "HPExtension" X11 Server Extension Message-ID: <101950122@hpcvlx.cv.hp.com> Date: 9 May 90 01:13:28 GMT References: <1990May7.205237.799@icad.com> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 51 > -- Larry Stone > Does anyone know the details of the X11 protocol requests and replies > implemented by the "HPExtension" server extension? Nah, they're just random bits on the wire :-) > It seems to be > present in the server supplied with HP-UX 6.5. How stable is this > protocol, and is it the same in 7.0? All of the supported Xlib calls for these extensions are documented in appendix E of the manual _Programming_With_Xlib_. In the version I have, on page E-25, section E.1.27 is documented the call XHPGetServerMode(display, screen). The documented calls will be supported for the foreseeable future, since we must assume that applications will use them. Since Applications have the library code linked into them, we cannot change the protocol without breaking said applications. These applications are most certainly supported on HP-UX 7.0. From the header file used to build the extension library and the server extension files, I glean this info: #define X_HPGetServerMode 26 typedef struct { CARD8 reqType; CARD8 hpReqType; /* always X_HPGetServerMode */ CARD16 length B16; CARD32 screen B32; } xHPGetServerModeReq; typedef struct { CARD8 repType; /* X_Reply */ CARD8 hpRepType; /* always X_HPGetServerMode */ CARD16 sequenceNumber B16; CARD32 length B32; CARD32 mode B32; CARD32 pad1 B32; CARD32 pad2 B32; CARD32 pad3 B32; CARD32 pad4 B32; CARD32 pad5 B32; } xHPGetServerModeReply; Unfortunately, this level of documentation does not exist in a form accessible to customers. If you have questions on the protocol for other _supported_ extension requests, mail me. Harry Phinney harry@hp-pcd.cv.hp.com