XWAIT(1) X11 5.4R3.00 XWAIT(1)
NAME
xwait - Wait for the server to open connection to a specified display
or by default to the one defined in the DISPLAY environment variable
and then exit.
SYNOPSIS
xwait [-display DisplayName] [-timeout Seconds]
DESCRIPTION
The xwait program waits for the server to open connection to a
specified display or by default to the one defined in the DISPLAY
environment variable within a specified time or by default will try
indefinitely to get connected and then exit.
OPTIONS
Xwait accepts the following command line options:
-display DisplayName
This option allows the server to open connection to a
specified display and then exit. By default xwait will wait
for the server to open connection for the display defined in
the DISPLAY environment variable and then exit.
-timeout Seconds
This option allows the server to open connection to a display
within the specified number of seconds. By default # of
seconds is infinity.
SEE ALSO
X
EXAMPLES
xwait
xwait -timeout 30
xwait -display unix:0.0 -timeout 30
$STATUS
xwait program will return the error ETIMEDOUT if the server was not
able to open connection to a specified display within a given time.
xwait program will return 1 if the arguments were specified
incorrectly.
COPYRIGHT
Copyright 1989, Data General Corporation, R.T.P., N.C.
AUTHOR
Bhagirath H. Thaker
Licensed material--property of copyright holder(s) 1