XWDESTROY(1)
NAME
xwdestroy − destroy one or more existing windows
SYNOPSIS
xwdestroy [-wmdir directory] window1 window2 ...
DESCRIPTION
If a window named in the list was created using xwcreate(1), then it is destroyed, along with its children. Also the pty devices associated with these windows are removed. Window names may not be more than 12 characters long.
-wmdir directory
is the name of the directory where the pty file for the window was created. If this option is not defined, then the directory name will be computed as follows: first, the environment of the process will be searched for the variable $WMDIR. If the variable $WMDIR is defined in the environment, then it will be used as the desired directory. If the variable $WMDIR is not defined in the environment, then the pty file will be destroyed in the default directory "/dev/screen". If the option -wmdir is defined in the command line, the directory name will be obtained as follows: If the directory argument implies an absolute pathname, then it will be taken to be the desired directory. Otherwise, the directory name will be taken to be relative to the value of the environment variable $WMDIR. If $WMDIR is not defined in the environment, the directory name will be taken to be relative to /dev/screen. Note: if $WMDIR is defined in the environment, it must represent an absolute pathname. If -wmdir is defined in the command line, then the implied directory must have already been created. Otherwise, an error ("Invalid directory") will be generated.
ENVIRONMENT
WMDIR - the window manager directory.
/dev/screen - the default window manager directory.
DIAGNOSTICS
If the windows were destroyed successfully, the program remains silent. If one or more of the windows could not be destroyed because of some error, appropriate message will be printed on standard output. For example:
Invalid directoy
Named window does not exist.
ORIGIN
HP
SEE ALSO
Hewlett-Packard Company — HP-UX Release 8.0: Nov 1990