Re: expect problem
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: expect problem

From: Sektor van Skijlen <ethouris@pl.wp.spamu.lubie.nie.invalid>
Date: Fri Dec 30 2005 - 13:23:09 CET

Dnia 28 Dec 2005 13:12:57 -0800, sivga skrobie:
> I think after the first send to ping the ipaddress failed i need to
> frefresh it .is there a way to refresh

You can use exp_continue to force expect command waiting on.

But you need also some way to see the difference between permanent error and
"temporary error".

-- 
//  _    ___         Michal "Sektor" Malecki <sektor(whirl)kis.p.lodz.pl>
\\ L_ |/ `|  /^\ ,()                         <ethourhs(O)wp.pl>
// \_ |\  \/ \_/ /\ C++ bez cholesterolu: http://www.intercon.pl/~sektor/cbx
"I am allergic to Java because programming in Java reminds me casting spells"
Received on Tue Jan 3 03:09:46 2006