# Book Examples

The Main documentation for the X Window system comes from O'Reilly & Associates in about nine or ten volumes. The most useful for OPEN LOOK users are:

    	Volume 1: XLib Programming Manual
    	Volume 2: XLib Reference Manual
    	Volume 3OL: User's Guide, OPEN LOOK (unpublished)
    	Volume 7A: XView Programmer's Manual [Dan Heller]
    	    [make sure you get the edition for XView 3.2]
    	Volume 7B: XView Reference Manual [Ed. Thomas Van Raalte]

The programming examples from some of the O'Reilly books are online here:

- ora-vol1xlib
- ora-vol3
- ora-vol4athena
- ora-vol4motif
- ora-vol6motif

Note that you also have the full text of Volumes 3, 7A, and 7B for your own personal use on this CD-ROM.

Volume 7A (Programming) is a detailed exposition of writing XView programs. Volume 7B (Reference) is an expanded version of the Attribute Summary from the previous edition of the XView Programming Manual, together with other reference information, so that in practice the two books work well together.

Nabajyoti Brkakati gives an excellent introduction to X and to OLIT programming, as well as setting up and using X and OpenWindows, in: `Unix[R] Desktop Guide to OPEN LOOK' SAMS, 1992 ISBN 0-672-30023-0 You can get the examples from this book as ftp://export.lcs.mit.edu/contrib/naba-olguide-examples.tar.Z; they are online in this CD.

Also about using OLIT, and Xt in particular: The X Window System: Programming and Applications with Xt, OPEN LOOK Edition, Doug Young and John Pew, Prentice Hall, 1992, ISBN 0-13-982992-X (There are also HP Widgets and Motif versions of this book.) The example source code in this book can be obtained by ftp from ftp://export.lcs.mit.edu/contrib/young.pew.olit.Z, but it too is online here.

David Miller describes programming with OLIT in his `An OPEN LOOK At Unix' (M&T press).

There is an introduction to XView in `Writing Applications For Sun Systems', Vol 1, `A Guide for Macintosh(R) Programmers' (Sun Microsystems, pub. Addison Wesley)

Another recent XView book is `Practical XView Programming', Kenneth W. Bibb and Larry Wake, John Wiley & Sons, Inc., 1993, ISBN 0-471-57460-0 You can get the examples from this book as ftp://export.lcs.mit.edu/contrib/xvprac.tar.Z