		TkWin -- Tk for Windows, version 0.2


TkWin is set up to compile under Borland C version 4.0.  It assumes
that you already have the compiler installed as well as Windows 3.1
with a recent version of DOS and winsock-based networking.  If you don't
have networking, a workaround is described below.

Here is the step-by-step recipe:

	1. Choose an install directory, e.g. C:\TCL.  This is referred to
	as ROOT in the makefile.  unzip the source into the directory:
		c:
		cd \tcl
		pkunzip -d tkwin.zip

	2. The source to tcl.dll is in ROOT\src.  Cd to the
	directory and modify the 
	defines at the beginning of the makefile:
	    Defines for the compiler: LIBPATH and INCLUDEPATH
	    ROOT -- Set it to be the directory you have chosen
	    TMP -- A temporary directory only used to hold  .ZIP files
	    INST_DIR -- Where you want tcl.dll installed (This should
		be your windows directory, your windows system directory,
		or some directory in your PATH.)
	    CC -- Set the -DTCL_LIBRARY parameter
		  Note that you use slashes, not backslashes here.
	If you used c:\tcl as your root and you have BC4 installed in
	in \bc4, and you don't mind the default location of the tcl
	library to be /fedloc/lib/tcl, no changes are needed.
	
	If you don't like /fedloc/lib/tk as the default TK_LIBRARY
	directory, change it in tkInt.h

	Do a `make' to build the .dll or `make install' to build and
	install the library.

	3.  Cd to the wish subdirectory.  Check the defines at the
	beginning of the makefile.  You will need to modify WINLINK
	if Borland C is not installed in c:\bc4.  Also, you may
	want to change the DIST_DIR define; it determines where wish is
	to be installed.  Do a `make' to build wish or `make install'
	to build and install wish.

	4.  Copy the files in ROOT\src\library\tcl to your
	TCL_LIBRARY directory and the files in ROOT\src\library\tk
	into your TK_LIBRARY directory.  As usual, these can either
	be the defaults which were compiled into tcl.dll in step 1 or
	else they can be set as environment variables.  Be sure to
	specify them using slashes as path segment separators.

	5. Use the Program Manager File/New menu entry to make a
	appropriate icons for launching wish applications.

Workaround for no Winsock:

	Currently, TkWin is linked with winsock.dll, and so will not run
unless winsock.dll is loadable.  If you do not have a winsock.dll, there
are versions you can install even if you do not have
a network card.  For example, Trumpet Winsock is included in the file
ftp.ms.uky.edu:/pub/tk-win/dosnet.zip as twsk10a.zip; just unzip it and
put winsock.dll in your Windows directory, your Windows system directory,
or any directory in your PATH.  Please note that Trumpet Winsock is shareware.

See the README file for usage notes.
