Fix relative order of `automake' and `autoconf'.
[xtoys] / xwait.1
CommitLineData
90b2c5d4 1.TH xwait 1 "15 November 1998" "Edgeware tools"
2.SH NAME
3xwait \- wait until prodded by another X client
4.SH SYNOPSIS
5.B xwait
162913e9 6.RB [ \-f ]
90b2c5d4 7.RB [ \-d
8.IR display ]
9.RB [ \-a
10.IR atom ]
11.RB [ \-m
12.IR message ]
13.SH DESCRIPTION
14The
15.B xwait
16program waits until it notices that a particular property on the X root
17window has been assigned a particular value, at which point the program
18exits. The property can be set using the
19.BR xtell (1)
20and
21.BR xshutdown (1)
22programs. It's mostly useful for putting at the end of a user's
23.B .xinitrc
24file, so that it can be triggered to end the session.
25.PP
26The property, and the value to listen for, can be configured at
27the command line. When
28.B xwait
29exits, it removes the property from the root window.
30.SS OPTIONS
31.TP 5
f3b35b6b 32.B \-f, \-\-force
90b2c5d4 33Force
34.B xwait
35to start up, even though there may be an existing process already
36listening for the particular atom in question.
37.TP 5
f3b35b6b 38.BI "\-d, \-\-display " display
90b2c5d4 39Attempt to connect to
40.I display
41rather than the display named in the usual environment variable.
42.TP 5
f3b35b6b 43.BI "\-a, \-\-atom " atom
90b2c5d4 44Sets
45.B xwait
46to listen for the property named
47.IR atom .
48The default property to listen to is
49.BR XWAIT_PROPERTY .
50.TP 5
f3b35b6b 51.BI "\-m, \-\-msg " message
90b2c5d4 52Sets
53.B xwait
54to wait for the given property to be set to
55.IR message .
56The default message to wait for is
57.BR XWAIT_MESSAGE .
58.SH AUTHOR
59Mark Wooding (mdw@nsict.org).
60.SH BUGS
61None currently known.
62.SH SEE ALSO
63.BR xtell (1),
64and
65.BR xshutdown (1).