jburney@gmuvax2.gmu.edu (Jeff Burney) (02/27/91)
Is there an easy way to tell what version of X (server and or libraries) is on a computer. I think one way, good or bad, to tell which libraries are being used is to look for the RoundPercent attribute (new to version 4 wasn't it?). This is a crude way to tell a version as far as I'm concerned. Any suggestions? As for the server version, I have no idea how to tell that. Any help? Thanks in Advance, Jeff
gildea@expo.lcs.mit.EDU (Stephen Gildea) (02/28/91)
Is there an easy way to tell what version of X (server and or libraries) is on a computer. 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. < Stephen MIT X Consortium
swick@athena.mit.EDU (Ralph Swick) (03/01/91)
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.