Description:
The Tcl programming language and related tools.
|
|
|
Thread question regarding vwait
|
| |
Hello out there, contemplating the design for an upcoming application I implemented a very basic prototype using Tcl's thread package. BTW, it's truly amazing how fast you can get a multi-threading program to work using this package - the errors I had were all due to my insufficient reading of the documentation.... more »
|
|
package require Tk FAILS
|
| |
Howdy, I just upgraded from Fedora 11 to Fedora 12 ( Tcl and Tk are at 8.5.7). It appears that I cannot "package require Tk" from a tcl script anymore... I get a "can't find package Tk" error. I am sure this was not a problem in my older Fedora 11 system. I can get around the problem by using wish instead of tclsh but it is... more »
|
|
IMG compling issue
|
| |
I tried to compile the source from sourceforge for IMG 1.3 on an SB1000 running Solaris 8. I get a number of errors, but one that is particularly common is: "sun.c", line 576: undefined symbol: TK_PHOTO_COMPOSITE_OVERLAY "sun.c", line 576: prototype mismatch: 7 args passed, 6 expected "sun.c", line 685: undefined symbol: TK_PHOTO_COMPOSITE_OVERLAY... more »
|
|
"clock" question
|
| |
I'm a little baffled by the following.. I clock scan the string "00:00:00" with the gmt flag set and I get an epochal time consistent with the *previous* day. By epochal time I mean time in seconds since Jan 1, 1970 These commands were all executed within a few seconds of each other $ wish (Tcl/Tk 8.4)... more »
|
|
Using snack with -blocking
|
| |
Two questions about the Snack extension. First, is anyone maintaining it, these days? Second, I've created a sound as an aiff file, and I'm playing it back in tkcon like this: set s [snack::sound -file test.aiff] $s play It doesn't always play back the entire sound; and if I do this: $s play -blocking yes... more »
|
|
IMG question
|
| |
I was playing around with the IMG package (in conjunction with Tcl/Tk 8.4 ) and I have one issue that I can't seem to get around. I'm using Img to capture a window and create a GIF file. The widget allows the user to select among print options with a menubutton. The problem is that it seems no matter... more »
|
|
Ann: kbs 0.4
|
| |
kbs -- kitgen build system (version 0.4 for tcl/tk 8.5.8 and 8.6b1) ========================== The system can generate [Tclkit] and [Tclkit Lite] executables, Tcl packages, starkits and starpacks for different operating systems. Additional documentation can be found under <[link]> Sources and pre compiled binary interpreters are available from... more »
|
|
OT: Accessing the results of gcc's parse
|
| |
Hello out there, I once read about a tool (maybe even OS?) which somehow extracted or otherwise obtained the result of gcc parsing a C file. This tool then used the information to - whatever. Getting hold of this parse information would interest me, too - might be easier than perfecting my own parser to handle the darker corners... more »
|
|
question about logger and logging to a file
|
| |
I am trying to get logger to log to a file and found the below on the wiki at: [link] my question is this the corret/prefered way to do this? A basic example of logging to a file: package require logger proc log_to_file {lvl txt} { set logfile "mylog.log" set msg "\[[clock format [clock seconds]]\] $txt"... more »
|
|
Tcl-URL! - weekly Tcl news and links (Nov 20)
|
| |
QOTW: "If all your 3-year-old has is a hammer, watch out for the furniture." - Donal K. Fellows, on a newly fashionable non-Tcl language, or perhaps on ADTs more generally [link] Thanks to Arjen Markus for his weekly summary of Wiki activity:... more »
|
|
|