Revision 1944,
734 bytes
checked in by probe, 36 years ago
(diff) |
Initial revision
|
Line | |
---|
1 | .\" $Header: /afs/dev.mit.edu/source/repository/athena/bin/xversion/xversion.man,v 1.1 1989-06-10 10:51:30 probe Exp $ |
---|
2 | .TH XVERSION "5 October 1987" "X Version 11" |
---|
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 text '10' or '11' according |
---|
12 | to the version of the X Window System currently running on the |
---|
13 | workstation. |
---|
14 | .PP |
---|
15 | If |
---|
16 | .I xversion |
---|
17 | cannot make a connection to the server, it prints the text '?unknown'. |
---|
18 | .PP |
---|
19 | .I xversion |
---|
20 | is intended principally as a tool to be used within shell scripts, |
---|
21 | such as |
---|
22 | .I xswitch. |
---|
23 | .SH BUGS |
---|
24 | The display name is hard-coded as 'unix:0'; i.e. the value of the |
---|
25 | DISPLAY environment variable is ignored. |
---|
Note: See
TracBrowser
for help on using the repository browser.