1.7 Obtaining the Example Programs
The example programs in this book are available electronically in a number of ways: by FTP, FTPMAIL, BITFTP,
and UUCP. The cheapest, fastest, and easiest ways are listed first. If you read from the top down, the first one that
works for you is probably the best. Use FTP if you are directly on the Internet. Use FTPMAIL if you are not on the
Internet but can send and receive electronic mail to internet sites (this includes CompuServe users). Use BITFTP if
you send electronic mail via BITNET. Use UUCP if none of the above works.
Versions of the example programs for both Motif 1.2 and Motif 1.1 are available electronically. If you want the Motif
1.2 version, use the filename examples12.tar.Z, as shown in the sample sessions below. The filename for the Motif 1.1
version is examples11.tar.Z.
1.7.1 FTP
To use FTP, you need a machine with direct access to the Internet. A sample session is shown, with what you should
type in boldface.
% ftp ftp.uu.net
Connected to ftp.uu.net.
220 FTP server (Version 6.21 Tue Mar 10 22:09:55 EST 1992) ready.
Name (ftp.uu.net:paula): anonymous
331 Guest login ok, send domain style e−mail address as password.
Password: paula@ora.com (use your user name and host here)
230 Guest login ok, access restrictions apply.
ftp> cd /published/oreilly/xbook/motif
250 CWD command successful.
ftp> binary (Very important! You must specify binary transfer for compressed files.)
200 Type set to I.
ftp> get examples12.tar.Z
200 PORT command successful. ...