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