5th November 20:33
Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Aug 18)
QOTW: "I advise you to use Tcl portable commands ... to navigate through
directories. Tcl will do all the nasty work for you...."
-- Charles-Christophe Thomart
"Ok, that's a whole different monkey." -- Bruce Hartweg
POTW: MEdit by Maciej Sobczak. "[A] text editor that allows to define your
own commands in the form of Tcl scripts that are executed in the editor's
context. The functionality of the editor depends only on your ability to
Here's a fairly common requirement: a lot of text in a little window
(e.g., a log file), and you always want to see the end of the text.
Want the Tcl/Tk plugin for Mozilla or Firebird? Heed these hints!
The trials and tribulations of exec'ing a very complicated sed script.
(Tcl, like hell, has many circles of torment, and if you don't read
the man pages you are condemned to visit them all sooner or later!)
Interesting comments on TIP #125 "Adding [wm toplevel]
Subcommand" to change a frame into a toplevel and vice versa.
Time for a Pop Quiz! Complete the following word pairs:
happy/sad, up/down, -disabled/_______.
(If you said "-enabled", assume the forehead-smacking position!)
If you simply MUST put opening braces on a new line by themselves,
beware of times when you must then continue the previous line:
A newbie is building a GUI with listboxes, and has a problem. Just
tell him "-exportselection 0" and you'll be right 90% of the time!
An amazing lsort -command for "guided sort". Don your sunglasses
in preparation for the blinding elegance of Wojciech Kocjan!
Thanks to Arjen Markus for his summary of recent Wiki activity:
The summary of the Wiki in categories:
- Do***entation is an everlasting problem, isn't it? There are man
pages and there are tutorials and what not. Some discussion on
- Sometimes a cute little script can do with an extensive explanation
- for instance to teach unexperienced people how things are done
- <http://wiki.tcl.tk/9625> is an example.
(Note that this is part of a larger project, see
- Sizing and resizing widgets is not a trivial matter. A few pointers
for the beginner at <http://wiki.tcl/tk/9595> (and perhaps we can
make this page grow into a nice tutorial?)
- An undervalued feature of every tclsh and wish: the RC file. It can
help you customise your program. Read about it at
- And here another page telling you "how" to do something: using Tk as an
"ordinary" package. <http://wiki.tcl.tk/2437>
- A tree control widget, now with suitable do***entation -
- Things you can do with lists beyond the standard commands can be found
- SSL (secure socket layer) makes it a bit harder to get the HTTP package
to work properly. Pat Thoyts helps out: <http://wiki.tcl.tk/9411>
A bit of maths
- Functional imaging produces very pretty pictures and reasonably fast too:
- Symbolic manipulation is the (black?) art of changing an arbitrary
mathematical expression into another, equivalent form. The first
beginnings of a package that deals with it in pure Tcl:
Everything Tcl-related you want is probably one or two clicks away in these
The "Welcome to comp.lang.tcl" message by Andreas Kupries
The Tcl Developer Site is Tcl's "home base".
Larry Virden maintains a comp.lang.tcl FAQ launcher
The Tcl Developer Xchange is a highly organized resource center
of do***ents and software with provisions for individuals to
maintain references to their own software:
The TDX sponsor, ActiveState, also keeps info to convince your
boss Tcl is a good thing
The Tcl'ers Wiki is a huge, dynamic, collaboratively edited repository
of do***entation, examples, tutorials and pontifications on all things
For the ideal overview of the topics about Tcl most likely to
interest a newcomer, see "Arts and Crafts ..."
ActiveState maintains binaries distribution and development tools
along with a Cookbook of Tcl recipes
Cameron Laird tracks several Tcl/Tk references of interest
Cetus Links maintains a Tcl/Tk page with verified links
Google Groups archives comp.lang.tcl.announce posts
Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
Suggestions/corrections for next week's posting are always welcome.
To receive a new issue of this posting in e-mail each Monday, ask
<firstname.lastname@example.org> to subscribe. Be sure to mention "Tcl-URL!".
Dr. Dobb's Journal (http://www.ddj.com) is pleased to participate in and
sponsor the "Tcl-URL!" project.
[[Send Tcl/Tk announcements to email@example.com
Announcements archived at http://groups.yahoo.com/group/tcl_announce/
Send administrivia to firstname.lastname@example.org
Tcl/Tk at http://tcl.tk/ ]]