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 |
---|
5 | xversion \- determine which version of X is running |
---|
6 | .SH SYNOPSIS |
---|
7 | .B xversion |
---|
8 | [ -r ] |
---|
9 | .SH DESCRIPTION |
---|
10 | .I Xversion |
---|
11 | prints to standard output the major version number of the X server |
---|
12 | running on screen 0 of the workstation. If the |
---|
13 | .B -r |
---|
14 | flag is specified, |
---|
15 | .I xversion |
---|
16 | will also print out the minor protocol revision number associated with |
---|
17 | the X server. If |
---|
18 | .I xversion |
---|
19 | cannot make a connection to the server, it prints the text '?unknown'. |
---|
20 | .PP |
---|
21 | The format of the output string depends on whether the |
---|
22 | .B -r |
---|
23 | flag is specified. If it is not, the output string will just be a |
---|
24 | number representing the major protocol revision. If the |
---|
25 | .B -r |
---|
26 | flag is specified, the output string is XnRn. For example, if the X |
---|
27 | server that is currently running on display 0 is X11R3, the output |
---|
28 | string will be "X11R3". |
---|
29 | .PP |
---|
30 | .I xversion |
---|
31 | is intended principally as a tool to be used within shell scripts. |
---|
Note: See
TracBrowser
for help on using the repository browser.