-A- Tcl and Tk

From: -XI- Where can I get these packages?


>From: ouster@cs.Berkeley.EDU (John Ousterhout)
>Newsgroups: comp.lang.tcl
>Subject: Obtaining Tcl/Tk sources

For people new to the Tcl/Tk community, here is information on how
to obtain Tcl and Tk sources.  The information below describes what
I distribute; other information is available from other machines
also, such as ftp.aud.alcatel.com.

The sources and documentation for the Tcl command
language library, for the Tk toolkit, and for a few Tcl-based
applications, are in the public FTP area on ftp.smli.com.
All of these files are in the "/pub/tcl" subdirectory of the FTP area.
Here is a catalog of what's available.  Most of the files are
compressed tar files ("xxx.tar.Z").  There is some overlap
between the contents of the various packages.


tk4.0.tar.Z -         	This is the newest stable release of the Tk 
			toolkit, released in July 1995.  It includes
			the sources or the Tk library and the "wish"
			windowing shell, plus reference manual entries
			and a number of demonstration scripts.

tk4.0.tar.gz -		Same as tk4.0.tar.Z except compressed with gzip.

tcl7.4.tar.Z -          This is the newest stable release of the Tcl
                        scripting language, released in July 1995.  It
                        includes the sources for the Tcl library and the
                        "tclsh" application, plus reference manual entries.

tcl7.4.tar.gz - 	Same as tcl7.4.tar.Z except compressed with gzip.

mx.tar.Z -		Sources and documentation for a mouse-based text
			editor (mx) and terminal emulator (tx) based on
			Tcl.  This is a very old release:  it uses an old
			version of Tcl (which is included) and doesn't
			even use Tk;  it uses an ancient toolkit called
			"Sx".  These tools will eventually be replaced
			with new tools based on Tk and the newest Tcl.

mx-2.5.tar.Z - 		Newer version of mx (see above) that uses the
			standard X selection mechanism rather than the
			home-grown mechanism used by previous versions.
			Version 2.5 is not backwards compatible with
			previous versions (you can't cut and paste between
			the two). Still uses sx and an old version of
			Tcl (both of which are included).

engManual.tar.Z -       Compressed tar file for a directory containing
                        the Tcl/Tk Engineering Manual, which describes
                        the coding and testing conventions used to develop
                        Tcl and Tk.  I strongly encourage other Tcl/Tk
                        developers to follow these conventions, particularly
                        if you want to submit code for possible inclusion
                        into official releases.

book.examples.Z         Compressed file containing ASCII text for nearly all
                        of the examples from the book "Tcl and the Tk Toolkit".

tclUsenix90.ps -	Postscript for a paper on Tcl that appeared in the
			Winter 1990 USENIX Conference.

tkUsenix91.ps -		Postscript for a paper on Tk that appeared in the
			Winter 1991 USENIX Conference.

tkF10.ps -		Postscript for Figure 10 of the Tk paper.

tut.tar.Z -		A collection of materials from a full-day tutorial
			on Tcl and Tk.  Includes viewgraphs from five one-hour
			talks plus a sample widget.

In addition, there may be older releases of some or all of the above
files;  look for files with earlier release numbers.


To retrieve any or all of these packages, use anonymous FTP to
ftp.smli.com.  Use user "anonymous"; when asked for a password,
type your email address.  Then
retrieve the relevant file(s) with the commands like the following:
		type image (try "type binary" if this command is rejected)
		cd pub/tcl
		get tk4.0.tar.Z

Be sure to retrieve files in image mode (type "type image" to FTP)
in order to make sure that you end up with an uncorrupted file.

Any file with a .Z extension is a compressed file, which means you must
use the "uncompress" program to get back a normal file.  For example, for
the file tk4.0.tar.Z, you should type

	uncompress tk4.0.tar.Z

once you've retrieved the file.  This will produce a file named "tk4.0.tar".
Then you will need to use tar to extract the members.  Typically one
would use a command such as:

	tar xv tk4.0.tar

to extract the pieces.

Any file with a .gz extension is a file compressed with gzip, the GNU
portable compression standard.  To get a copy, ftp to prep.ai.mit.edu and
look in pub/gnu.  For example, to uncompress tk4.0.tar.gz, type

    gunzip tk4.0.tar.gz

once you've retrieved the file.  This will produce a file named "tk4.0.tar".

Each of the releases has a README file in the top-level directory that
describes how to compile the release, where to find documentation, etc.

There is also a collection of Web pages on Tcl and Tk at 
<URL:http://www.sunlabs.com/research/tcl/.

Questions or problems about any of these distributions should be directed
to <URL:news:comp.lang.tcl>.

Parent document is top of "comp.lang.tcl Frequently Asked Questions (August 31, 1995) (3/5)"
Previous document is "-XI- Where can I get these packages?"
Next document is "-B- The Tcl/Tk User Contributions Archive"