From: lvirden@cas.org (Larry W. Virden)
Subject: comp.lang.tcl Frequently Asked Questions (3/3)
	 (Last updated: August 24, 1992)
Followup-To: comp.lang.tcl
Summary: A regular posting of the comp.lang.tcl Frequently Asked Questions 
	(FAQ) and their answers.  This is the first of three parts.
Originator: lwv26@lwv26aws
Keywords: tcl, expect, extended tcl, wish, tk
Supersedes: <tcl.p3_713099496@cas.org>
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Chemical Abstracts Service
Date: Tue, 8 Sep 1992 11:56:13 GMT
Expires: Thu, 22 Oct 1992 11:55:34 GMT


Archive-name: tcl-faq/part3
Version: 2.3
Last-modified: August 24, 1992

Index of questions:

9. Where can I get these packages?
	a. Retrieving Tcl and Tk
	b. Accessing the Tcl/Tk User Contributions Archive
	c. Expect available via e-mail.
	d. tcl-mode.el

10. What are some examples of applications using Tcl and/or Tk?
	o Alpha
	o arTCLs
	o BOS
	o browse.tcl
	o BYO
	o calc.tk
	o dostcl
	o Expect
	o expecTerm
	o Extended Tcl 6.4b
	o fn and ForumNet
	o hp-tcl-cdplay
	o Libsearch
	o Modules
	o MS-DOS Tcl V6.2
	o Mx
	o Point
	o smaillog.tcl
	o tcl61.cpt.bin
	o Tcl 6.4
	o tclbot
	o tcltt
	o tickle
	o Tk 2.3
	o tk WWW interface
	o tupact.tcl
	o Tx 
	o unix.tk
	o wafe
	o Xdig
	o xf

11. Since Tcl/Tk appear to be extensible, are there any common extensions?
	o Calc_Object
	o deck.tk
	o graph
	o lisp2wish
	o Mxedit
	o parseargs.tcl
	o Photo widget
	o Pixmap support
	o showproc.tcl
	o sybtcl
	o tclRawTCP
	o tclTCP
	o tcl_curses
	o tcl_debugger
	o tcl_snmp
	o tcl_streams
	o tclsockets
	o tclvogle 
	o tclX dynamic library patches
	o tclX / Tk merge
	o tcpConnect
	o tk Bell and Cutbuffer patches
	o tk-mod.shar
	o tkText 1.3
	o tkText 2.0
	o wmstuff

End of FAQ Index

--------------------------------------
Subject: -9- Where can I get these packages?

The "home site" for Tcl on the Internet is sprite.berkeley.edu.
Sprite is an experimental research machine whose IP servers 
occasionally flake out.  If you find that sprite is refusing 
connections, send mail to "root@sprite.berkeley.edu", wait a few 
hours, and try again.

Tcl and Extended Tcl were posted to comp.sources.misc, appearing
November 14th, 1991, and can be found at most comp.sources.misc
archive sites in the tcl and tclx directories.

a. Tcl	- available on sprite.berkeley.edu
b. Tk	- available on sprite.berkeley.edu
c. Extended Tcl - available on sprite.berkeley.edu and barkley.berkeley.edu


From: ouster@sprite.Berkeley.EDU (John Ousterhout)
Newsgroups: comp.lang.tcl
Subject: Obtaining Tcl/Tk sources
Date: 20 Dec 91 17:00:41 GMT

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 barkley.berkeley.edu

--------------------------------------
Subject: -9a- Retrieving Tcl and Tk

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 sprite.berkeley.edu.
All of these files are in the "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.

tcl/tk2.3.tar.Z -	This is the latest release of the Tk toolkit, released
			in August 1992.  It includes a complete copy of the
			Tcl 6.4 release (the version of Tcl with which it is
			compatible) plus a simple windowing shell called
			"wish".  If you retrieve this file you don't need to
			retrieve Tcl separately.

tk2.3.patch.Z -         A patch file to upgrade from the 2.2 release of Tk
                        to 2.3.  Invoke patch in the top-level Tk directory
                        with the "-p" switch and an uncompressed version of
                        this file, e.g. "patch -p < tk2.2.patch".

tcl/tcl6.4.tar.Z -	This is the newest release of the Tcl library.
			It became available in August 1992.  This package
			includes only the Tcl library and its documentation,
			plus a simple main program for testing.

tcl/tcl6.4.patch.Z -	A patch file to upgrade from the 6.2 release of Tcl
			to 6.3.  Invoke patch in the top-level Tcl directory
			with the "-p" switch and an uncompressed version of
			this file, e.g. "patch -p tcl6.3.patch".

