home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / x / 18877 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.7 KB  |  38 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!rational.com!twinkie!drk
  3. From: drk@twinkie.Rational.COM (David Kaelbling)
  4. Subject: Re: Which version of x server am I running?
  5. Message-ID: <drk.721244208@twinkie>
  6. Sender: news@rational.com
  7. Organization: Rational
  8. References: <1992Nov6.215837.23500@kocrsv01.delcoelect.com> <1dfhnjINN246@early-bird.think.com>
  9. Date: Sun, 8 Nov 1992 17:36:48 GMT
  10. Lines: 26
  11.  
  12. barmar@think.com (Barry Margolin) writes:
  13.  
  14. >>How do I find out which version of X server am I running?
  15.  
  16. >Use xdpyinfo and look at lines 2 through 4.  Version number 11.0
  17. >corresponds to X11, and when the vendor string is "MIT X Consortium" the
  18. >first digit of the vendor release number is the X11 release (other vendors
  19. >may put their own release number there -- for instance, Sun puts the
  20. >OpenWindows version number there).
  21.  
  22. Not being the original poster I can't say for sure, but this answer is
  23. only approximate.  Back around OpenWindows 2.0 patch 100176-09, Sun
  24. deliberately chose to stop incrementing the VendorRelease() field, so
  25. it is now impossible to programmatically distinguish between patch
  26. releases of the xnews server.  Before then they followed the same
  27. "major*1000 + minor" convention used in IntrinsicP.h for XtVersion.
  28.  
  29. If you're trying to make your code conditionally work around some
  30. specific bug in xnews (e.g. the Motif 1.2 crashes that are fixed by
  31. patch 100444-31, or the continuing saga of XCopyPlane() failures) you
  32. have no hope of succeeding -- you'll have to rely on your installation
  33. instructions to convince clients to upgrade all possible xnews servers
  34. to the desired patch level.
  35. --
  36. David Kaelbling                            (508) 520-8632 [home -7826]
  37. 12 Mountain Rock Ln.; Norfolk, MA 02056-1772   DKaelbling@Rational.COM
  38.