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

Revision 1944, 734 bytes checked in by probe, 35 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
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 text '10' or '11' according
12to the version of the X Window System currently running on the
13workstation.
14.PP
15If
16.I xversion
17cannot make a connection to the server, it prints the text '?unknown'.
18.PP
19.I xversion
20is intended principally as a tool to be used within shell scripts,
21such as
22.I xswitch.
23.SH BUGS
24The display name is hard-coded as 'unix:0'; i.e. the value of the
25DISPLAY environment variable is ignored.
Note: See TracBrowser for help on using the repository browser.