First  |  Prev |  Next  |  Last
Pages: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Using Expect to automate file transers through Telnet with YMODEM...
I have a telnet device that transfers files using YMODEM, and I would like to use Expect to automate the process of initiating the transfer on the device end and starting rz on the receiving end. There's an example in Exploring Expect that is similar to what I'm trying to accomplish, the differences being that the ... 28 May 2010 13:44
Google Protocol Buffers
Hello all, I am trying to decode Google Protocol Buffers from inside Tcl. (The data format spec is http://code.google.com/apis/protocolbuffers/docs/encoding.html) First, I am looking at decoding the varint (which is the key to most stuff). So far, I have: # find the var int starting at offset i # retur... 1 Jun 2010 11:57
Tk8.6, tile, png images and transparency
Hi, the following code made me wonder, if this is the desired behaviour: toplevel .ff # some small png photo image: set e $myImage set d1 [image create photo -data [$e data -format "png -alpha 0.1"]] ttk::label .ff.l1 -image [list $e disabled $d1] pack .ff.l1 -padx 10 -pady 10 set d2 [im... 30 May 2010 10:00
EuroTcl 2010: Final call !!
Hello !! This is the last call for registration and abstract submission for the 9th EuroTcl conference. Some people told us they will attend the conference, but they still haven't register !! for organisation reasons, PLEASE REGISTER NOW if you haven't done it already ! http://www.eurotcl.org/ - ... 28 May 2010 10:24
Expect Loop Help
I need some help with an expect script to remotely monitor for a login on our PBX. Haven't touched expect in seven or eight years and cannot find my copy of "The Book". The PBX has no tools (cron, at, mail, etc) for me to run locally so I need to establish a single ssh session that checks every five minutes if ... 27 May 2010 20:22
I am seeking help with an Iwidgets problem
I've seen this problem in both Tcl 8.4 and 8.5. The following code is an attempt to distill the problem into a small coherent example. The environment is this: Users have Cygwin on their Windows desktop, ssh into a SPARC Solaris machine, and run the real application on the SPARC, displaying back through Cygwin's... 18 Jun 2010 22:21
tclkit crashes while tclsh85 doesn't
Hi, I'm trying to build a star pack of some tcl code & dll's. 1 is homemade and 1 is tclsqlite3.dll. If I run tclsh85 folder.vfs/main.tcl everything works as expected but when I run tclkit-8.5.8-win32.upx.exe folder.vfs/main.tcl it crashes on using a function from the homemade dll. [info patchlevel] returns... 26 May 2010 16:55
[interp limit] and [vwait]
Hello All, I realise that vwait, like update, is considered harmful - http://wiki.tcl.tk/1255 states: "Code that calls [update] doesn't know what any random event handler might have done to its data while the [update] was in progress." The same can be said for [vwait], because any event handler can fire du... 26 May 2010 04:48
keyword arguments for tcl proc
Hi All, Our work involves modularizing the existing code a bit too much. So we have to write many procedures (procs) which recognizes keyword arguments and call them later. We know, we can implement this feature into tcl procs using switch statement the way we are using now. I agree also many packages are availa... 26 May 2010 05:53
Executing curl from a tcl script
Hi. Can anyone help me to understand why the script shown below will not work as expected? foreach line {CAPEMEND/FOR-UP.AT2 CAPEMEND/FOR000.AT2 CHICHI/CHY025- W.AT2} { exec bash -c "curl -O http://peer.berkeley.edu/smcat/data/ath/$line" } The script goal is to download a set of files (accelerograms) from the... 25 May 2010 14:37
First  |  Prev |  Next  |  Last
Pages: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38