hxwd(1) Lucent Technologies hxwd(1)
May 25 1997
NAME
hxwd - huge x window dumper.
SYNOPSIS
hxwd [-w window_id | -s delay] [-f filename] [-x x_delay] [-g format]
[-n] [-v]
DESCRIPTION
hxwd is a program to dump a huge xwindow, that is, a window greater
than one screen. however, it also works for smaller windows, i.e.,
those smaller than a screen. At beginning, hxwd raises the target
window and move it to the (0,0) of the root window or virtual root
window if it is under a virtual window manangement. If the target
window is a huge window, hxwd will scan it screen by screen. This is
to make the target part exposed. If it is a small one, hxwd will only
scan once. During the scanning, hxwd will grab the mouse and keyboard
input to avoid interfering. This is originally used to snapshot the
Veritas Volumn Manager GUI window which has no built-in print option
and sometimes bigger than a screen.
OPTIONS
-w window_id
This option specifies the window id of the target window. User
can use xwininfo(1) to get it. Without this option, hxwd will
ask the user to select the window by mouse. Note: xwininfo(1)
is not working well under tvtwm(1).
-s delay
The number of seconds before which the hxwd will be
responsible for the mouse clicking. This gives time to the
user to switch to another screen (if under virtual window
manager) after he/she typed the command. The default is 0.
-x x_delay
Because the hxwd will expose the part of the window to be
shot, this option gives time (unit: second) to the X server to
map the content. Default is 1. For slow X server, this should
be set longer.
-f filename
The image will be saved in filename. Default is "./junk".
-g format
Currently, it only supports "xwd" and "xpm" formats. Default
"xwd".
-n This will disable the compensition of wrapper frame of window
manager. This should be seldom used. But if the output is
messed up, applying this option may improve it.
- 1 - Formatted: December 23, 2025
hxwd(1) Lucent Technologies hxwd(1)
May 25 1997
-v This gives verbose output for debugging.
SEE ALSO
xwininfo(1), xwd(1)
BUGS
hxwd is tested on olwm(1) (i.e. openwindows), olvwm(1), twm(1),
tvtwm(1), ctwm(1) and fvwm95(1). You may need start hxwd in the first
screen except for olvwm(1).
AUTHORS
version 1.0 Tianhua Han, Lucent Technologies, than@lucent.com.
- 2 - Formatted: December 23, 2025