home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / pex / 447 < prev    next >
Encoding:
Text File  |  1992-08-12  |  4.3 KB  |  97 lines

  1. Newsgroups: comp.windows.x.pex
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!schultz.kgn.ibm.com!schultz
  3. From: schultz@schultz.kgn.ibm.com (schultz)
  4. Subject: Re: PEX subsets
  5. Sender: @watson.ibm.com
  6. Message-ID: <1992Aug12.153351.38352@watson.ibm.com>
  7. Date: Wed, 12 Aug 92 15:33:51 GMT
  8. Reply-To: schultz@vnet.ibm.com
  9. References:  <5681@m1.cs.man.ac.uk>
  10. Organization: IBM AWD Graphics Systems
  11. Keywords: PEX subset PHIGS workstation immediate structure enquiry
  12. Lines: 83
  13.  
  14. In article <5681@m1.cs.man.ac.uk>, lilleyc@cs.man.ac.uk (Chris Lilley) writes:
  15.  
  16. |> How does one find which of the three subsets a given PEX server
  17. |> supports? I am looking for a short program to tell me. Also, how to
  18. |> tell if a server is 5.0 or 5.1
  19.  
  20. The PEX Request PEXGetExtensionInfo will return this information.
  21. A short PEXlib program can be written to query and display this information.
  22. I have also heard about a program called pexdpyinfo, which works a lot like
  23. xdpyinfo except that it returns the same info provided by PEXGetExtensionInfo
  24. plus perhaps the ImpDep Constants and EnumTypes.  I do not know the
  25. status of the program.  However, a program to print just the return info 
  26. from PEXGetExtensionInfo is pretty simple.
  27.  
  28. |> Reason I ask: we have a VAXstation here running PEX. It displays DEC
  29. |> phiga apps to either an X or a PEX workstation (ie workststion types
  30. |> 231 or 241, for Motif).  As far as DEC PHIGS is concerned, PEX is
  31. |> there and able to support server-side structures (that is, indeed, the
  32. |> default). DEC PHIGS generates PEX 5.0 protocol.
  33. |> 
  34. |> We recently tried to display output from SunPHIGS 2.0 which claims to
  35. |> support PEX when present. This failed with an error message which
  36. |> apparently means that the PHIGS workstation subset is not present.
  37.  
  38. SunPHIGS apparently requires the Workstation subset.  DEC PEX servers
  39. generally do not have the workstation subset.  (Before criticizing, see
  40. below)
  41. SunPHIGS, by the way, runs pretty well to other PEX servers that do support
  42. the Workstation Subset.  For example, at SIGGRAPH this year, I was
  43. consistently displaying several SunPHIGS clients (running on Sun machines)
  44. to our IBM PEX server.  
  45.  
  46. |> A demo program which came with a Tektronix XP29P PEX terminal we are
  47. |> looking at also failed with the same error. This program supports 5.1
  48. |> protocol.
  49.  
  50. Failed when running to the DEC server?  If it is a PHIGS program (maybe
  51. written to the SI-PHIGS), then the missing Workstation subset is the
  52. cause again.
  53.  
  54. |> Could someone give me a quick summary or low-down on PEX subsets, how
  55. |> to get around the above problem and (preferably) why PEX has three
  56. |> subsets. Is this not going to be a bit of a problem in the future?
  57.  
  58. Yes, it is and will be a problem.  For this reason, there is considerable
  59. interest in 'no subsets' for PEX 6.0.  
  60. The future of the Workstation Object/Subset is in doubt also.
  61.  
  62. I don't think I was involved much with PEX when 5.0 was started, but
  63. I guess that the existence of the Workstation was a controversial issue.
  64.  
  65. Some say that the Workstation function was needed to implement an
  66. efficient PHIGS and that the extra 'policy' imposed by the PEX Workstation
  67. functions was not a problem, from an 'X' point of view.
  68.  
  69. Others argue that you can implement PHIGS without the Workstation functions
  70. and that the policy imposed by the current Workstation functions
  71. was too much, as compared to the rest of X.
  72.  
  73. Some vendors, like DEC I guess, had implemented PHIGS without a
  74. Workstation object before PEX 5 came along, so they saw no reason to
  75. add it.  Other vendors may also have objected strongly to being forced
  76. to implement ALL of PEX when they had real disagreements over some of
  77. the function.
  78.  
  79. Rather than let programs die by sending unimplemented PEX requests,
  80. the subset bits were added so a client can at least find out what is there.
  81.  
  82. How to get around it?
  83. Well, for now, if you want your client to run on every PEX server,
  84. you have to check the subset flags and make your client program adjust
  85. accordingly.  With the current subsets, you have to be able to handle
  86. 7 different configurations.
  87.  
  88. |> Also could someone give me the email address of the PEX
  89. |> interoperability centre as I have some other stuff I would like to
  90. |> share with them.
  91.  
  92. pexic-pub-tech@convex.com
  93.  
  94.  
  95. Karl Schultz                             schultz@vnet.ibm.com
  96. These statements or opinions are not necessarily those of IBM
  97.