Make flags be unsigned.
[xtoys] / xshutdown.1
CommitLineData
b6eb57e6 1.\" -*-nroff-*-
307aa55f 2.TH xshutdown 1 "15 November 1998" "Straylight/Edgeware" "xtoys"
90b2c5d4 3.SH NAME
4xshutdown \- asks for user confirmation before waking an xwait process
5.SH SYNOPSIS
d72bdcdb 6.ll +5i
90b2c5d4 7.B xshutdown
8.RB [ \-\-display
9.IR display ]
10.RB [ \-a
11.IR atom ]
12.RB [ \-m
e571b0f1 13.IR msg ]
d72bdcdb 14.if n \{\
15.br
16\h'1i'
17..
307aa55f 18\}
90b2c5d4 19.RB [ \-t
20.IR title ]
d72bdcdb 21.RI [ \c
e571b0f1 22.IB atom : msg \c
23]
d72bdcdb 24.ll -5i
90b2c5d4 25.SH DESCRIPTION
26The
27.B xshutdown
28program pops up a pretty GTK confirmation box asking the user whether he
29(or she) wants to shutdown the current session. If so, it sends a
30message to a waiting
31.B xwait
32process, by setting a named property on the X root window to a particular
33value.
e571b0f1 34.SS Options
90b2c5d4 35.TP 5
36.BI "\-\-display " display
37Attempt to connect to
38.I display
39rather than the display named in the usual environment variable.
40.TP 5
41.BI "\-a, \-\-atom " atom
42Sets
43.B xshutdown
44to to set the property named
45.IR atom .
d72bdcdb 46This option is deprecated.
90b2c5d4 47.TP 5
e571b0f1 48.BI "\-m, \-\-msg " msg
90b2c5d4 49Sets
50.B xshutdown
51to set the given property to
e571b0f1 52.IR msg .
d72bdcdb 53This option is deprecated.
90b2c5d4 54.TP 5
55.BI "\-p, \-\-prompt " prompt
56Sets the prompt in the confirmation box to
57.IR prompt .
58.TP 5
59.BI "\-t, \-\-title " title
60Sets the window title to be
61.IR title .
d72bdcdb 62.PP
63The
64.B \-a
65and
66.B \-m
67options are deprecated, though retained for compatibility reasons. It's
68recommended that you use the non-option specification instead.
69.PP
70The argument specifies an atom name and a message string to set. The
71default, if no atom or message is given, is to set
72.B XWAIT_PROPERTY
73to the value
74.BR XWAIT_MESSAGE .
90b2c5d4 75.SH AUTHOR
76Mark Wooding (mdw@nsict.org).
77.SH BUGS
78None currently known.
79.SH SEE ALSO
80.BR xwait (1),
81and
82.BR xtell (1).