Dr. Dobb's Tcl-URL!
From: | John Seal <sealj@indy.raytheon.com> | |
To: | "Dr. Dobb's Tcl-URL distribution" :; | |
Subject: | Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Jul 7) | |
Date: | 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 Suchenwirth 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 wizards." http://www1.clearlight.com/~oakley/tcl/tkwizard/index.html 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! http://groups.google.com/groups?th=793923099700a7e7 Never spin your wheels in a polling loop when you can twiddle your thumbs waiting for fileevents instead. Your CPU will thank you! http://groups.google.com/groups?th=b5fb044a93f2c09e The advantages of always withdrawing "." are discussed in the last part of: http://groups.google.com/groups?th=781f60d855d06401 Elegant ways of getting a string of dashes as long as another string: http://groups.google.com/groups?th=b67bf3d56387e15b How to associate Windows icons with all your windows: http://groups.google.com/groups?th=3ae58dbbd899c3d4 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]: http://groups.google.com/groups?th=4e14cb9b5c158aa2 Getting stdout from a pipe... sometimes "-buffering line" is important: http://groups.google.com/groups?th=c7175e0dfa816b5e 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): <http://wiki.tcl.tk/9272> - 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 - <http://wiki.tcl.tk/3819> Games, toys and education: - How to generate a maze. A piece of cake - sse for yourself at <http://wiki.tcl.tk/2502> - 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 http://www.purl.org/net/tcl-welcome The Tcl Developer Site is Tcl's "home base". http://www.tcl.tk Larry Virden maintains a comp.lang.tcl FAQ launcher http://www.purl.org/NET/Tcl-FAQ/ 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: http://www.tcl.tk/resource/ The TDX sponsor, ActiveState, also keeps info to convince your boss Tcl is a good thing http://www.tcl.tk/scripting/ The Tcl'ers Wiki is a huge, dynamic, collaboratively edited repository of documentation, examples, tutorials and pontifications on all things Tcl. http://wiki.tcl.tk/0 For the ideal overview of the topics about Tcl most likely to interest a newcomer, see "Arts and Crafts ..." http://wiki.tcl.tk/969 ActiveState maintains binaries distribution and development tools http://www.activestate.com/Tcl along with a Cookbook of Tcl recipes http://aspn.activestate.com/ASPN/Cookbook/Tcl Cameron Laird tracks several Tcl/Tk references of interest http://phaseit.net/claird/comp.lang.tcl/ Cetus Links maintains a Tcl/Tk page with verified links http://www.cetus-links.org/oo_tcl_tk.html Google Groups archives comp.lang.tcl.announce posts http://groups.yahoo.com/group/tcl_announce/ Previous - (U)se the (R)esource, (L)uke! - messages are listed here: http://www.ddj.com/topics/tclurl/ An alternative is http://groups.google.com/groups?oi=3Ddjq&as_q=3D+Tcl-URL!&as_ugroup=3Dcom= p.lang.tcl Suggestions/corrections for next week's posting are always welcome. To receive a new issue of this posting in e-mail each Monday, ask <claird@phaseit.net> 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.