readding XFree86's cvs IDs
[platform/upstream/xlsatoms.git] / xlsatoms.man
1 .\" $Xorg: xlsatoms.man,v 1.4 2001/02/09 02:05:54 xorgcvs Exp $
2 .\" Copyright 1989, 1994, 1998  The Open Group
3 .\" 
4 .\" Permission to use, copy, modify, distribute, and sell this software and its
5 .\" documentation for any purpose is hereby granted without fee, provided that
6 .\" the above copyright notice appear in all copies and that both that
7 .\" copyright notice and this permission notice appear in supporting
8 .\" documentation.
9 .\" 
10 .\" The above copyright notice and this permission notice shall be included
11 .\" in all copies or substantial portions of the Software.
12 .\" 
13 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 .\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17 .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18 .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19 .\" OTHER DEALINGS IN THE SOFTWARE.
20 .\" 
21 .\" Except as contained in this notice, the name of The Open Group shall
22 .\" not be used in advertising or otherwise to promote the sale, use or
23 .\" other dealings in this Software without prior written authorization
24 .\" from The Open Group.
25 .\"
26 .\" $XFree86: xc/programs/xlsatoms/xlsatoms.man,v 1.8 2001/12/14 20:02:08 dawes Exp $
27 .\"
28 .TH XLSATOMS 1 __xorgversion__
29 .SH NAME
30 xlsatoms - list interned atoms defined on server
31 .SH SYNOPSIS
32 .B xlsatoms
33 [-options ...]
34 .SH DESCRIPTION
35 .I Xlsatoms
36 lists the interned atoms.  By default, all atoms starting from 1 (the lowest
37 atom value defined by the protocol) are listed until unknown atom is found.
38 If an explicit range is given, \fIxlsatoms\fP will try all atoms in the range,
39 regardless of whether or not any are undefined.
40 .SH "OPTIONS"
41 .PP
42 .TP 8
43 .B \-display \fIdpy\fP
44 This option specifies the X server to which to connect.
45 .TP 8
46 .B \-format \fIstring\fP
47 This option specifies a \fIprintf\fP-style string used to list each atom
48 \fI<value,name>\fP pair, printed in that order (\fIvalue\fP is an \fIunsigned
49 long\fP and \fIname\fP is a \fIchar *\fP).  \fIXlsatoms\fP will supply a
50 newline at the end of each line.  The default is \fI%ld\\t%s\fP.
51 .TP 8
52 .B \-range \fI[low]-[high]\fP
53 This option specifies the range of atom values to check.  If \fIlow\fP is not
54 given, a value of 1 assumed.  If \fIhigh\fP is not given, \fIxlsatoms\fP will
55 stop at the first undefined atom at or above \fIlow\fP.
56 .TP 8
57 .B \-name \fIstring\fP
58 This option specifies the name of an atom to list.  If the atom does not 
59 exist, a message will be printed on the standard error.
60 .PP
61 .SH "SEE ALSO"
62 X(__miscmansuffix__), Xserver(1), xprop(1)
63 .SH ENVIRONMENT
64 .TP 8
65 .B DISPLAY
66 to get the default host and display to use.
67 .SH AUTHOR
68 Jim Fulton, MIT X Consortium