home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14544 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!usc!sdd.hp.com!mips!apple!sti.com!dgreen
  3. From: dgreen@sti.com (Dan R. Greening)
  4. Subject: Re: Writing Server Extensions (Documentation?)
  5. Message-ID: <Bs4vFo.E16@sti.com>
  6. Keywords: Extension, Server
  7. Sender: usenet@sti.com
  8. Nntp-Posting-Host: smurf
  9. Organization: Software Transformation, Inc.
  10. References: <39908@gremlin.nrtc.northrop.com>
  11. Date: Wed, 29 Jul 1992 04:35:47 GMT
  12. Lines: 26
  13.  
  14. dkb@calvin.nrtc.northrop.com (David K. Bainbridge) writes:
  15.  
  16. >Are there any publicly available documents on how to write X server
  17. >extensions?
  18.  
  19. There is Appendix C of Scheifler and Gettys book "X Window System" 3rd
  20. edition.
  21.  
  22. I've found that section pretty poor, especially compared to the rest
  23. of the book, which is an excellent reference.  Unfortunately, other
  24. than the source, it's pretty much all there is.
  25.  
  26. So, guess what I suggest: check out the mit/extensions directory for
  27. help.  Particularly good files to look at: extutil.h and extutil.c.
  28. That code actually exposes an inefficiency in Xlib: it duplicates the
  29. searching that goes on when you look for a display extension record.
  30.  
  31. You might ask why Xlib even provides for display extension records, if
  32. they can't be efficiently used.  I did, and recently submitted a bug
  33. report for it.
  34.  
  35. Good Luck.
  36. -- 
  37. ____
  38. \  /Dan Greening    Software Transformation   1601 Saratoga-Sunnyvale Rd, #100
  39.  \/dgreen@sti.com   (408) 973-8081 x313       Cupertino, CA 95014
  40.