Re: [tkined] scotty-2.1.10 released

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Thu, 1 Oct 1998 08:33:06 +0200

>>>>> Rachmat Kosasih writes:

Rachmat> I was successfully installed Tcl/Tk 8.0.3, and the
Rachmat> scotty-2.10 in my linux box (RedHat 4.2, Pentium 120, 24 MB,
Rachmat> xircom ethernet card). But I still have problem with
Rachmat> asynchronous snmp get. The problem is that when using
Rachmat> asynchronous snmp get, it seems that the call back script
Rachmat> will never run unless I do snmp wait or send a synchronous
Rachmat> snmp call. This only happen when Tnm is loaded from Tcl 8.0
Rachmat> not when using scotty. Is there any thing I should do to
Rachmat> avoid snmp wait command ?

The only real difference between the scotty executable and the tclsh
is that scotty is always event driven. Tclsh is started in a non-event
driven mode until you force it to process events. This is usually done
by calling `vwait forever' once the script has been loaded. The `snmp
wait' command is similar to `vwait forever' with the exception that it
only processes SNMP events. (I think the current behaviour of tclsh is
odd and confusing, but folks at Scriptics could not be convinced to
change their minds.)
Juergen

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.