home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10264 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  758 b 

  1. From: jrm@hpuerca.atl.hp.com (John Morris)
  2. Date: Wed, 9 Sep 1992 12:18:11 GMT
  3. Subject: Re: xwd of a motif widget window
  4. Message-ID: <151270014@hpuerca.atl.hp.com>
  5. Organization: the HP Response Center, Atlanta
  6. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!scd.hp.com!hplextra!hpcc05!hpuerca!jrm
  7. Newsgroups: comp.sys.hp
  8. References: <6043@m1.cs.man.ac.uk>
  9. Lines: 15
  10.  
  11. I think the problem may be that you need a blank between the 
  12. "-id" and the number.  I tried:
  13.  
  14.       $ /usr/bin/X11/xwd -id18874377 >temp
  15.  
  16. and got a "usage" message, but
  17.  
  18.       $ /usr/bin/X11/xwd -id 18874377 >temp 
  19.  
  20. worked.  Why don't you try:
  21.  
  22.         execlp("xwd","xwd","-id ",winid,"-out","out.xwd",(char *)0);
  23.                                     ^^^^^
  24. --------------------
  25. John Morris
  26.