From e571b0f1645bf296026f09b2c43854b178bc4e31 Mon Sep 17 00:00:00 2001 From: mdw Date: Tue, 26 Oct 1999 15:53:55 +0000 Subject: [PATCH] Minor edits. --- xcatch.1 | 2 +- xgetline.1 | 2 +- xscsize.1 | 2 +- xshutdown.1 | 12 ++++++------ xtell.1 | 12 ++++++------ xwait.1 | 29 +++++++++++++++++++++++++---- 6 files changed, 40 insertions(+), 19 deletions(-) diff --git a/xcatch.1 b/xcatch.1 index bdd953b..aa2871b 100644 --- a/xcatch.1 +++ b/xcatch.1 @@ -26,7 +26,7 @@ redirected to otherwise, .B xcatch reads from its own standard input. -.SS OPTIONS +.SS Options .TP .BI "\-\-display " display Create the window on the named diff --git a/xgetline.1 b/xgetline.1 index e8d11d0..d872732 100644 --- a/xgetline.1 +++ b/xgetline.1 @@ -47,7 +47,7 @@ cmd=`xgetline -t "Shell command in window" -p "Command:"` && xterm -T "$cmd" -e sh -c "$cmd" .ft R .fi -.SS OPTIONS +.SS Options .TP 5 .B \-i, \-\-invisible Don't echo characters to the screen when they're typed. Useful when diff --git a/xscsize.1 b/xscsize.1 index 230684e..ad0dcaa 100644 --- a/xscsize.1 +++ b/xscsize.1 @@ -32,7 +32,7 @@ Typical use would be something like eval `xscsize` .ft R .fi -.SS OPTIONS +.SS Options .TP 5 .BI "\-d, \-\-display " display Choose which display to connect to. diff --git a/xshutdown.1 b/xshutdown.1 index 24c71cc..1a2f409 100644 --- a/xshutdown.1 +++ b/xshutdown.1 @@ -10,7 +10,7 @@ xshutdown \- asks for user confirmation before waking an xwait process .RB [ \-a .IR atom ] .RB [ \-m -.IR message ] +.IR msg ] .if n \{\ .br \h'1i' @@ -18,8 +18,8 @@ xshutdown \- asks for user confirmation before waking an xwait process .RB [ \-t .IR title ] .RI [ \c -.IB atom : msg , msg \c -\&...] +.IB atom : msg \c +] .ll -5i .SH DESCRIPTION The @@ -30,7 +30,7 @@ message to a waiting .B xwait process, by setting a named property on the X root window to a particular value. -.SS OPTIONS +.SS Options .TP 5 .BI "\-\-display " display Attempt to connect to @@ -44,11 +44,11 @@ to to set the property named .IR atom . This option is deprecated. .TP 5 -.BI "\-m, \-\-msg " message +.BI "\-m, \-\-msg " msg Sets .B xshutdown to set the given property to -.IR message . +.IR msg . This option is deprecated. .TP 5 .BI "\-p, \-\-prompt " prompt diff --git a/xtell.1 b/xtell.1 index 2fd32a9..a49c972 100644 --- a/xtell.1 +++ b/xtell.1 @@ -10,10 +10,10 @@ xtell \- prods a waiting xwait process .RB [ \-a .IR atom ] .RB [ \-m -.IR message ] +.IR msg ] .RI [ \c -.IB atom : msg , msg \c -\&...] +.IB atom : msg \c +] .ll -5i .SH DESCRIPTION The @@ -21,7 +21,7 @@ The program sets a named property on the X root window to a particular value. This is primarily useful for communicating with .BR xwait (1). -.SS OPTIONS +.SS Options .TP 5 .BI "\-d, \-\-display " display Attempt to connect to @@ -35,11 +35,11 @@ to to set the property named .IR atom . Use of this option is deprecated. .TP 5 -.BI "\-m, \-\-msg " message +.BI "\-m, \-\-msg " msg Sets .B xtell to set the given property to -.IR message . +.IR msg . Use of this option is deprecated. .PP The diff --git a/xwait.1 b/xwait.1 index 4c09801..c66dcf2 100644 --- a/xwait.1 +++ b/xwait.1 @@ -1,4 +1,11 @@ .\" -*-nroff-*- +.de hP +.IP +\h'-\w'\fB\\$1\ \fP'u'\fB\\$1\ \fP\c +.. +.ie t .ds o \(bu +.el .ds o o +. .TH xwait 1 "15 November 1998" "Edgeware tools" .SH NAME xwait \- wait until prodded by another X client @@ -11,7 +18,7 @@ xwait \- wait until prodded by another X client .RB [ \-a .IR atom ] .RB [ \-m -.IR message ] +.IR msg ] .RI [ \c .IB atom : msg , msg \c \&...] @@ -33,7 +40,7 @@ The properties, and the values to listen for, can be configured at the command line. When .B xwait exits, it removes the properties from the root window. -.SS OPTIONS +.SS Options .TP 5 .B \-f, \-\-force Force @@ -53,11 +60,11 @@ to listen for the property named .IR atom . Use of this option is deprecated. .TP 5 -.BI "\-m, \-\-msg " message +.BI "\-m, \-\-msg " msg Sets .B xwait to wait for the given property to be set to -.IR message . +.IR msg . Use of this option is deprecated. .SS "Argument format" The @@ -79,6 +86,20 @@ will wait for .B XWAIT_PROPERTY to be set to .BR XWAIT_MESSAGE . +.SS "Output format" +When a message is eventually received, +.B xwait +prints information about it to standard output: +.hP \*o +If more than one property (atom) was specified, the property name is +printed. +.hP \*o +If more than one message is recognized for the property, the message +string is printed; if a property name was printed, the two are separated +by a colon and a single space character. +.PP +.B xwait +then exits with return code 0. .SH AUTHOR Mark Wooding (mdw@nsict.org). .SH BUGS -- 2.11.0