.TH xev "" "" "X Utility"
.PC "Print contents of X events"
\fBxev [\-display \fIdisplayname\^\fB] [\-geometry \fIgeometry\^\fB] [\-bw \fIpixels\^\fB]
	[\-bs (NotUseful|WhenMapped|Always)] [\-id \fIwindowid\^\fB] [\-s] [\-name \fIstring\^\fB] 	[\-rv]\fR
.PP
.HS
.SH Options:
.IC "\fB\-bs (NotUseful|WhenMapped|Always)\fR"
Specify the kind of backing storage to give the window
.IC "\fB\-bw \fIpixels\fR"
Set the width of the border to
.I pixels
.IC "\fB\-display \fIhost\^\fB[:\fIserver\^\fB][.\fIscreen\^\fB]\fR"
Contact
.I host
on
.I server
.IC "\fB\-geometry \fIgeometry\fR"
Set the geometry of the program's window to
.I geometry
.IC "\fB\-id \fIwindowid\fR"
Monitor window
.IR windowid ,
rather than creating a new window
.IC "\fB\-name \fIstring\fR"
Assign
.I name
to the newly created window
.IC \fB\-rv\fR
Display the window in reverse video
.IC \fB\-s\fR
Enable save-unders on the window
.HE
.II event
.B xev
creates a window and then asks the X server to send it
.I events
whenever anything happens to the window
(such as being moved, resized, typed in, clicked in, etc.).
You can also attach
.B xev
to an existing window.
It is useful for seeing what causes
events to occur and to display the information that they contain.
.SH Options
.B xev
recognizes the following command-line options:
.IP "\fB\-bs (NotUseful|WhenMapped|Always)\fR"
Specify the kind of backing storage to give the window.
The default is
.BR NotUseful .
.IP "\fB\-bw \fIpixels\fR"
Set the width of the border to
.IR pixels .
.IP "\fB\-display \fIhost\^\fB[:\fIserver\^\fB][.\fIscreen\^\fB]\fR"
Contact
.I host
on
.IR server .
.IP "\fB\-geometry \fIgeometry\fR"
Set the geometry of the program's window to
.IR geometry .
The term ``geometry'' means the dimensions of the window and its location
on the screen.
.I geometry
has the form \fIwidth\(muheight\(+-xoffset\(+-yoffset\fR.
.IP "\fB\-id \fIwindowid\fR"
Monitor window
.IR windowid ,
rather than creating a new window.
.IP "\fB\-name \fIstring\fR"
Assign
.I name
to the newly created window.
.IP \fB\-rv\fR
Display the window in reverse video.
.IP \fB\-s\fR
Enable save-unders on the window.
.SH "See Also"
.B
xwininfo,
xdpyinfo,
X utilities
.R
.SH Notes
Copyright \(co 1988, Massachusetts Institute of Technology.
.PP
.II "Fulton, Jim"
.B xev
was written by Jim Fulton of the MIT X Consortium.
