Re: [tkined] pbs with tcl-tk

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Sun Jul 08 2001 - 21:40:48 MET DST


>>>>> Pete Flugstad writes:

Pete> Silly question:

Pete> Why have a seperate scotty binary at all? Why not just run
Pete> tclsh/wish and "package require Tnm".

This is what I actually do in scripts. The scotty executable still
exists (on Unix) basically of some tradition. ;-)

Pete> I seem to recall something about how the processing loop in Tcl
Pete> is not optimal for SNMP, but I don't recall the details? How
Pete> does this affect you when you use wish+Tnm?

Tclsh is per default not running the event loop. You have to force
tclsh into the event loop, usually by doing a "vwait forever". Scotty
is always running in an event loop.

At some point in time, I was seriously hoping that Tcl folks would
make tclsh event-driven per default and that Tk would be a loadable
module just like everything else. I am not sure this is every going
to happen. But if it does, I will drop scotty as well. ;-)

/js

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



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:27 MET