tcl/tclX6.4b.tar.Z -	Extended Tcl (or NeoSoft Tcl), created by Mark
			Diekhans and Karl Lehenbauer, which adds a number
			of useful facilities to the base Tcl release.
			Among the things in Extended Tcl are a Tcl shell,
			many new commands for things like UNIX kernel
			call access and math library routines, and an
			on-line help facility.  This file is based on Tcl
			6.2 and also works with Tk 1.4.  It should work with 
			Tcl 6.4 and Tk 2.3 also.

tcl/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.

tcl/tclUsenix90.ps -	Postscript for a paper on Tcl that appeared in the
			Winter 1990 USENIX Conference.  This paper is also
			included in the Tcl and Tk distributions.

tcl/tkUsenix91.ps -	Postscript for a paper on Tk that appeared in the
			Winter 1991 USENIX Conference.  This paper is also
			included in the Tk distribution.

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

talk1.ps -		Postscript for viewgraphs from first of five talks
			in the Tcl tutorial at the 1992 X Conference (the
			same talk was also given at the 1992 USENIX Winter
			Conference).  This talk gives an overview of Tcl
			and Tk.

talk2.ps -		Postscript for viewgraphs from second of five talks
			in the Tcl tutorial at the 1992 X Conference.  This
			talk describes how to write scripts in the Tcl
			language.

talk3.ps -		Postscript for viewgraphs from third of five talks
			in the Tcl tutorial at the 1992 X Conference.  This
			talk describes how to program the Tk toolkit using
			Tcl scripts.

talk4.ps -		Postscript for viewgraphs from fourth of five talks
			in the Tcl tutorial at the 1992 X Conference.  This
			talk describes how to write new Tcl-based applications
			in C.

talk5.ps -		Postscript for viewgraphs from last of five talks
			in the Tcl tutorial at the 1992 X Conference.  This
			talk describes how to write implement widgets in C
			using the Tk library.  This talk uses a simple
			"square" widget as an example;	the code for the
			widget is in tkSquare.c.

tkSquare.c -		Sample code for use in conjunction with talk5.ps.

tcl/tcl.archive -	An archive of messages posted to the Tcl mailing
			list.  Now that there is a comp.lang.tcl newsgroup
			the mailing list is defunct so this file is becoming
			out of date.

To retrieve any or all of these packages, use anonymous FTP to
sprite.berkeley.edu (Internet address 128.32.150.27).  Use user
"anonymous"; when asked for a password, type your login name.  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 tcl6.4.tar.Z
		get tk2.3.tar.Z
		get mx.tar.Z

What you'll get in most cases are compressed tar files;	 to get back the
original directory hierarchies, type commands like the following for
each file you retrieved:
		uncompress tk2.3.tar.Z
		tar xf tk2.3.tar
This will create a directory named tk2.3 with all the source files and
documentation for that release.  There will be a README file in the
tk2.3 subdirectory that tells what to do next.

If you don't have access to Sprite, you can also retrieve some or
all of the above files from other FTP repositories.  Here is a
sampler of machines that store some or all of the Tcl/Tk information,
plus the directories in which to check:

