[comp.windows.x] X11 dump from DECstation 3100?

rob@redcloud.ucar.edu (Robert P. Montgomery) (05/16/89)

We have a DECstation 3100 running ULTRIX, and would like to use something
similar to 'xwd' of the Athena widget set to dump a portion of the screen
to an X11 file.

Unfortunately, our xwd always selects the whole root window.  Does anyone
have a way to dump just a portion of the screen (i.e., an application window)
to X11 XWD format?

Thanks in advance,

Rob Montgomery
rob@ncar.ucar.edu
National Center for Atmospheric Research         /    \ /  \   /\
P.O. Box 3000    Boulder, CO  80307-3000        /      \    \ /  \
Machine: (303) 494-5142                        /        \    \    \ ___
Office: (303) 497-1832   rob@ncar.ucar.edu    /      N  C  A  R    \| |

swick@ATHENA.MIT.EDU (Ralph R. Swick) (05/16/89)

> Date: 15 May 89 23:47:25 GMT
> From: ncar!redcloud!rob@husc6.harvard.edu  (Robert P. Montgomery)
>
> We have a DECstation 3100 running ULTRIX,
>...
> Unfortunately, our xwd always selects the whole root window.  Does anyone
> have a way to dump just a portion of the screen

You need a better version of xwd (that doesn't get confused by
the re-parenting window manager in DECwindows).  Alternatively,
if you know the window id of the application window, the -id
option to xwd will produce the correct results.

hbrand@lll-crg.llnl.gov (Hal Brand) (05/17/89)

In article <3233@ncar.ucar.edu> rob@redcloud.ucar.edu.UUCP (Robert P. Montgomery) writes:
>We have a DECstation 3100 running ULTRIX, and would like to use something
>similar to 'xwd' of the Athena widget set to dump a portion of the screen
>to an X11 file.
>
>Unfortunately, our xwd always selects the whole root window.  Does anyone
>have a way to dump just a portion of the screen (i.e., an application window)
>to X11 XWD format?

I had the same problem with my VaxStation 2000 and Ultrix Workstation
software V2.0 (running on Ultrix V3.0)! Somebody in UWS support indicated
that dxwm (or maybe dxsession) "places a window over the whole screen" and
this might interfere with xwd. Sure enough, when I went to uwm and dropped
dxwm and dxsession, xwd acted properly - modulo what appears to be a bug
in the Xqdsg server regarding XYPixmaps. I've given up on dxwm and dxsession
and use uwm. I like uwm much better and it cuts memory usage from 75% to
50% on my 10 Mbyte VS2000!

Hal Brand
brand@hal.llnl.gov