Dr. Dobb's Tcl-URL!
From: | John Seal <tcl-url-AT-phaseit.net> | |
To: | "Dr. Dobb's Tcl-URL distribution" :; | |
Subject: | Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Mar 9) | |
Date: | Tue, 09 Mar 2004 07:37:03 -0500 |
QOTW: "I would like to state, that I really like the TCL framework for channel and event systems. And the documenttaion is excellent. Just from the man pages I could create a full fledged working channel driver with event source in a day." -- Klaus Robert Suetterlin "Why does I/O have to be so complicated?" -- David Gravereaux POTW: IOCP socket channel driver for WinNT/2K/XP v1.1 by David Gravereaux. "This is the second release of a new sockets channel driver for windows." "[It] uses overlapped I/O with completion ports over the existing Win3.1 style of WSAAsyncSelect." "It has excellent server performance and should be at least 4-6 times faster without any errors when operated as a high load server." http://sf.net/projects/iocpsock http://prdownloads.sourceforge.net/iocpsock/iocpsock-1.1.zip?download Things to keep in mind if you want to run a script from cron: http://groups.google.com/groups?th=c744ef111de9b30b Accessing arrays via upvar and nested $name(key$idx) can seem pretty complicated, but it's really as simple as can be expected once you understand what's going on: http://groups.google.com/groups?th=d4f54b6d51ef4e22 Does [event generate] know about keysyms for keys not in the current keyboard layout? http://groups.google.com/groups?th=fdbe06830b3c8d58 A channel driver writer has questions about multiple interps; the helpful denizens of comp.lang.tcl have answers: http://groups.google.com/groups?th=2eb2a1c08f90b687 Using [switch] to parse command-line options: http://groups.google.com/groups?th=4cfacab094c637fb#link5 Should the [glob] gun always shoot rubber bullets just because you might have it pointed at your foot? The bullets in this case are files that start with ~ and thus look like "home directories", and your foot is [file delete]: http://groups.google.com/groups?th=17c44412d562ee53 TIP #171 proposes to change the default <MouseWheel> bindings to work more like what most users expect: http://groups.google.com/groups?th=b78e8165383cd4 Thanks to Arjen Markus for his summary of Wiki activity: Spring time in the Northern hemisphere! Newly born lambs in the meadows, chicks that got out of the eggs just in time so they won't immediately fall victim with the coming Easter ... And plenty of activity on the Wiki! Techniques - Talking of Easter, here is a way to calculate the date for next year: <http://wiki.tcl.tk/8915> - Do not carry a lot of GIF files around: turn them into Tcl code instead - <http://wiki.tcl.tk/2897> - ... and put all your code into a Tcl-only self-extracting archive: <http://wiki.tcl.tk/11035> - Who needs more than 25 lines of code to work with XML? Well, not Keith Vetter, as he illustrates at <http://wiki.tcl.tk/11020> - Yet another minimal solution: OO techniques in no more than 50 lines, thanks to George Staplin, <http://wiki.tcl.tk/6196> User-interfaces - Here is a Tcl/Tk-based window manager, <http://wiki.tcl.tk/4492>, updated to the latest Tcl flavour - A simple file manager, just what you might be looking for: <http://wiki.tcl.tk/11065>, with a bit of customisation you can probably tune it to your needs. - If all you need is a textual display, maybe you can use this minimal version of "curses", <http://wiki.tcl.tk/10877> which can show a banner taken from <http://wiki.tcl.tk/11058> Round-up - The Tclet plugin can be used with a whole collection of software - catalogued at: <http://wiki.tcl.tk/11066> - Computer scientists can learn a lot from their predecessors: here is a small script by Richard Suchenwirth that analyses simple sentences and allows questions to be asked - <http://wiki.tcl.tk/11062> Everything Tcl-related 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=djq&as_q=+Tcl-URL&as_ugroup=comp.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.