Robert> The unconditional sourcing of ~/.scottyrc containing personal
Robert> definitions is probably very useful when scotty interprets tkined
Robert> scripts, but tkined is not the only scotty/Tnm application. If someone
Robert> uses another scotty application together with tkined, the ability of
Robert> not sourcing ~/.scottyrc may be useful as the new application may
Robert> interact badly with the code in ~/.scottyrc (e.g. an SNMP agent is
Robert> such a scotty application where the sourcing is not needed and could
Robert> cause problems).
Do you have a suggestion how the Tnm extension should decide if it
should source ~/.scottyrc or not? Checking tcl_interactive is not a
solution because I like to have a mechanism to load user specific
definitions that make sense for interactive and non-interactive
scripts. Ideas welcome.
Juergen
-- Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw Computer Science Department, University of Twente, (Fax: +31-53-489-3247) P.O. Box 217, NL-7500 AE Enschede, The Netherlands. (Tel. +31-53-489-3678)