home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
answers
/
tcl-faq
/
part3
< prev
next >
Wrap
Text File
|
1993-12-17
|
17KB
|
432 lines
Newsgroups: comp.lang.tcl,comp.answers,news.answers
Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!math.ohio-state.edu!uwm.edu!caen!malgudi.oar.net!chemabs!lvirden
From: lwv26@cas.org (Larry W. Virden)
Subject: FAQ: comp.lang.tcl Frequently Asked Questions (3/5)
(Last updated: December 17, 1993)
Message-ID: <tcl.p3_756137861@cas.org>
Followup-To: comp.lang.tcl
Summary: A regular posting of the comp.lang.tcl Frequently Asked Questions
(FAQ) and their answers. This is the third of five parts.
This part is a catalog of miscellaneous Tcl-based items.
Originator: lwv26@srv01s4
Keywords: tcl, expect, extended tcl, wish, tk
Sender: lvirden@cas.org
Supersedes: <tcl.p3_753975163@cas.org>
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Chemical Abstracts Service
References: <tcl.p2_756137861@cas.org>
Date: Fri, 17 Dec 1993 14:18:09 GMT
Approved: news-answers-request@MIT.Edu
Expires: Fri, 28 Jan 1994 14:17:41 GMT
Lines: 408
Xref: senator-bedfellow.mit.edu comp.lang.tcl:9440 comp.answers:3073 news.answers:15931
Archive-name: tcl-faq/part3
Version: 4.4
Last-modified: December 17, 1993
For more information concerning Tcl (see "tcl-faq/part1"),
(see "tcl-faq/part2"), (see "tcl-faq/part4") or (see "tcl-faq/part5").
Index of questions:
XI. 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. EMACS modes for Tcl
E. The tk toolbox project
F. [tv]grind definitions for tcl/tk/expect
G. BNF style notation for Tcl
H. Tk Quick Reference Card
I. Hilit 19 Tcl mode
End of FAQ Index
----------------------------------------------------------------------
------------------------------
From: FAQ Tcl/Tk Package Catalog
Subject: -XI- Where can I get these packages?
The "home site" for Tcl on the Internet is ftp.cs.berkeley.edu.
Tcl and Extended Tcl were posted to comp.sources.misc, appearing
In volume 25 and then Tcl appeared again in volume 26 and can be found at
most comp.sources.misc archive sites in the tcl and tclx directories.
These are quite old versions actually, but are still usable.
a. Tcl - available on ftp.cs.berkeley.edu and harbor.ecn.purdue.edu
b. Tk - available on ftp.cs.berkeley.edu and harbor.ecn.purdue.edu
c. Extended Tcl - available on ftp.cs.berkeley.edu and harbor.ecn.purdue.edu
Note that currently the beta version of Extended Tcl is only
available on harbor.ecn.purdue.edu.
The IP address for harbor.ecn.purdue.edu is 128.46.128.76 .
Other sites which either mirror the Tcl/Tk submissions or have special
versions are:
ftp://ftp.uu.net/languages/tcl/ <- ftp.cs only
ftp://gatekeeper.dec.com/.0/BSD/UCB/sprite/ <- ftp.cs only
ftp://sunsite.unc.edu/pub/languages/tcl/
ftp://ftp.ibp.fr/pub/tcl/ <- distrib, contrib, expect
ftp://syd.dit.csiro.au/pub/tk/ <- contrib and ftp.cs
ftp://iskut.ucs.ubc.ca/pub/X11/tcl/
ftp://ftp.funet.fi/pub/languages/tcl/
ftp://coma.cs.tu-berlin.de/pub/tcl/
ftp://nic.funet.fi/pub/languages/tcl/
ftp://oskgate0.mei.co.jp/free/X/toolkits/tcl/ <- ftp.cs only
ftp://sunsite.unc.edu/pub/Linux/ <- contains port of extended Tcl and
extended Tk to this OS.
------------------------------
From: -XI- Where can I get these packages?
Subject: -A- Retrieving Tcl and Tk
>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 harbor.ecn.purdue.edu.
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.cs.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.
tk3.6.tar.Z - This is the latest and most stable release of the
Tk toolkit, released in November 1993 (patch level
206). It includes the sources for the Tk library
and the "wish" windowing shell, plus reference
manual entries and a number of demonstration scripts.
tcl7.3.tar.Z - This is the latest and most stable release of the
Tcl library, released in November 1993 (patch level
106). It includes the sources for the Tcl library
and the "tclsh" application, plus reference manual
entries.
tclX7.3a.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, keyed lists, and time conversion, and an
on-line help facility. This package works with Tcl
versions 7.3 or later and Tk versions 3.6 or later.
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
homegrown 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).
book.p1.ps.Z Compressed Postscript for a draft of the first part
of an upcoming book on Tcl and Tk to be published in
1993 by Addison-Wesley. This part of the book
describes the Tcl language and how to write scripts
in it. About 130 pages in length.
book.p2.ps.Z Compressed Postscript for a draft of the second part
of an upcoming book on Tcl and Tk to be published in
1993 by Addison-Wesley. This part of the book
describes how to write Tcl scripts for Tk. About
125 pages in length.
book.p3.ps.Z Compressed Postscript for a draft of the third part
of an upcoming book on Tcl and Tk to be published in
1993 by Addison-Wesley. This part of the book
describes how to write Tcl applications in C, using
the Tcl library procedure. 64 pages in length.
book.p4.ps.Z Compressed Postscript for a draft of the last part
of an upcoming book on Tcl and Tk to be published in
1993 by Addison-Wesley. This part of the book
describes how to write new widgets and geometry
managers in C, using the Tk library procedure. About
70 pages in length.
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.
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.
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.
tc-tcl93.ps.gz - PostScript formatted copy of Tcl Compiler paper
presented at the Tcl'93 Workshop.
tc-tcl93.tex.gz - LaTeX source for the Tcl Compiler paper presented
at the Tcl'93 Workshop.
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.cs.berkeley.edu (Internet address 128.32.149.78). 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 tcl
get tk3.6.tar.Z
Be sure to retrieve files in image mode (type "type image" to FTP)
in order to make sure that you don't lose bits.
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 tk3.6.tar.Z, you should type
uncompress tk3.6.tar.Z
once you've retrieved the file. This will produce a file named "tk3.6.tar".
Then you will need to use tar to extract the members. Typically one
would use a command such as:
tar xv tk3.6.tar
to extract the pieces.
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.
Questions or problems about any of these distributions should be directed
to "John Ousterhout" <ouster@cs.berkeley.edu>.
If you don't have access to ftp.cs.berkeley.edu, 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://ftp.ibp.fr/pub/tcl/
ftp://ftp.uu.net/languages/tcl/
ftp://ftp.x.org/contrib/tcl*
ftp://ftp.x.org/contrib/tk*
ftp://gatekeeper.dec.com/pub/UCB/tcl/sprite/
ftp://harbor.ecn.purdue.edu/pub/tcl/sprite-mirror/
ftp://syd.dit.csiro.au/pub/tk/
------------------------------
From: -XI- Where can I get these packages?
Subject: -B- Accessing the Tcl/Tk User Contributions Archive
Contributions to the Tcl/Tk Contrib Archive are most welcome --
please upload them to:
ftp://harbor.ecn.purdue.edu/incoming [128.46.128.76]
send the archive maintainer <tcl-archive@harbor.ecn.purdue.edu> a note stating
the names of the files you uploaded and a brief description for the
index.
Harbor is the central file server for the software staff of the
Engineering Computer Network, so please try to refrain from FTPing
stuff between 9am and 5pm EST (GMT -0500). No mail-archive service is
planned as yet -- users without FTP capability should use one of the
following mail-based FTP services (send mail to the appropriate address
with "help" in the body):
BITNET users: BITFTP <bitftp@pucc.princeton.edu>
Others: "DEC ftpmail" <ftpmail@decwrl.dec.com>
Europe: ftpmail@grasp1.univ-lyon1.fr
mail-server@ftp.tu-clausthal.de
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.
All contributions should be placed in harbor's ~ftp/incoming
subdirectory. Please send tcl-archive@harbor.ecn.purdue.edu and a short
mail message stating the filename(s) of your contribution and a brief
description (for the Index). If you've posted some code to
comp.lang.tcl or the Tcl mailing list, and you want it to be archived
at this site, please deposit it in ~ftp/incoming or mail it in a
suitable form (preferably uuencoded compressed tar file, but a shar
file's OK) to tcl-archive@harbor.ecn.purdue.edu.
Note: I have noticed that some authors prefer to use plain names rather than
version level type names. This means that you should a) make note of when
you get a package, and b) check the archive occasionally to see if a newer
version of the package has appeared.
------------------------------
From: -XI- Where can I get these packages?
Subject: -C- Expect available via e-mail.
Besides being available via ftp://ftp.cme.nist.gov/pub/expect/ ,
expect can also be received by email by sending the message
"send pub/expect/expect.shar.Z" to library@cme.nist.gov .
------------------------------
From: -XI- Where can I get these packages?
Subject: -D- EMACS modes for Tcl
"Sean Levy" <snl+@cs.cmu.edu> has hacked a version of Emacs's C mode into
a tcl-mode.el. 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 [128.2.214.236]
ftp://ftp.cs.cmu.edu/afs/cs/user/snl/pub/tcl-mode.el.z
(don't forget binary mode) as well as
ftp://harbor.ecn.purdue.edu/pub/tcl/distrib/tcl-mode.el.Z .
"Julian Anderson" <jules@kauri.vuw.ac.nz> was also working on an Emacs Tcl
minor mode to fundamental.
"Chris Lindblad" <cjl@lcs.mit.edu> has contributed tcl.el, a Tcl mode for
GNU emacs. It's address is
ftp://harbor.ecn.purdue.edu/pub/tcl/extensions/tcl.el .
tromey@klab.caltech.edu (Tom Tromey) has contributed tcl-help.el, an
Extended Tcl help mode for GNU emacs. It's address is
ftp://harbor.ecn.purdue.edu/pub/tcl/extensions/tcl-help.el .
schmid@fb3-s7.math.TU-Berlin.DE (Gregor Schmid) has written a major mode
for tcl scripts. Contact him for details.
------------------------------
From: -XI- Where can I get these packages?
Subject: -E- The tk toolbox project
The Tk Toolbox & Toolchest project.
The Toolchest consists of convenience routines for Tcl and Tk - a kind of a
libc for Tcl. The toolbox is a collection of commonly used code and
some specialized code such as file selectors, dialogs that take care of
keyboard traversal through items automatically, etc.
The project has currently not yet reached a usable state, but each formal
release will be announced in comp.lang.tcl as well as other newsgroups.
There is a mailing list for discussion of the tk toolbox, kindly provided by
Ari Lemmke. To subscribe, write a message with the line:
X-Mn-Admin: join tktools
in the body or header of the message. Send this message to
linux-activists-request@niksula.cs.hut.fi .
To write to the list, send messages to to
linux-activists@niksula.cs.hut.fi
and add the line
X-Mn-Key: TKTOOLS
to the header or the body of the message. Especially remember this when
replying to messages from the list.
For more info about the list server (mailnet), write
an empty message to linux-activists-request@niksula.cs.hut.fi .
The intermediate snapshots are announced on this mailing list.
If you have problems or are willing to donate code or whatever,
you can contact the code maintainer (one of the three main implementors)
at tlukka@snakemail.hut.fi or lukka@helsinki.fi .
------------------------------
From: -XI- Where can I get these packages?
Subject: -F- [tv]grind definitions for tcl/tk/expect
"Martin Hamilton" <M.T.Hamilton@lut.ac.uk> has come up with a preliminary
grindcap definition for Tcl, Tk and expect. These are available as:
ftp://harbor.ecn.purdue.edu/pub/tcl/docs/vgrind.defs
ftp://harbor.ecn.purdue.edu/pub/tcl/docs/vgrind.defs.README
andyr@wizzy.com (Andy Rabagliati) has come up with a preliminary grindcap
definition for Tcl. Contact him for more details.
------------------------------
From: -XI- Where can I get these packages?
Subject: -G- BNF style notation for Tcl
tb06@CS2.cc.lehigh.edu (TERRENCE MONROE BRANNON) in July of 1993, posted
some yacc code for a tcl-to-c parser. This, along with Adam Sah's Tcl
compiler, are a couple of sources with which folk could start.
------------------------------
From: -XI- Where can I get these packages?
Subject: -H- Tk Quick Reference Card
raines@bohr.physics.upenn.edu (Paul E. Raines) has uploaded a quick
reference card for Tk 3.3. You may find it at:
ftp://harbor.ecn.purdue.edu/pub/tcl/docs/tkrefcard.tar.Z
ftp://bohr.physics.upenn.edu/pub/tk/tkrefcard.tar.Z
The tar contains the TeX and PostScript versions of a 3 column listing
of all widget methods and options and summaries of the wm, winfo, pack,
place and bind commands.
------------------------------
From: -XI- Where can I get these packages?
Subject: -I- Hilit 19 Tcl mode
AI. Aaron Roydhouse <aaron@comp.vuw.ac.nz> wrote, and
Julian.Anderson@comp.vuw.ac.nz (Julian Anderson) posted, the following:
(hilit-set-mode-patterns
'tcl-mode
'(("\\s #.*$" nil comment)
("^#.*$" nil comment)
("\"[^\\\"]*\\(\\\\\\(.\\|\n\\)[^\\\"]*\\)*\"" nil string)
("\\$[-_a-zA-Z]+" nil varref)
("^source.*$" nil include)
("\\b\\(global\\|upvar\\)\\b" nil decl)
("\\b\\(error\\|debug\\)\\b" nil decl)
("^\\s *proc\\s +\\(\\w\\|[_']\\)+" nil defun)
("\\b\\(set\\|lset\\|list\\|if\\|case\\|while\\|switch\\|then\\|else\\|
for\\|foreach\\|return\\|expr\\|catch\\)\\b" nil keyword)))
------------------------------
End of comp.lang.tcl Frequently Asked Questions (3/5)
*****************************************************
--
:s Great net resources sought...
:s Larry W. Virden INET: lvirden@cas.org
:s Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614
The task of an educator should be to irrigate the desert not clear the forest.