tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [summary] how to tell version of X windows
@ 1996-08-29 20:26 Greg Rahn
  0 siblings, 0 replies; only message in thread
From: Greg Rahn @ 1996-08-29 20:26 UTC (permalink / raw)
  To: tru64-unix-managers

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@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
    

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-29 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-29 20:26 [summary] how to tell version of X windows Greg Rahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox