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