home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / pex / 669 < prev    next >
Encoding:
Text File  |  1993-01-04  |  2.3 KB  |  58 lines

  1. Newsgroups: comp.windows.x.pex
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!wupost!gumby!yale!mintaka.lcs.mit.edu!xenon.lcs.mit.edu!mor
  3. From: mor@xenon.lcs.mit.edu (Ralph Mor)
  4. Subject: Re: what is PEX5 in MIT-X11R5 patch 19
  5. Message-ID: <1993Jan4.183530.15840@mintaka.lcs.mit.edu>
  6. Sender: news@mintaka.lcs.mit.edu
  7. Organization: MIT Laboratory for Computer Science
  8. References:  <1i9lhdINN52r@nz12.rz.uni-karlsruhe.de>
  9. Date: Mon, 4 Jan 1993 18:35:30 GMT
  10. Lines: 46
  11.  
  12. In article <1i9lhdINN52r@nz12.rz.uni-karlsruhe.de>, schmidt@rpksun1.mach.uni-karlsruhe.de (Martin Schmidt) writes:
  13. |> Hi experts,
  14. |> 
  15. |> I using the PEX-SI server and the phigs API from MIT X11R5
  16. |> on my SparcII. As you know the PEX-SI server does not support
  17. |> 
  18. |>    - HLHSR_MODE
  19. |>    - no monochrome screens
  20. |>    - ..
  21. |> 
  22. |> Since some days we have installed MIT-X11R5 patch ..,19,20,21.
  23. |> In patch 19 a new PEX library is included (PEXlib or PEX5 called).
  24. |> 
  25. |> 1. Question:
  26. |> How can I use that library ? What are the new features ?
  27. |> Is there a PHIGS API available to this implementation ?
  28. |> Does patch 19 changes my PEX server (or are there now 2 servers) ????
  29. |>
  30.  
  31. You seem to think that PEXlib might add some new features to PEX.
  32. No.  PEXlib is a new API that gives you complete access to the
  33. PEX protocol.  Some of its advantages over PHIGS is that it is
  34. policy free, provides immediate mode capablities, and it integrates
  35. very cleanly with your Xlib and toolkit applications.
  36.  
  37. If you want to learn more about PEXlib, you can ftp the PEXlib
  38. specification document from MIT (ftp export.lcs.mit.edu, look for
  39. /pub/DOCS/PEXlib/PEXlib.ps.tar.Z).  Also, Tom Gaskins has written
  40. an excellent book on PEXlib (as part of the O'Reilly series on X).
  41. I suggest Tom's book over reading the spec.
  42.  
  43.  
  44. |> 2. Question:
  45. |> I am using PEX-SI and MIT-X11R5 phigs in an C++ environment 
  46. |> (on the top of InterViews [this is another problem. but now I 
  47. |> have a first version of a PEXGlyph]. To use the phigs-functions I
  48. |> need function prototypes. For MIT-X11R5 phigs I found no prototypes.
  49. |> Therefore I edited the file mit/extensions/lib/PEX/c_binding.
  50. |> Is there s.th. similar for the new library (better for an API) ??
  51. |> 
  52.  
  53. The PEXlib-SI has function prototypes for all of the API functions.
  54. The prototypes can be found in the header file PEXlib.h.
  55.  
  56.  
  57. Ralph
  58.