.\" @(#)toolwait.1 1.1 91/07/15
.TH TOOLWAIT 1 "15 July 1991"
.SH NAME
toolwait \- control client program startup.
.SH SYNOPSIS
.B toolwait
[
.B \-display
.I displaystring
] [
.B \-timeout
.I nseconds
] 
.br
[
.B \-help
]
command
.\" ========================================================================
.SH DESCRIPTION
.LP
.B toolwait
is a program that controls the startup of an X11 or NeWS client program.
Toolwait takes a client program as its argument.  When the client program
has started, toolwait will exit.
.\" ========================================================================
.SH OPTIONS
.LP
The basic options are as follows:
.TP 15
.BI "\-display " string
Specify the name of the display that toolwait should monitor.  Overrides the DISPLAY
environment variable, if any.
.TP
.BI "\-timeout " nsecs
Specifies the time to wait for the client to start up.  Toolwait will exit if
the client hasn't started by nsecs seconds.  Default is 15 seconds.
.TP
.BI "\-help " 
Display a short summary of the possible command line options.
.\" ========================================================================
.SH EXAMPLES
.LP
To start a cmdtool with toolwait, the following command may be used:
.RS
.ft B
.sp .5
.nf
example% toolwait cmdtool -Wp 0 0 -Ws 557 95 -WP 263 833
.fi
.ft R
.RE

To start a mailtool on display "host2" with a timeout of 25 seconds, use
the following command:
.RS
.ft B
.sp .5
.nf

example% toolwait -display host2:0 -timeout 25 mailtool 
-display host2:0
.fi
.ft R
.RE
.\" ========================================================================
