|| ||John Seal <email@example.com>|
|| ||"Dr. Dobb's Tcl-URL distribution" :;|
|| ||Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Jul 7)|
|| ||Mon, 07 Jul 2003 15:41:00 -0500|
QOTW: "You've got a problem where you have to parse some text, so you
decide to use a regexp. Now you've got two problems." -- Anonymous,
quoted by Scott Gargash
"My standard object system is, 'everything is a string'." -- Richard
POTW: tkwizard by Bryan Oakley. "tkwizard is a megawidget for creating
wizards. It is written in pure tcl and runs on any version of tcl/tk
from 8.0 onward. Included with the distribution is a wizard for building
Watch those line endings when moving from Windows to *nix, lest your
script be interpreted as one big shebang specifying a shell which, of
course, doesn't exist!
Never spin your wheels in a polling loop when you can twiddle your
thumbs waiting for fileevents instead. Your CPU will thank you!
The advantages of always withdrawing "." are discussed in the last
Elegant ways of getting a string of dashes as long as another string:
How to associate Windows icons with all your windows:
Want to return an array? Are you sure? If you want to create a new
array or modify an existing one, then you probably know its name.
Pass that, and use [upvar]:
Getting stdout from a pipe... sometimes "-buffering line" is important:
Thanks to Arjen Markus for his review of Wiki activity.
Sometimes your Wiki chronicler feels like the proverbial mule between
two haystacks: which one to eat first? Making a summary of last week
is just such an occasion. Put the emphasis on all the new toys that
Richard Suchenwirth and others have created or bring forward the
more technical pages (some fairly old) that have been revived?
Oh well, a bit of all categories, I guess. So, here is my selection:
Lightweight technical pages:
- Disconnect your UNIX/Linux shell via Expect? <http://wiki.tcl/tk/9263>
clarifies the concept and the technique in, what can only be called
(by a non-native speaker) juicy English.
- Which geometry manager to use - and especially how? This is the
start of a page to help out, <http://wiki.tcl.tk/9237>
- Using Tcl to manage your mailbox the procmail way (but simpler):
- Now this is a true little gem: scrolling multiple widgets in
parallel, with just a few lines of code, <http://wiki.tcl.tk/9254>
Heavyweight technical pages:
- Embedding Tcl/Tk into a C program, it has been written down many times,
but let us face it, if you want to be complete, you have to take your
time - <http://wiki.tcl.tk/2074>.
- Drag and drop is not easy, however clean it may look from the user's
point of view. Take a look at <http://wiki.tcl.tk/571>
- Microjustification is a technique for typesetting text in a really
neat fashion. Here is one implementation in Tcl -
Games, toys and education:
- How to generate a maze. A piece of cake - sse for yourself at
- Okay, here is one from yours truly, a very simple version of
the famous program Eliza - <http://wiki.tcl.tk/9235>
- And let us round it of with a small toy for those iPaqs (with
many more to be found on the Wiki!) - draw a triangle and
move the corners around. Just go to <http://wiki.tcl.tk/9281>
Everything you want is probably one or two clicks away in these pages:
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 documents 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 documentation, 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:
An alternative is
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.
to post comments)