home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / hp / 14473 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!micro-heart-of-gold.mit.edu!news.media.mit.edu!floyd
  3. From: floyd@media.mit.edu (Bob Sabiston)
  4. Subject: Using starbase in X
  5. Message-ID: <1993Jan3.225641.22767@news.media.mit.edu>
  6. Sender: news@news.media.mit.edu (USENET News System)
  7. Organization: MIT Media Laboratory
  8. Date: Sun, 3 Jan 1993 22:56:41 GMT
  9. Lines: 19
  10.  
  11. I have an existing starbase program that I would like to use in
  12. X windows.  Right now I use it outside of X, by using gopen() on
  13. the /dev/crt device.  I have tried creating X windows with xwcreate,
  14. and then used the window name as the device.  This works, sort of.
  15.  
  16. The problem is that about half my graphics show up in the window and
  17. then the computer hangs.  I have a theory that the program is hanging
  18. at the points in my program where I access the frame buffer directly
  19. (using the gescape call R_LOCK_DEVICE).  I have to access the frame buffer
  20. in this way to draw icons, and to draw antialiased fonts and lines.
  21.  
  22. Does anyone know if the R_LOCK_DEVICE gescape can be used in programs
  23. that run in Xwindows?  If so, anybody have any idea what could cause the
  24. program to hang my machine?
  25.  
  26. thanks,
  27. bob s.
  28.  
  29.  
  30.