Re: What to "expect".... ?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: What to "expect".... ?

From: dushkin <dushkin@012.net.il>
Date: Sun May 29 2005 - 11:12:53 CEST

More info...
I tried the following statements:

TclEvalCmd ("expect -i exp_spawn0 \"Connecting to\" {set ans_num 2}")
- Worked well !!!
TclEvalCmd ("expect -i exp_spawn0 \"yes\" {set ans_num 2}") - Didn't
work !!!

What is going on here?!?!? Is "yes" some kind of a keyword or
something?...
Received on Thu Sep 29 14:19:36 2005