Re: scotty commands in tk

Juergen Schoenwaelder (schoenw@gaertner.de)
Fri, 23 May 1997 08:51:37 +0200

dinesh@newsnet.com.au (Dinesh Pullat) said:

Dinesh> How can I use scotty commands in a tk/wish script?

Dinesh> Right now, I use the tcl exec command and run each scotty
Dinesh> script in the background!

The scotty program is just a Tcl interpreter which dynamically loads
the Tnm extension and forces the Tcl interpreter to run in an
event-driven mode. To use the "scotty commands" in a wish, just load
the Tnm extension. The proper way to do it is to use the Tcl package
system by putting the line

package require Tnm 2.1

at the top of your wish script.
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.