[comp.windows.x] Extensions

abmg@cathedral.cerc.wvu.wvnet.edu (Aliasghar Babadi) (02/20/90)

Can someone give me more details on the steps required to write 
extentions, and if possible  simple examples which clarify the 
subject. Thanks.

marvin@kelly.UUCP (Kyle Marvin) (02/22/90)

> Can someone give me more details on the steps required to write
> extentions, and if possible  simple examples which clarify the
> subject.

Extensions come in two flavors, server and client (and most commonly,
combinations of both).  The interfaces for writing server extensions
are defined in the following locations under the X source tree:

R3: doc/Server/ext.doc
R4: mit/doc/Server/ddx.tbl.ms

A good description of the Xlib hooks for adding client-side extensions
can be found in Appendix C of "The X Window System: C Library and Protocol
Reference" ala Scheifler, Gettys, and Newman ("The Red Book").

The following directories contain examples of both server and client
extensions:

R3: extensions
R4: mit/extensions

Kyle Marvin
Visual Information Technologies, Inc. (VITec)
UUCP: uunet!convex!vitsun!marvin