# README for floppy Version 1.3 July 17, 1995
# Examples from
# "Practical Programming in Tcl and Tk"
# by Brent Welch, welch@parc.xerox.com
# published by Prentice Hall
# ISBN 0-13-182007-9
# This file is available via FTP:
# ftp://mercury.prenhall.com/pub/software/welch/tkbook.tar

To get started:

wish -f Setup.tcl

This fixes up a few of the scripts that start with
#!/usr/local/bin/wish
In addition, the browse0.tcl and browse1.tcl files embed
the pathname of the directory with all the scripts.
The Setup script lets you set that, too.

Once you have done that, then you should be able to browse the examples with:

./browse1.tcl &

Warning.  These examples are designed to work with Tk 4.0.
If you have Tk 3.6 or earlier, you may run into some errors.

Making the C programs:
You will have to edit the Makefile to make sure the
libraries and include paths are correct for your system.
If you do not have gcc, then you will need an ANSI C compiler.

CHANGE LOG

1.3 7/17/95
Spiffed up browse1.tcl a little bit.  Added a Next button that
cycles through the examples in alphabetical order.  Added a
Clean button to the eval server that cleans up any widgets that
are created as a side-effect of trying out the examples.  Many of
the example files have one or two commands added to make it easier
to try out the example more than once (e.g., by hitting the Load button).
Added colormodel.tcl that provided emulation of the tk colormodel command.

1.2 3/13/95
filecomplete.tcl updated to match the book version,
which fixes a bug with ../ selection.  The code in the
book is correct, but the floppy that comes with the book
has older code.  In fileselectOK, change
set path $fileselect(dir)/$fileselect(path)
to
set path [string trimright $fileselect(dir)/$fileselect(path) /]

