'\"macro stdmacro
.if n .pH g1.xinfo @(#)xinfo	40.3 of 1/9/90
.nr X
.if \nX=0 .ds x} XINFO 1 "9/1/88 "X\s-2WIN\s+2 3.0" "\&"
.if \nX=1 .ds x} XINFO 1 "9/1/88 "X\s-2WIN\s+2 3.0"
.if \nX=2 .ds x} XINFO 1 "" "\&"
.if \nX=3 .ds x} XINFO "" "" "\&"
.TH \*(x}
.SH NAME
xinfo \- print information about X window system

.SH SYNOPSIS

.B xinfo
[-v | -t] [-d] [-w] [-f | -fp pattern] [-c columns] [-fn fontname]
[-display host:display]

.SH DESCRIPTION

\fIxinfo\fP
prints information about a display, window, or font.

.SH OPTIONS

.I xinfo
understands to following options:
.PP
.TP 8
.B \-v
Print verbose information.
This is the default.
.PP
.TP 8
.B \-t
Print terse information.
The default is verbose.
.PP
.TP 8
.B \-d
\fIxinfo\fP
prints information about the display and screen structures.
.PP
.TP 8
.B \-w
\fIxinfo\fP
prompts you to select a window and prints the attributes of
the selected window.
.PP
.TP 8
.B \-f
\fIxinfo\fP
prints the entire list of available fonts.
By default these are printed 1 per line.
Multiple columns are obtained using the \fB-c\fP option.
.PP
.TP 8
.B \-fp \fIpattern\fP
\fIxinfo\fP
prints the list of all fonts matching the given pattern.
See \fIXListFonts\fP for details.
.PP
.TP 8
.B \-fn \fIfontname\fP
\fIxinfo\fP
prints information about the given font.
.PP
.TP 8
.B \-c \fIcolumns\fP
This option specifies the number of columns
used to list font names (see \fB-f\fP and \fB-fp\fP options).
The default is 1 column.
.PP
.TP 8
.B \-display \[\fIhost\fP]:\[\fIdisplay\fP]
Normally,
.I xinfo
gets the host and display number to use from the environment
variable ``DISPLAY''.  Either or both can be specified with this option.
.I host
specifies which machine to create the
.I xinfo
window on, and
.I display
specifies the display number.

.SH X DEFAULTS
.PP
.TP 8
.B Verbose
Print verbose information.
This is the default.
.PP
.TP 8
.B Terse
Print terse information.
The default is verbose.
.PP
.TP 8
.B Columns
This specifies the number of columns
used to list font names (see \fB-f\fP and \fB-fp\fP options).
The default is 1 column.
