home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12850 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!gatech!news.ans.net!cmcl2!cmcl2!mcclb0.med.nyu.edu!siegel
  3. From: siegel@mcclb0.med.nyu.edu
  4. Subject: dir/reg
  5. Message-ID: <1992Aug25.124757.1@mcclb0.med.nyu.edu>
  6. Summary: Colormap syncing from SGI to MAC...HOW?
  7. Lines: 23
  8. Sender: notes@cmcl2.nyu.edu (Notes Person)
  9. Nntp-Posting-Host: mcclb0.med.nyu.edu
  10. Reply-To: chris@mchip01.med.nyu.edu
  11. Organization: NYU Medical Center, New York, NY 10016, USA
  12. Date: Tue, 25 Aug 1992 17:47:57 GMT
  13. Lines: 23
  14.  
  15. Does anyone have experience syncing colors between an SGI and a MAC
  16. under X (or 2 other systems with disparate colormaps)? I have tried:
  17.     XAllocColorCells(MACdpy,MACcmap,True,plane_masks,8,pixels,256)
  18. ; /* where MACcmap = DefaultColormap(MACdpy,MACscreen); */
  19.     XQueryColors(SGIdpy,SGIcmap,sgicolors,vinfo->colormap_size);
  20.     XStoreColors(MACdpy,MACcmap,sgicolors,vinfo->colormap_size);
  21.  
  22. but I get:
  23.     X Error of failed request: BadAccess (attempt to access
  24. private resource denied)
  25.     Major opcode of failed request:  89 (X_StoreColors)
  26.     Serial number of failed request:  11
  27.     Current serial number in output stream:  12
  28.  
  29. If anyone has any information to help me out, I would greatly
  30. appreciate it. Also, any ideas on executing RGB-mode pixmap copies?
  31.  
  32. Thanks,
  33. Chris Siegel
  34. NYU School of Medicine
  35. chris@mchip01.med.nyu.edu
  36.  
  37.  
  38.