source: trunk/athena/bin/xversion/xversion.man @ 7958

Revision 7958, 1.0 KB checked in by cfields, 29 years ago (diff)
Bring the manual page up to date.
Line 
1.\" $Header: /afs/dev.mit.edu/source/repository/athena/bin/xversion/xversion.man,v 1.3 1995-07-21 01:46:41 cfields Exp $
2.TH XVERSION 1 "20 July 1995"
3.UC 4
4.SH NAME
5xversion \- determine which version of X is running
6.SH SYNOPSIS
7.B xversion
8[ -r ]
9.SH DESCRIPTION
10.I Xversion
11prints to standard output the major version number of the X server
12running on screen 0 of the workstation.  If the
13.B -r
14flag is specified,
15.I xversion
16will also print out the minor protocol revision number associated with
17the X server.  If
18.I xversion
19cannot make a connection to the server, it prints the text '?unknown'.
20.PP
21The format of the output string depends on whether the
22.B -r
23flag is specified.  If it is not, the output string will just be a
24number representing the major protocol revision.  If the
25.B -r
26flag is specified, the output string is XnRn.  For example, if the X
27server that is currently running on display 0 is X11R3, the output
28string will be "X11R3".
29.PP
30.I xversion
31is intended principally as a tool to be used within shell scripts.
Note: See TracBrowser for help on using the repository browser.