First  |  Prev |  Next  |  Last
Pages: 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
How to have access to all tcl procs and vars in a given interpreter
Is there a way to retrieve all the current existing code and variables from an existing interpreter ? One of Tcl's strength is its introspection capability. But how can I achieve this ? Thanks. ... 6 May 2010 16:29
clock microseconds with resolution in milliseconds
Hello, I have stumbled upon a strange behavior of the 'clock microseconds' command. I was trying to do a delay in microseconds (more precise then the after command). The code is: proc uDelay {usec} { # Busy waiting set end [expr {[clock microseconds] + $usec}] while {$end > [clock microseconds]} { # Wa... 12 May 2010 13:35
Ball of String
After a set cmd search command, we end up with $tmp like this (two ldap attributes with their values after the equal signs): {uid=001110001,ou=People,ou=abc,ou=abcd,o=abcde,cn=Users,cn=abcdef {Name=CN=Buggs\\, Bunny D,OU=Users,OU=Corporate,DC=corp}} The two attributes are seperated with a space. The string c... 7 May 2010 12:14
Problem with Expect/netcat/telnet
Hi, I'm having a problem using Expect to script a Telnet session that is front-ended with netcat. I use the following to get things started: spawn netcat -T 10.203.38.68 23 expect "=" send "ACC\r" expect "Password: ? @@@@@@@@" The connection occurs just fine. However, nothing happens after th... 5 May 2010 16:01
TclOO: inspection versus introspection?
One thing I've really come to miss in TclOO from Ruby is the way that you can inspect classes and objects. Tcl typically has used the word introspection to mean 'command used to return information about some aspect of the tcl interpreter's state'. (http://wiki.tcl.tk/9922) and TclOO has extended the "info" command... 5 May 2010 18:15
BLT Tree Performance Question
Hello All, Need advice in a TCL performance area. So basically I have a tree (with large number of rows ~100K) for which very frequently I need to get the count of different "status" values. The status values are known and a finite set of around 10. Here is the code, can it be improved further using a... 11 May 2010 08:55
Examples using expect
Hello all, I am back to Tcl and I am learning expect to automate some back-end processes. After some dabbling I found that expect pretty much fits the bill very nicely. However, I cannot find the book at the bookstores and the sample chapter available online is pretty light on details. Is there a place with m... 10 May 2010 16:32
Tablelist bindings
I have a tablelist table with 3 columns, two of which are editable. By default a single left click (<Button-1>) on an editable cell starts the edit process. This works fine. However I would really like the binding to be <Double-Button-1> to start the edit and single click to browse/select because the table is usual... 6 May 2010 03:06
telnet.tcl?
Dear All I have an application to automate telnet to remote VxWorks node from Windows machine. Can you please show me a simple .tcl code to accomplish this? Thank you in advance ... 5 May 2010 19:22
pwg 1.5.3
Hi, so die Version ist gezippt und liegt im Moment noch auf meiner zdia.de Seite. Wenn du gr�nes Licht gibst, dann lade ich sie auf github hoch. An der Windowsversion muss ich demn�chst noch �sthetisch feilen ... Dann kommt die Linuxversion dran: Wir haben einen furchtbaren Filedialog, einfach greulich,... 6 May 2010 11:54
First  |  Prev |  Next  |  Last
Pages: 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43