|
Why does Tk look bad on linux? I'm running Ubuntu. Tk looked great on Windows XP. Now when I run a Tk app in linux it looks bad. That's quite strange. I would've expected it to look better on Linux. That's its home turf. ... 26 Jul 2006 03:13
expect send command... Hello All, I have this simple expect telnet script which i would like to add to: I would like to send a ping command to a bunch of hosts once i am telneted into that machine server01. Any suggestions,,,Thanks, #!/usr/local/bin/expect -- set timeout -1 spawn telnet server01 expect "*ogin: *" send "usern... 20 Jun 2006 14:47
Inverse sin/cos/tan Hello. Please excuse what must be a silly question. :) I have values that represent sin & cos of an angle. I need to compute the angle itself. How do I use the 'expr' command to calculate inverse sin? Thanks, CJ ... 24 May 2006 13:54
One question with list Hello ,Here I have a problem with list. I have many lists, for example list1 list2 list3 list4 and I want to puts the value of everylist for {set i 0} {$i<4} {incr i} { set j [llength $list$i] .......................................... } Then it will meet a error , can not find list. I've tr... 19 May 2006 18:36
CASE bash question; Hi all, based on the number of month I get from the code before I must take some decision. For several month I must take the same action. Is it possible to group choices related to the same action? I mean, may I write this code case $month in 1,2,3) echo "1st quarter";; 4,5,6) echo "2nd quarter";; 7,8,9)... 18 May 2006 07:42
tcl/expect editor Hi Looking for a editor to tcl/expect, that has syntax highlightning and syntax error highlitning? I didnet find anything so i started to program one my self in java... but have some problems with error. Im not so good in expect so dont really know how to wright the logic. I have read something about lexer an... 11 May 2006 10:47
I cannot understand this Tcl syntax ... I cannot figure out what the following syntax refers to: for {set i 0} {$i < $hist_info(maxcol)} {incr i} { set_hist_color $i $hist_info(color,$i) } I understand the for-statement where the index-variable "i" is initialized to 0, the conditional statement limiting its values range, and the increme... 11 May 2006 10:15
Need some Expect help I have a script that uses expect, that works as "expected" under wish8.0 (Expect version 5.28.1) but when upgraded to wish8.3 (Expect version 5.39.0), the same commands are giving errors that I can't explain...can someone help. Here's the barebone code that is giving me the error: "spawn telnet $ioc" s... 3 May 2006 09:31
Expect problem I Have an expect script which keeps failing with the error Send: spawn id exp4 not open while executing "send -s "\r" In my understanding it is failing because the process it is trying to launch is not started yet. Is this correct... please see my code.... set Prompt "RNC* " while {1} { ##------------------... 26 Apr 2006 08:11
vertical text? HI, I just stumbled over an issue that takes place in all Tk widgets where text can be displayed (label, button, canvas etc...) - there seems to be no way to change the direction of the text. If I - for instance - want to have the text displayed vertically, to read from bottom to top, so that each letter of the ... 26 Apr 2006 08:11 |