home *** CD-ROM | disk | FTP | other *** search
- From: jrm@hpuerca.atl.hp.com (John Morris)
- Date: Wed, 9 Sep 1992 12:18:11 GMT
- Subject: Re: xwd of a motif widget window
- Message-ID: <151270014@hpuerca.atl.hp.com>
- Organization: the HP Response Center, Atlanta
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!scd.hp.com!hplextra!hpcc05!hpuerca!jrm
- Newsgroups: comp.sys.hp
- References: <6043@m1.cs.man.ac.uk>
- Lines: 15
-
- I think the problem may be that you need a blank between the
- "-id" and the number. I tried:
-
- $ /usr/bin/X11/xwd -id18874377 >temp
-
- and got a "usage" message, but
-
- $ /usr/bin/X11/xwd -id 18874377 >temp
-
- worked. Why don't you try:
-
- execlp("xwd","xwd","-id ",winid,"-out","out.xwd",(char *)0);
- ^^^^^
- --------------------
- John Morris
-