home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15322 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.8 KB  |  43 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!gatech!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: x910832@px4.stfx.ca (Tanya Adamsson)
  4. Subject: Help!
  5. Message-ID: <9208171628.AA28785@pX4.stfx.ca>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Organization: The Internet
  8. Date: Mon, 17 Aug 1992 16:28:46 GMT
  9. Lines: 32
  10.  
  11. Hello
  12.  
  13. I am new to X programming and am having several problems, I'm using X11R4 on 
  14. Unix.
  15.  
  16. problem 1: This one I find very unusual.  My program begins by placing several
  17.        windows and some text (using XDrawImageString) on the screen.  This
  18.        works fine the first time it is run after compiling but on 
  19.        subsequent trials the text does not always appear.  I can't find
  20.        any pattern to when it does and does not appear, however it will
  21.        appear more often (almost always) if I pause the program before the
  22.        XFlush call.  Why is this happening, and what can I do about it?
  23.  
  24. problem 2: I tried to do a screen dump following the directions in the faq's
  25.            ( csh% sleep 10; xwd -root > output.xwd & ) but I got a message that
  26.        xwd was unknown.  Is there either a simple way to fix this or some
  27.        other simple way to do a screen dump?
  28.  
  29. problem 3: This one isn't so much a problem (not yet anyway) as a call for ad
  30.        advice.  The project I'm working on will be using X as the user
  31.        interface for a data base running on another system.  I would like
  32.        to be able to display the results from the data base in a specific
  33.        window.  Right now any information that gets passed goes directly
  34.        to the decterm window from which my program is running.  Is there
  35.        some way to change the default for such output to a specified
  36.        window, and if not can anyone give me any ideas of how to display
  37.        the information?
  38.  
  39. Thank you in advance for your help, I really need it!
  40.  
  41. Tanya Adamsson
  42. X910832@px1.stfx.ca
  43.