[comp.sys.hp] Using XHPGetServerMode on a 700/X

evgabb@sdrc.UUCP (Rob Gabbard) (06/28/90)

When I call XHPGetServerMode and I'm running on an HP700/X terminal, I get
an X protocol error - Bad request code or no such operation. When I call this
routine while running under a non-HP X server it simply returns -1 (as 
expected) or when on an HP workstation it returns the X server mode as specified
in X0screens. Why would this error out on the 700/X ? I would expect it to 
return a -1 also or XHPIMAGE_MODE if the extension was in that server.


-- 

Rob Gabbard (uunet!sdrc!evgabb)  
Technical Development Engineer   
Structural Dynamics Research Corp

harry@hpcvlx.cv.hp.com (Harry Phinney) (07/03/90)

> When I call XHPGetServerMode and I'm running on an HP700/X terminal, I get
> an X protocol error - Bad request code or no such operation. 
> Why would this error out on the 700/X ? I would expect it to 
> return a -1 also or XHPIMAGE_MODE if the extension was in that server.
> Rob Gabbard (uunet!sdrc!evgabb)  

Your expectations would have been met if everything had been done
correctly in the library and the 700/X terminal.  The problem was due to
poor coordination between the two groups developing the servers and
library.  I believe this will be corrected in a future release of the
700/X server.  The problem is that the 700/X implements _some_ of the
extension, so the library doesn't return -1 as it would on a
non-supporting server, but the 700/X doesn't support this particular
request (minor op-code) within the extension.

Harry Phinney   harry@hp-pcd.cv.hp.com

mistry@hppad.HP.COM (Mohan Mistry) (07/04/90)

>When I call XHPGetServerMode and I'm running on an HP700/X terminal, I get
>an X protocol error - Bad request code or no such operation. When I call this
>routine while running under a non-HP X server it simply returns -1 (as 
>expected) or when on an HP workstation it returns the X server mode as specified
>in X0screens. Why would this error out on the 700/X ? I would expect it to 
>return a -1 also or XHPIMAGE_MODE if the extension was in that server.
>
>

The HP 700/X has "HP  EXTENTIONS" but not ALL requests are supported. This
is one of them. It will be fixed in the near future so that it does not
result in "X protocol error - Bad request....". 
I have filed the  defect into our defect reporting system. I'll check
if there is a workaround.


Mohan Mistry
Panacom Automation Division.
Hewlett Packard Canada Ltd.,
20 Lexington Road,
Waterloo, N2J 3Z3 
Ontario CANADA
(519) 886 5320
mistry@hppad.HP.COM