ftp.uu.net:		languages/tcl/*
export.lcs.mit.edu:	contrib/tk*
barkley.berkeley.edu:	tcl/*

The barkley FTP area also contains a number of extensions and contributed
Tcl scripts.

If you cannot use FTP at all, there is a service called "ftpmail"
available from gatekeeper.dec.com:  you can send e-mail to this
machine and it will use FTP to retrieve files for you and send you
the files back again via e-mail.  To find out more about the ftpmail
service, send a message to "ftpmail@gatekeeper.dec.com" whose body
consists of the single line "help".

There is also a network newsgroup, comp.lang.tcl, for the exchange of
information about Tcl and Tk and related applications.

Good luck!  Although I can't promise a lot of direct support, I'm very
interested in getting bug reports and suggestions for improvement.
Serious bugs are likely to get fixed fairly quickly, and I expect to
produce a series of new releases that incorporate new features and
minor bug fixes.
					-John Ousterhout-
					ouster@sprite.berkeley.edu

--------------------------------------
Subject: -9b- Accessing the Tcl/Tk User Contributions Archive

Contributions to the Tcl/Tk Contrib Archive are most welcome --
please upload them to:

	barkley.berkeley.edu:/incoming	[128.32.142.237]

send the archive maintainer <tcl-archive@barkley.berkeley.edu> a note stating
the names of the files you uploaded and a brief description of the whole
thing.

WARNING!  The archive maintainer will NOT be automatically archiving anything
posted to comp.lang.tcl or previously to the mailing list.  So if you want
your nifty porting instructions for getting Tcl up on your Seiko wrist watch
or your pen computer to be saved for others benefit, be sure to ftp them into
the archive.

-------------------------------
Subject: -9c- Expect available via e-mail.

Besides being available via ftp, expect can also be received by email 
by sending the message "send pub/expect/expect.shar.Z" to 
library@cme.nist.gov .

-------------------------------
Subject: -9d- tcl-mode.el

"Sean Levy" (snl+@cs.cmu.edu) has hacked a version of C mode into
a tcl-mode.  He mentions that you must use semi-colons at the end
of each statement to get indentation to work right, but he found that
easier than doing without.

The code is on sambar.ndim.edrc.cmu.edu (128.2.214.236) under
/afs/cs/user/snl/public/tcl-mode.el.Z (don't forget binary mode).

------------------------------
Subject: -10- What are some examples of applications using Tcl and Tk?

What: Alpha 5.0
Where: cs.rice.edu
Description: Macintosh System 7.0 shareware ($25) Tcl programmable editor.
Contact: pete@cs.rice.edu

What: arTCLs (artcls.tar.Z)
Where: barkley.berkeley.edu
Description: a Wish-based USENET news reader
Contact: mh@awds.imsd.contel.com (Mike Hoegeman)

What: BOS (bos-1.31.tar.Z)
Where: barkley.berkeley.edu,monch.edrc.cmu.edu
Description: The Basic Object System; SELF-like objects implemented in TCL.
	This is also an extension to Tcl.
Contact:  snl+bos-requests@cmu.edu (Admin. requests for BOS mailing list)
	snl+box@cmu.edu (BOS mailing list)

What: browse.tcl
Where: alt.sources
Description: Directory browser w/Tcl 
Contact: peter@sugar.hackercorp.com (Peter da Silva)

What: BYO (byo_tk2.1_v0.7.tar.Z, byo_v0.7_patch1)
Where: barkley.berkeley.edu
Description: A graphical User Interface Builder for Wish
Contact: byo@comp.vuw.ac.nz (BYO Development Team)

What: calc.tk
Where: barkley.berkeley.edu
Description: a simple calculator.
Contact: david@twg.com (David Herron)

What: dostcl (dostcl60.tar.Z/dostcl.zoo)
Where: barkley.berkeley.edu
Description: Experimental MS-DOS Tcl 6.0a port
Contact: "Karl Lehenbauer" <karl@neosoft.com>

What: MS-DOS Tcl V6.2 (tcl62.dos.tar)
Where: barkley.berkeley.edu,cajal.uoregon.edu
Description: stable port of Tcl 6.2, and extra libraries, ported to MS-DOS
Contact: dos-tcl@cajal.uoregon.edu (John Martin)

What: Expect
Where: ftp.cme.nist.gov 
Description: a scripting language to talk to interactive programs like ftp,
	telnet, fsck, and others that cannot be automated from a shell script
Contact: libes@cme.nist.gov (Don Libes)

What: expecTerm
Where: only available to alpha users at this time
Description: expect with terminal emulation
Contact: matheus@gte.com (Christopher J. Matheus)

What: Extended Tcl (tclX6.4b.tar.Z)
Where: barkley.berkeley.edu, sprite.berkeley.edu
Description: a very useful package of extension for Tcl, compatible with Tcl 6.4
	and Tk 2.3.
Contacts: markd@grizzly.com (Mark Diekhans) and
	karl@neosoft.com (Karl Lehenbauer) 

What: fn and ForumNet
Where: f.ms.uky.edu
Description: ForumNet - teleconferencing system, 
	fn - client to access ForumNet
Contact: sean@ms.uky.edu (Sean Casey)

What: hp-tcl-cdplay.tar.Z
Where: barkley.berkeley.edu
Description: a Tk interface to the HP CD-ROM player
Contact: "Mike Hoegeman" <mh@awds.imsd.contel.com>

What: Libsearch
Where: Available only on request to Contact.
Description: Interface to Internet library databases.
Contact: "Terrence Brannon" brannon@jove.cs.caltech.edu

What: Modules
Where: ftp.cme.nist.gov
Description: a dynamic user environment customization package
Contact: "John L. Furlani" <john.furlani@East.Sun.COM>

What: Mx
Where: sprite.berkeley.edu
Description: a old Tcl/Sx based text editor
Contact: "John Ousterhout" <ouster@sprite.berkeley.edu>

What: Point
Where: unmvax.cs.unm.edu as pub/Point/point1.3-tar.Z
Description: a Tk based text editor
Contact: "Charlie Crowley" <crowley@unmvax.cs.unm.edu>

What: smaillog.tcl
Where: alt.sources
Description: email activity report for smail 2.5
Contact: karl@NeoSoft.com (Karl Lehenbauer)

What: tcl61.cpt.bin
Where: barkley.berkeley.edu
Description: Tcl6.1 Mac port (ThinkC 5.0.1)
Contact: parag@netcom.netcom.com (Parag Patel)

What: Tcl 6.4
Where: sprite.berkeley.edu
Description: the complete base package for Tcl
Contact: "John Ousterhout" <ouster@sprite.berkeley.edu>

What: tclbot
Where: belch.berkeley.edu as
Description: MUD robot for Tcl programmers
Contact: "Rusty C. Wright" <rusty@garnet.berkeley.edu.>

What: tcltt
Where: ftp.white.toronto.edu:/pub/muds/tcltt
Description: Tcl TinyTalk - 
Contact: "Chris Siebenmann" <cks@white.toronto.edu.>

What: tickle 3.1v1
Where: ftp.msen.com:pub/vendor/ice
Description: a Macintosh utility for file conversions - handles binhex,
		uudecode, compress, tar, MacBinary, Apple Single/Double, etc.
Contact: tickle@ice.com 

What: Tk 2.3
Where: sprite.berkeley.edu
Description: the complete base package for Tcl
Contact: "John Ousterhout" <ouster@sprite.berkeley.edu>

What: tk WWW interface (tkWWW-0.3.tar.Z)
Where: info.cern.ch,barkley.berkeley.edu,export.lcs.mit.edu:/contrib/tkWWW-0.3.tar.Z
Description: A Tk World Wide Web (WWW) browser.
Contact: tk-www-request@athena.mit.edu (administration of mailing list), 
	tk-www@athena.mit.edu (WWW Tk Browser Discussion List)

What: tupact.tcl
Where: alt.sources
Description: 9X faster C-news active file "minimum article" updater
Contact: karl@NeoSoft.com (Karl Lehenbauer)

What: Tx
Where: sprite.berkeley.edu
Description: an old TCL/Sx based terminal emulator
Contact: "John Ousterhout" <ouster@sprite.berkeley.edu>

What: unix.tk
Where: sprite.berkeley.edu - in the TCL mailing list archive file
Description: a Unix Tk browser
Contact: "Brent Welch" <welch@parc.xerox.com>

What: wafe
Where: ftp.wu-wien.ac.at:pub/src/X11/wafe-0.92.tar.Z
Description: Symbolic interface to Athena Widgets.
Contact: wafe@wu-wien.ac.at

What: Xdig (Xdig.shar)
Where: barkley.berkeley.edu
Description: A Wish-based interface to the Domain Internet Gopher (dig)
Contact: "Dave Collier-Brown" <davecb@nexus.yorku.ca>

What: xf (xf1.4.tar.Z)
Where: barkley.berkeley.edu
Description: user interface builder for wish/Tk 2.3
Contact: "Sven Delmas" <garfield@cs.tu-berlin.de>

What: 
Where:
Description:
Contact:

------------------------------
Subject: -11- Since Tcl/Tk appear to be extensible, are there any 
		common extensions?

What: Calc_Object
Where: ??
Description: A Tcl object which talks to bc via expect.
Contact: "Terrence Brannon" (tb06@pl122a.eecs.lehigh.edu)

What: deck.tk	
Where: barkley.berkeley.edu
Description: A simple implementation of InterViews "deck" widget
Contact: vanandel@rsf.atd.ucar.edu (Joe VanAndel)

What: graph (graph-1.0.tar.Z)
Where: barkley.berkeley.edu 
Description: XY graphic plot and hypertext widgets for Tk 1.4 
Contact: "George Howlett" <george.howlett@att.com>

What: HP CD-ROM Interface (hp-tcl-cdplay.tar.Z)
Where: barkley.berkeley.edu
Description: Tk HP CD-Rom interface library extension.
Contact: "Mike Hoegeman" <mh@awds.imsd.contel.com>

What: lisp2wish (lisp2wish6.tar.Z)
Where: barkley.berkeley.edu
Description: Wish to Common Lisp interface
Contact: kaye@linc.cis.upenn.edu (Jonathan Kaye)

What: Mxedit (mxedit.1.1.tar.Z)
Where: barkley.berkeley.edu, parcftp.xerox.com:pub/mxedit/mxedit.1.1.tar.Z
Description: Editable text widget based on the mx package.
Contact: welch@parc.xerox.com (Brent Welch)

What: parseargs.tcl
Where: wuarchive.wustl.edu:usenet/comp.sources.misc/volume29/parseargs
Description: General argument parsing package which includes a Tcl interface
Contact: "Brad Appleton" <brad@ssd.csd.harris.com>

What: Photo widget (photo.tar.Z)
Where: barkley.berkeley.edu,dcssoft.anu.edu.au
Description: widget which displays a monochrome or color image using dithering
Contact: paulus@cs.anu.edu.au (Paul Mackerras)

What: Pixmap modifications (tk-pixmap.tar.Z)
Where: barkley.berkeley.edu
Description: code added to tkBitmap.c to allow drawing pixmaps.  Does NOT
	support getting pixmaps from data files.
Contact: kennard@tukey.berkeley.edu (Kennard White)

What: showproc.tcl
Where: barkley.berkeley.edu
Description: A new showproc
Contact: lance@markv.com (Lance Ellinghouse)

What: sybtcl (sybtcl-1.1.tar.Z)
Where: barkley.berkeley.edu
Description: Tcl interface to Sybase database server.
Contact: tpoindex@nyx.cs.du.edu (Tom Poindexter)

What: tclRawTCP (tclRawTCP.tar.Z)
Where: barkley.berkeley.edu and coma.cs.tu-berlin.de
Description: Raw TCP package for Tcl/Tk based on tcpConnect
Contact: "Tim MacKenzie" <tym@dibbler.cs.monash.edu.au>

What: tclTCP (tclTCP-1.0.tar.Z)
Where: barkley.berkeley.edu
Description: Extended Tcl BSD socket library interface 
Contact: "Kevin B. Kenny" <kennykb@crd.ge.com>

What: tcl_curses
Where: 
Description: System V curses interface for Tcl
Contact: phk@data.fls.dk (Poul-Henning Kamp),
		gnat@kauri.vuw.ac.nz (Nathan Torkington)

What: tcl_debugger (tcl.debugger)
Where: barkley.berkeley.edu
Description: extended Tcl source level debugger (patch to TclX)
Contact: "Karl Lehenbauer" <karl@NeoSoft.com>

What: tcl_snmp
Where: 
Description:  cmu-snmp v1.0 based Tcl interface
Contact: phk@data.fls.dk

What: tcl_streams
Where: 
Description: System V stream I/O library for Tcl
Contact: peter@ficc.uu.net (Peter da Silva)

What: tclsockets
Where: 
Description: Extended Tcl interface to BSD sockets
Contact: lance@markv.com

What: tclvogle (tclvogle.tar.Z, tclvogleDOCS.tar.Z, volgleWish.sun4.exe)
Where: barkley.berkeley.edu
Description: Tk [23]-D drawing widgets (alpha)
Contact: "Mike Hoegeman" <mh@awds.imsd.contel.com>

What: tclX dynamic library patches (tclX_dld.shar.Z)
Where: barkley.berkeley.edu
Description: Dynamic loading patches to TclX.
Contact: adrianho@barkley.berkeley.edu (Adrian J Ho)

What: tclX / Tk merge (tckX-tk2.0.shar.Z)
Where: barkley.berkeley.edu
Description: Replacement files to incorporate TclX with Tk 2.x
Contact: markd@grizzly.com (Mark Diekhans)

What: tcpConnect (tcpConnect.shar.Z)
Where: barkley.berkeley.edu
Description: Tcl/Tk TCP connect and Tk filehandler extensions
Contact: "Pekka Nikander" <pnr@innopoli.ajk.tele.fi>

What: tk Bell and Cutbuffer patches (tkBellCutbuffer.shar.Z)
Where: barkley.berkeley.edu
Description: Tk 2.1 patches to add bell and cutbuffer commands.
Contact: Rick_Ohnemus@imd.sterling.com (Richard Ohnemus)

What: tk-mod.shar
Where: 
Description: Alternative geometry managers for Tk 1.4
Contact: pnr@innopoli.ajk.tele.fi

What: tkText 1.3 (tkText-inst.tar.Z)
Where: barkley.berkeley.edu
Description: A Tk 1.3 tkText widget and installation patches
Contact: "Derrick C. Cole" <cole@concert.net>

What: tkText 2.0 (tkText-2.0.tar.Z)
Where: barkley.berkeley.edu
Description: A Tk 2.0 text widget
Contact: "M. G. Christenson" <mgc@cray.com>

What: wmstuff (wmstuff.tar.Z, wmstuff.patch1.shar.Z)
Where: barkley.berkeley.edu
Description: Tk support for ICCCM WM_PROTOCOLS & WM_DELETE
Contact: "Mike Hoegeman" <mh@awds.imsd.contel.com>

What: 
Where: 
Description: 
Contact: 

-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
America Online: lvirden@aol.com
-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
America Online: lvirden@aol.com