Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to set search path for init.tcl?

1,359 views
Skip to first unread message

M.Ranganathan

unread,
Jul 27, 1998, 3:00:00 AM7/27/98
to

How do I set up a search path for init.tcl (if I want to put it in
a non-standard place)?

Thanks.

Ranga.

Alen Schiller

unread,
Aug 2, 1998, 3:00:00 AM8/2/98
to
To change the search path for init.tcl is straightforward.

A Tcl shell initializes itself by sourcing init.tcl:
source [file join $tcl_library init.tcl]

The Tcl C library defines the pathname stored in the $tcl_library variable.
The default can be overriden with the TCL_LIBRARY environment variable.

In the Unix ( and all its flavours) this is easy. Just set the environment
variable TCL_LIBRARY to be wherever your going to store init.tcl before
starting up your application.

Regards,
sc...@dcsnet.com

M.Ranganathan wrote in message <6pj05c$f...@zagnut.cs.umd.edu>...

0 new messages