Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: swick@athena.mit.EDU (Ralph Swick) Newsgroups: comp.windows.x Subject: Re: What Version am I running? Message-ID: <9102281627.AA17692@lyre.MIT.EDU> Date: 28 Feb 91 16:27:50 GMT References: <9102272229.AA01593@excalibur.lcs.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 13 You can get the version from the server with the XVendorRelease function. Of course, the interpretation of that number depends on the vendor, returned by XServerVendor. xdpyinfo prints this information, too. Xt has a revision number defined in IntrinsicP.h. Widgets can use the macro XtVersion to get the current revision. The interpretation of the revision number in IntrinsicP.h is also implementation-dependent. Since R4, Xt has defined a symbol (macro), XtSpecificationRelease, intended to hold the value of the corresponding release number. The R4 value was 4 (numeric). The absence of this #define indicates pre-R4.