[summary] how to tell version of X windows

From: Greg Rahn <RAHN_at_uwplatt.edu>
Date: Thu, 29 Aug 1996 15:26:27 -0500 (CDT)

I have heard serveral different solutions to this question, but no one person
can say for sure what the fool proof way to do this is. (I dont think there is
one)

Here are a couple of the replies I got to try to get the version number.

Thanks for all those who replied.

--
Greg Rahn   
Student Systems Management Assistant          
Office of Information Technology, U of Wisconsin-Platteville
rahn_at_uwplatt.edu    http://www.uwplatt.edu/~rahn 
                                 
/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\
In general, run the program "xdpyinfo" which should be part of the installed
X11. This will tell a lot of information about the server. The first part is
what you are interested in...
name of display:    unix:0.0
version number:    11.0
vendor string:    MIT X Consortium
vendor release number:    5000
The version number is pretty obvious. The vendor release number indicates the R
level, in the above case, 5000 means R5.
I have heard from some people that this isn't always accurate, especially for
specific vendor's X products. This also says nothing about
the libraries and other files that make it up, just the X server itself.
/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\
The preprocessor define XlibSpecificationRelease gives the X11 revision number 
of the X libraries on the system
eg. On Digital UNIX v4.3c (X11 R5)
% grep XlibSpecificationRelease /usr/include/X11/Xlib.h
#define XlibSpecificationRelease 5
On Digital UNIX V4.0 (X11 R6)
% grep XlibSpecificationRelease /usr/include/X11/Xlib.h
#define XlibSpecificationRelease 6
    
Received on Thu Aug 29 1996 - 22:46:29 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT