RE: escaping a tcl sript gone bad

From: Jonathan Hays (nomad@gfoyle.org)
Date: Sun Dec 21 2003 - 23:39:12 GMT-3


you wrote:
Does anyone know how or if I can escape out of a tcl script once it has
been
excecuted. Specificaly, if I have a script that is pinging a list of
addresses from a list of devices and one of the divices decides not
respond.
The obvious solution is to sit and wait till each ping command times out
but
this can take a quite a long time.

All feedback would be greatly appreciated.

Mike W.
= = =
I will quibble a bit with the accuracy of your subject header, before
suggesting a solution.

The script has not really "gone bad" in that situation, since ping is
working just fine. The target device is simply not responding and you
are getting impatient - nothing has gone bad.

Not that I'm criticizing your impatience. ;-) I just like to split hairs
. . .

I've run into this many times during my own TCL scripts and experienced
the same impatience. Shift+Ctrl+6 6 (that's two sixes) will break you
out of the current ping and go onto the next one. Do this a bunch of
times in a row to get quickly out of the script. If you hold down the
Shift+Ctrl and press 6 6, 6 6, 6 6 . . . you'll bypass the
nonresponders very quickly.

HTH,

Jonathan



This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:43 GMT-3