Motif Tutorials
Marshall Brain

This directory contains tutorials that will help you to learn how to write windowed applications using Motif. They start at the very bottom and teach you the essentials of Motif programming. The following is an index of the material:

These tutorials were originally created to help undegraduates at NCSU get started writing Motif applications as quickly and easily as possible. Not long after their release in October of 1990, I signed a contract to write an introductory book on Motif for Digital Press. It should be released in early 1992.

A quick note to those of you not at NCSU who are reading these tutorials: You will see the word "Eos" quite a bit. Eos is the name of our workstation system. It is similar in concept to MIT's Athena system. Some of the things I mention may be specific to the Eos environment, and in those cases I will add a parenthetical for everyone else. At the time these tutorials are being written, we are using Ultrix 4.2 (Rev. 96) on DEC 2100 DEC- stations, with X version X11R4, Motif version 1.1. They were compiled using the MIPS C compiler, version 2.01.

My sincere thanks to Forest Houston, who cleaned up the tutorials for this release. He has modified the code slightly to make it compliant with version 1.1 of Motif, and has also corrected problems in the text.

Direct any questions or comments to:

	Marshall Brain
	brain@eos.ncsu.edu, brain@adm.csc.ncsu.edu
	NCSU Computer Science Department
	Box 8206
	Raleigh, NC 27695-8206
	  -or-
	Rt. 3, Box 207-A
	Zebulon, NC 27597
The following copyright notice applies to this file, and all code and text in the above listed files:

 Copyright 1991 by Marshall Brain
 All Rights Reserved

 This text and code is based on the OSF/Motif widget set and the X Window 
 System.

 Permission to use, copy, and distribute this text and software for
 non-commercial purposes and without fee is hereby granted, provided 
 1) that this notice appears in all copies, 2) that
 the package of tutorials and code is copied in its entirety, and
 3) that no modifications are made to the text and code. Permission
 to extract the code from these tutorials and use it as you see
 fit is granted provided that this notice accompanies it. 

 The author disclaims all warranties with regard to the software or text, 
 including all implied warranties of merchantability and fitness.

 In no event shall the author be liable for any special,
 indirect or cosequential damages or any damages whatsoever resulting from
 loss of use, data or profits, whether in an action of contract, negligence
 or other tortious action, arising out of or in connection with the use
 or performance of this software or text.


tpl@eng.cam.ac.uk