home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / tcl-faq / part3 < prev    next >
Text File  |  1993-12-17  |  17KB  |  432 lines

  1. Newsgroups: comp.lang.tcl,comp.answers,news.answers
  2. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!usc!math.ohio-state.edu!uwm.edu!caen!malgudi.oar.net!chemabs!lvirden
  3. From: lwv26@cas.org (Larry W. Virden)
  4. Subject: FAQ: comp.lang.tcl Frequently Asked Questions (3/5)
  5.     (Last updated: December 17, 1993)
  6. Message-ID: <tcl.p3_756137861@cas.org>
  7. Followup-To: comp.lang.tcl
  8. Summary: A regular posting of the comp.lang.tcl Frequently Asked Questions
  9.     (FAQ) and their answers.  This is the third of five parts.
  10.     This part is a catalog of miscellaneous Tcl-based items.
  11. Originator: lwv26@srv01s4
  12. Keywords: tcl, expect, extended tcl, wish, tk
  13. Sender: lvirden@cas.org
  14. Supersedes: <tcl.p3_753975163@cas.org>
  15. Reply-To: lvirden@cas.org (Larry W. Virden)
  16. Organization: Chemical Abstracts Service
  17. References: <tcl.p2_756137861@cas.org>
  18. Date: Fri, 17 Dec 1993 14:18:09 GMT
  19. Approved: news-answers-request@MIT.Edu
  20. Expires: Fri, 28 Jan 1994 14:17:41 GMT
  21. Lines: 408
  22. Xref: senator-bedfellow.mit.edu comp.lang.tcl:9440 comp.answers:3073 news.answers:15931
  23.  
  24. Archive-name: tcl-faq/part3
  25. Version: 4.4
  26. Last-modified: December 17, 1993
  27.  
  28.     For more information concerning Tcl (see "tcl-faq/part1"), 
  29. (see "tcl-faq/part2"), (see "tcl-faq/part4") or (see "tcl-faq/part5").
  30.  
  31. Index of questions:
  32.  
  33. XI. Where can I get these packages?
  34.     A. Retrieving Tcl and Tk
  35.     B. Accessing the Tcl/Tk User Contributions Archive
  36.     C. Expect available via e-mail.
  37.     D. EMACS modes for Tcl
  38.     E. The tk toolbox project
  39.     F. [tv]grind definitions for tcl/tk/expect
  40.     G. BNF style notation for Tcl
  41.     H. Tk Quick Reference Card
  42.     I. Hilit 19 Tcl mode
  43.  
  44. End of FAQ Index
  45.  
  46. ----------------------------------------------------------------------
  47.  
  48. ------------------------------
  49.  
  50. From: FAQ Tcl/Tk Package Catalog
  51. Subject: -XI- Where can I get these packages?
  52.  
  53. The "home site" for Tcl on the Internet is ftp.cs.berkeley.edu.
  54.  
  55. Tcl and Extended Tcl were posted to comp.sources.misc, appearing
  56. In volume 25 and then Tcl appeared again in volume 26 and can be found at 
  57. most comp.sources.misc archive sites in the tcl and tclx directories.
  58. These are quite old versions actually, but are still usable.
  59.  
  60. a. Tcl    - available on ftp.cs.berkeley.edu and harbor.ecn.purdue.edu
  61. b. Tk    - available on ftp.cs.berkeley.edu and harbor.ecn.purdue.edu
  62. c. Extended Tcl - available on ftp.cs.berkeley.edu and harbor.ecn.purdue.edu
  63.     Note that currently the beta version of Extended Tcl is only
  64.     available on harbor.ecn.purdue.edu.
  65.  
  66. The IP address for harbor.ecn.purdue.edu is 128.46.128.76 .
  67.  
  68. Other sites which either mirror the Tcl/Tk submissions or have special
  69. versions are:
  70.  
  71. ftp://ftp.uu.net/languages/tcl/    <- ftp.cs only
  72. ftp://gatekeeper.dec.com/.0/BSD/UCB/sprite/ <- ftp.cs only
  73. ftp://sunsite.unc.edu/pub/languages/tcl/
  74. ftp://ftp.ibp.fr/pub/tcl/        <- distrib, contrib, expect
  75. ftp://syd.dit.csiro.au/pub/tk/    <- contrib and ftp.cs
  76.  
  77. ftp://iskut.ucs.ubc.ca/pub/X11/tcl/
  78. ftp://ftp.funet.fi/pub/languages/tcl/
  79. ftp://coma.cs.tu-berlin.de/pub/tcl/
  80. ftp://nic.funet.fi/pub/languages/tcl/
  81. ftp://oskgate0.mei.co.jp/free/X/toolkits/tcl/ <- ftp.cs only
  82.  
  83. ftp://sunsite.unc.edu/pub/Linux/    <- contains port of extended Tcl and 
  84.                     extended Tk to this OS.
  85.  
  86. ------------------------------
  87.  
  88. From: -XI- Where can I get these packages?
  89. Subject: -A- Retrieving Tcl and Tk
  90.  
  91.  
  92. >From: ouster@cs.Berkeley.EDU (John Ousterhout)
  93. >Newsgroups: comp.lang.tcl
  94. >Subject: Obtaining Tcl/Tk sources
  95.  
  96. For people new to the Tcl/Tk community, here is information on how
  97. to obtain Tcl and Tk sources.  The information below describes what
  98. I distribute; other information is available from other machines
  99. also, such as harbor.ecn.purdue.edu.
  100.  
  101. The sources and documentation for the Tcl command
  102. language library, for the Tk toolkit, and for a few Tcl-based
  103. applications, are in the public FTP area on ftp.cs.berkeley.edu.
  104. All of these files are in the "tcl" subdirectory of the FTP area.
  105. Here is a catalog of what's available.  Most of the files are
  106. compressed tar files ("xxx.tar.Z").  There is some overlap
  107. between the contents of the various packages.
  108.  
  109.  
  110. tk3.6.tar.Z -             This is the latest and most stable release of the
  111.                         Tk toolkit, released in November 1993 (patch level
  112.                         206).  It includes the sources for the Tk library
  113.                         and the "wish" windowing shell, plus reference
  114.                         manual entries and a number of demonstration scripts.
  115.  
  116. tcl7.3.tar.Z -          This is the latest and most stable release of the
  117.                         Tcl library, released in November 1993 (patch level
  118.                         106).  It includes the sources for the Tcl library
  119.                         and the "tclsh" application, plus reference manual
  120.                         entries.
  121.  
  122. tclX7.3a.tar.Z -        Extended Tcl (or NeoSoft Tcl), created by Mark
  123.                         Diekhans and Karl Lehenbauer, which adds a number
  124.                         of useful facilities to the base Tcl release.
  125.                         Among the things in Extended Tcl are a Tcl shell,
  126.                         many new commands for things like UNIX kernel
  127.                         call access, keyed lists, and time conversion, and an
  128.                         on-line help facility.  This package works with Tcl
  129.                         versions 7.3 or later and Tk versions 3.6 or later.
  130.  
  131. mx.tar.Z -        Sources and documentation for a mouse-based text
  132.             editor (mx) and terminal emulator (tx) based on
  133.             Tcl.  This is a very old release:  it uses an old
  134.             version of Tcl (which is included) and doesn't
  135.             even use Tk;  it uses an ancient toolkit called
  136.             "Sx".  These tools will eventually be replaced
  137.             with new tools based on Tk and the newest Tcl.
  138.  
  139. mx-2.5.tar.Z -         Newer version of mx (see above) that uses the
  140.             standard X selection mechanism rather than the
  141.             homegrown mechanism used by previous versions. 
  142.             Version 2.5 is not backwards compatible with 
  143.             previous versions (you can't cut and paste between
  144.             the two). Still uses sx and an old version of 
  145.             Tcl (both of which are included).
  146.  
  147. book.p1.ps.Z        Compressed Postscript for a draft of the first part
  148.             of an upcoming book on Tcl and Tk to be published in
  149.             1993 by Addison-Wesley.  This part of the book
  150.             describes the Tcl language and how to write scripts
  151.             in it.  About 130 pages in length.
  152.  
  153. book.p2.ps.Z        Compressed Postscript for a draft of the second part
  154.             of an upcoming book on Tcl and Tk to be published in
  155.             1993 by Addison-Wesley.  This part of the book
  156.             describes how to write Tcl scripts for Tk.  About
  157.             125 pages in length.
  158.  
  159. book.p3.ps.Z            Compressed Postscript for a draft of the third part
  160.                         of an upcoming book on Tcl and Tk to be published in
  161.                         1993 by Addison-Wesley.  This part of the book
  162.                         describes how to write Tcl applications in C, using
  163.                         the Tcl library procedure.  64 pages in length.
  164.  
  165. book.p4.ps.Z            Compressed Postscript for a draft of the last part
  166.                         of an upcoming book on Tcl and Tk to be published in
  167.                         1993 by Addison-Wesley.  This part of the book
  168.                         describes how to write new widgets and geometry
  169.                         managers in C, using the Tk library procedure.  About
  170.                         70 pages in length.
  171.  
  172. tclUsenix90.ps -    Postscript for a paper on Tcl that appeared in the
  173.             Winter 1990 USENIX Conference.  This paper is also
  174.             included in the Tcl and Tk distributions.
  175.  
  176. tkUsenix91.ps -        Postscript for a paper on Tk that appeared in the
  177.             Winter 1991 USENIX Conference.  This paper is also
  178.             included in the Tk distribution.
  179.  
  180. tkF10.ps -        Postscript for Figure 10 of the Tk paper.
  181.  
  182. tut.tar.Z -        A collection of materials from a full-day tutorial
  183.             on Tcl and Tk.  Includes viewgraphs from five one-hour
  184.             talks plus a sample widget.
  185.  
  186. tc-tcl93.ps.gz -        PostScript formatted copy of Tcl Compiler paper
  187.                         presented at the Tcl'93 Workshop.
  188.  
  189. tc-tcl93.tex.gz -       LaTeX source for the Tcl Compiler paper presented
  190.                         at the Tcl'93 Workshop.
  191.  
  192.  
  193. In addition, there may be older releases of some or all of the above
  194. files;  look for files with earlier release numbers.
  195.  
  196.  
  197. To retrieve any or all of these packages, use anonymous FTP to
  198. ftp.cs.berkeley.edu (Internet address 128.32.149.78).  Use user
  199. "anonymous"; when asked for a password, type your login name.  Then
  200. retrieve the relevant file(s) with the commands like the following:
  201.         type image (try "type binary" if this command is rejected)
  202.         cd tcl
  203.         get tk3.6.tar.Z
  204.  
  205. Be sure to retrieve files in image mode (type "type image" to FTP)
  206. in order to make sure that you don't lose bits.
  207.  
  208. Any file with a .Z extension is a compressed file, which means you must
  209. use the "uncompress" program to get back a normal file.  For example, for
  210. the file tk3.6.tar.Z, you should type
  211.  
  212.     uncompress tk3.6.tar.Z
  213.  
  214. once you've retrieved the file.  This will produce a file named "tk3.6.tar".
  215. Then you will need to use tar to extract the members.  Typically one
  216. would use a command such as:
  217.  
  218.     tar xv tk3.6.tar
  219.  
  220. to extract the pieces.
  221.  
  222. Each of the releases has a README file in the top-level directory that
  223. describes how to compile the release, where to find documentation, etc.
  224.  
  225. Questions or problems about any of these distributions should be directed
  226. to "John Ousterhout" <ouster@cs.berkeley.edu>.
  227.  
  228. If you don't have access to ftp.cs.berkeley.edu, you can also retrieve some or
  229. all of the above files from other FTP repositories.  Here is a
  230. sampler of machines that store some or all of the Tcl/Tk information,
  231. plus the directories in which to check:
  232.  
  233. ftp://ftp.ibp.fr/pub/tcl/
  234. ftp://ftp.uu.net/languages/tcl/
  235. ftp://ftp.x.org/contrib/tcl*
  236. ftp://ftp.x.org/contrib/tk*
  237. ftp://gatekeeper.dec.com/pub/UCB/tcl/sprite/
  238. ftp://harbor.ecn.purdue.edu/pub/tcl/sprite-mirror/
  239. ftp://syd.dit.csiro.au/pub/tk/
  240.  
  241. ------------------------------
  242.  
  243. From: -XI- Where can I get these packages?
  244. Subject: -B- Accessing the Tcl/Tk User Contributions Archive
  245.  
  246. Contributions to the Tcl/Tk Contrib Archive are most welcome --
  247. please upload them to:
  248.  
  249.     ftp://harbor.ecn.purdue.edu/incoming    [128.46.128.76]
  250.  
  251. send the archive maintainer <tcl-archive@harbor.ecn.purdue.edu> a note stating
  252. the names of the files you uploaded and a brief description for the
  253. index.
  254.  
  255. Harbor is the central file server for the software staff of the
  256. Engineering Computer Network, so please try to refrain from FTPing
  257. stuff between 9am and 5pm EST (GMT -0500).  No mail-archive service is
  258. planned as yet -- users without FTP capability should use one of the
  259. following mail-based FTP services (send mail to the appropriate address
  260. with "help" in the body):
  261.  
  262. BITNET users:   BITFTP <bitftp@pucc.princeton.edu>
  263. Others:         "DEC ftpmail" <ftpmail@decwrl.dec.com>
  264. Europe:         ftpmail@grasp1.univ-lyon1.fr
  265.         mail-server@ftp.tu-clausthal.de
  266.  
  267. WARNING!  The archive maintainer will NOT be automatically archiving anything
  268. posted to comp.lang.tcl or previously to the mailing list.  So if you want
  269. your nifty porting instructions for getting Tcl up on your Seiko wrist watch
  270. or your pen computer to be saved for others benefit, be sure to ftp them into
  271. the archive.
  272.  
  273. All contributions should be placed in harbor's ~ftp/incoming
  274. subdirectory.  Please send tcl-archive@harbor.ecn.purdue.edu and a short
  275. mail message stating the filename(s) of your contribution and a brief
  276. description (for the Index).  If you've posted some code to
  277. comp.lang.tcl or the Tcl mailing list, and you want it to be archived
  278. at this site, please deposit it in ~ftp/incoming or mail it in a
  279. suitable form (preferably uuencoded compressed tar file, but a shar
  280. file's OK) to tcl-archive@harbor.ecn.purdue.edu.
  281.  
  282. Note: I have noticed that some authors prefer to use plain names rather than
  283. version level type names.  This means that you should a) make note of when
  284. you get a package, and b) check the archive occasionally to see if a newer
  285. version of the package has appeared.
  286.  
  287. ------------------------------
  288.  
  289. From: -XI- Where can I get these packages?
  290. Subject: -C- Expect available via e-mail.
  291.  
  292. Besides being available via ftp://ftp.cme.nist.gov/pub/expect/ ,
  293. expect can also be received by email by sending the message
  294. "send pub/expect/expect.shar.Z" to library@cme.nist.gov .
  295.  
  296. ------------------------------
  297.  
  298. From: -XI- Where can I get these packages?
  299. Subject: -D- EMACS modes for Tcl
  300.  
  301. "Sean Levy" <snl+@cs.cmu.edu> has hacked a version of Emacs's C mode into
  302. a tcl-mode.el.  He mentions that you must use semi-colons at the end
  303. of each statement to get indentation to work right, but he found that
  304. easier than doing without.
  305.  
  306. The code is on [128.2.214.236]
  307. ftp://ftp.cs.cmu.edu/afs/cs/user/snl/pub/tcl-mode.el.z
  308. (don't forget binary mode) as well as
  309. ftp://harbor.ecn.purdue.edu/pub/tcl/distrib/tcl-mode.el.Z .
  310.  
  311. "Julian Anderson" <jules@kauri.vuw.ac.nz> was also working on an Emacs Tcl
  312. minor mode to fundamental.
  313.  
  314. "Chris Lindblad" <cjl@lcs.mit.edu> has contributed tcl.el, a Tcl mode for 
  315. GNU emacs.  It's address is
  316. ftp://harbor.ecn.purdue.edu/pub/tcl/extensions/tcl.el .
  317.  
  318. tromey@klab.caltech.edu (Tom Tromey) has contributed tcl-help.el, an
  319. Extended Tcl help mode for GNU emacs.  It's address is
  320. ftp://harbor.ecn.purdue.edu/pub/tcl/extensions/tcl-help.el .
  321.  
  322. schmid@fb3-s7.math.TU-Berlin.DE (Gregor Schmid) has written a major mode
  323. for tcl scripts.  Contact him for details.
  324.  
  325.  
  326. ------------------------------
  327.  
  328. From: -XI- Where can I get these packages?
  329. Subject: -E- The tk toolbox project
  330.  
  331. The Tk Toolbox & Toolchest project.
  332.  
  333. The Toolchest consists of convenience routines for Tcl and Tk - a kind of a
  334. libc for Tcl.  The toolbox is a collection of commonly used code and
  335. some specialized code such as file selectors, dialogs that take care of
  336. keyboard traversal through items automatically, etc.
  337.  
  338. The project has currently not yet reached a usable state, but each formal
  339. release will be announced in comp.lang.tcl as well as other newsgroups.
  340.  
  341. There is a mailing list for discussion of the tk toolbox, kindly provided by
  342. Ari Lemmke.  To subscribe, write a message with the line:
  343. X-Mn-Admin: join tktools
  344.  
  345. in the body or header of the message.  Send this message to
  346. linux-activists-request@niksula.cs.hut.fi .
  347.  
  348. To write to the list, send messages to to
  349. linux-activists@niksula.cs.hut.fi
  350. and add the line
  351. X-Mn-Key: TKTOOLS
  352. to the header or the body of the message. Especially remember this when
  353. replying to messages from the list.
  354.  
  355. For more info about the list server (mailnet), write 
  356. an empty message to linux-activists-request@niksula.cs.hut.fi .
  357.  
  358. The intermediate snapshots are announced on this mailing list.
  359.  
  360. If you have problems or are willing to donate code or whatever,
  361. you can contact the code maintainer (one of the three main implementors)
  362. at tlukka@snakemail.hut.fi or lukka@helsinki.fi .
  363.  
  364. ------------------------------
  365.  
  366. From: -XI- Where can I get these packages?
  367. Subject: -F- [tv]grind definitions for tcl/tk/expect
  368.  
  369. "Martin Hamilton" <M.T.Hamilton@lut.ac.uk> has come up with a preliminary
  370. grindcap definition for Tcl, Tk and expect.  These are available as:
  371. ftp://harbor.ecn.purdue.edu/pub/tcl/docs/vgrind.defs
  372. ftp://harbor.ecn.purdue.edu/pub/tcl/docs/vgrind.defs.README
  373.  
  374.  
  375. andyr@wizzy.com (Andy Rabagliati) has come up with a preliminary grindcap
  376. definition for Tcl.  Contact him for more details. 
  377.  
  378. ------------------------------
  379.  
  380. From: -XI- Where can I get these packages?
  381. Subject: -G- BNF style notation for Tcl
  382.  
  383. tb06@CS2.cc.lehigh.edu (TERRENCE MONROE BRANNON) in July of 1993, posted
  384. some yacc code for a tcl-to-c parser.  This, along with Adam Sah's Tcl
  385. compiler, are a couple of sources with which folk could start.
  386.  
  387. ------------------------------
  388.  
  389. From: -XI- Where can I get these packages?
  390. Subject: -H- Tk Quick Reference Card
  391.  
  392. raines@bohr.physics.upenn.edu (Paul E. Raines) has uploaded a quick
  393. reference card for Tk 3.3.  You may find it at:
  394.  
  395. ftp://harbor.ecn.purdue.edu/pub/tcl/docs/tkrefcard.tar.Z
  396. ftp://bohr.physics.upenn.edu/pub/tk/tkrefcard.tar.Z
  397.  
  398. The tar contains the TeX and PostScript versions of a 3 column listing
  399. of all widget methods and options and summaries of the wm, winfo, pack,
  400. place and bind commands.
  401.  
  402. ------------------------------
  403.  
  404. From: -XI- Where can I get these packages?
  405. Subject: -I- Hilit 19 Tcl mode
  406.  
  407. AI. Aaron Roydhouse <aaron@comp.vuw.ac.nz> wrote, and
  408. Julian.Anderson@comp.vuw.ac.nz (Julian Anderson) posted, the following:
  409.  
  410. (hilit-set-mode-patterns
  411.  'tcl-mode
  412.  '(("\\s #.*$" nil comment)
  413.    ("^#.*$" nil comment)
  414.    ("\"[^\\\"]*\\(\\\\\\(.\\|\n\\)[^\\\"]*\\)*\"" nil string)
  415.    ("\\$[-_a-zA-Z]+" nil varref)
  416.    ("^source.*$" nil include)
  417.    ("\\b\\(global\\|upvar\\)\\b" nil decl)
  418.    ("\\b\\(error\\|debug\\)\\b" nil decl)
  419.    ("^\\s *proc\\s +\\(\\w\\|[_']\\)+" nil defun)
  420.    ("\\b\\(set\\|lset\\|list\\|if\\|case\\|while\\|switch\\|then\\|else\\|
  421. for\\|foreach\\|return\\|expr\\|catch\\)\\b" nil keyword)))
  422.  
  423.  
  424. ------------------------------
  425. End of comp.lang.tcl Frequently Asked Questions (3/5)
  426. *****************************************************
  427. -- 
  428. :s Great net resources sought...
  429. :s Larry W. Virden                 INET: lvirden@cas.org
  430. :s Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
  431. The task of an educator should be to irrigate the desert not clear the forest.
  432.