Re: finding .tcl files in non-standard locations?

Juergen Schoenwaelder (schoenw@data)
Fri, 30 Sep 94 00:28:10 +0100

Hi!

Danny> we have tkined-1.0.2 library files installed in
Danny> /usr/local/lib/tkined and scotty-1.0.2 library files installed
Danny> in /usr/local/lib/scotty. the Makefile's in both tkined and
Danny> scotty document that the TKINED_LIBRARY environment variable
Danny> can be used to control run-time searching for library files.
Danny> I tried

> setenv TKINED_LIBRARY /usr/local/lib/scotty

Danny> and

> setenv TKINED_LIBRARY /usr/local/lib/tkined:/usr/local/lib/scotty

Danny> neither seemed to work and I couldn't find any reference in
Danny> the code to this environment variable. is this really
Danny> implemented? things do work if I link the .tcl files into
Danny> /usr/local/lib/tkined but I'd like to figure this out so that
Danny> if I add other non-standard .tcl under my home at a later time
Danny> then tkined will find them.

I looked at it and it really did not work. The next patch will be as
follows: The reference to the TKINED_LIBRARY variable is removed from
the scotty sources (I do not see any need to have the tkined search
path in the scotty interpreter).

tkined will respect the TKINED_PATH variable which defines where
additional applications are located. The builtin search directories
are ., ~/.tkined and /usr/local/lib/tkined in that order. This path is
also used to search for bitmap files and tkined.defaults files.

The easiest way to store your own non-standard .tcl files or your own
defaults is to move them to your ~/.tkined directory.

Juergen