First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
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: http://wiki.tcl.tk/6893 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 [... 20 Nov 2009 17:57
Semaphores
Hi all, I am in need of semaphores. I want to synchronize resource access between several processes where one process writes and several other reads that resource. Is there a semaphore extension already existing? (searched long without any success) Thanks, Milad ... 23 Nov 2009 05:13
Whats wrong with that code(II)?
Hi TCLers, I've studied Tcl language syntax several times, but I don't see my fault: % set obrace 3 3 % if {$obrace<0} {return "missing '}'"} extra characters after close-brace Why doest this code throw an error? TCL-Rule [4]: If the first character of a word is double-quote (“"”) then the word i... 20 Nov 2009 14:34
how to revert the canvas(matbe noe displayed or override by other windows) to a image?
I had reviewed we already have some method to snapshot the canvas to image, but how to revert an not displayed canvas(or not toplevel canvas) to a image? what i want to do is: make the display list(which contains oval,rec,polygon,text) drawed in canvas, then revert to in a image, and use this image in other wid... 17 Nov 2009 00:39
Building Tcl CVS head on windows: BOOM 1...
Hi all, I just checkout *everything* from the tcl SF CVS head inside a directory, and I am staring to build it again, using VC 9. So, I open a command prompt and run "buildall.vc": NMAKE : fatal error U1073: don't know how to make '.\Release_VC9\tcl_Dynamic\bncore.obj' Stop. *** BOOM! *** Is there som... 16 Nov 2009 11:15
ttk::progressbar - newbie question
Hi, I am using the ttk::progressbar. I am sending the percent value to increase the progressbar to that "percent value". I would like to have the progressbar move between the values I sent, but I don't know how long it will take to finish the step i.e. to run the code between those 2 values. toplevel .t; :... 16 Nov 2009 06:50
Expect spawn expect
Hi, I have a question about spawn an Expect script from another Expect script. $ cat foo #!/usr/bin/expect -f log_user 0 spawn "./bar" expect { eof { set s [wait] puts "[llength $s]" puts "[lindex $s 0] [lindex $s 1] [lindex $s 2] [lindex $s 3]" if { [llength $s] > 4 } { puts " [lindex ... 13 Nov 2009 03:20
Google's Go language and "goroutines"
Has anyone who understands Tcl 8.6 coroutines looked at Google's new "Go" language and its "goroutines"? (http://golang.org). From the little I know, it seems to me that Tcl 8.6 could support a very similar model of concurrency. ... 22 Nov 2009 21:37
tcl ssh extension library?
Before proceeding let me say yes I know I can use expect and even tcl to call the ssh client executable. Been doing that with success for some. What I would like to find out is if someone has put together a tcl extension that directly accesses the libssh2 libraries. I know that tclcurl says it does but this is f... 11 Nov 2009 15:38
installing the tclxml/3.2 in winxp and activeTcl 8.4.1 version?
Hi, I was trying to install the tclxml/3.2 and went through http://tclxml.sourceforge.net/tclxml/3.2/README.html#installation. But am really confused on wat is it that I have to do to install this. I have ActiveTcl8.4.19.0.285137 installed on my windows XP system. As per instruction, I understood that I must just... 16 Nov 2009 04:41
First  |  Prev |  Next  |  Last
Pages: 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90