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



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?...

.