Re: Getting the Agent to work under NT - need tips

Juergen Schoenwaelder (schoenw@gaertner.de)
Wed, 9 Apr 1997 17:37:19 +0200

Milan Vrenjak <milan_vrenjak@usa.racal.com> said:

Milan> I have scotty 2.1.5 running under NT, but just barely.

Milan> I can do management acitivities, gets, sets, mib stuff, and so on.

Milan> Now when I try to get an Agent to work by creating such a
Milan> session I cannot get it to respond. When I do an SNMP get to
Milan> my NT Scotty agent I get noResponse.

Milan> What am I missing?

Make sure you force the Tcl interpreter into the event loop. On UNIX,
you have the scotty binary which does this for you. On Windows, you
have to use the tclsh instead which means that you have to call
something like "vwait forever" in order to force Tcl into the event
loop. My personal opinion is that tclsh should be event driven by
default on all platforms. If you share this opinion, feel free to
complain about this to the Tcl/Tk guys at Sun. If they ever changes
their mind and they include the necessary stuff from the plus patches
to make this work, I would be able do drop the scotty binary on UNIX
as well and we would end up with just a single binary for most Tcl
stuff.
Juergen

-- 
Juergen Schoenwaelder     <schoenw@gaertner.de>     (Tel: +49-531-23873-0)
Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany
--
!! 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.