first previous next last contents

Tk_utils Library

The tk_utils library provides basic Tcl and Tk extensions suitable for all applications. The common components of the programs, such as the text output display, keyed lists, and the configuration file handling are contained within this library.

The stash executable is a modified version of wish that contains these commands. When not using stash the Tcl load command must be used to dynamically link the library. From wish it is necessary to use the following startup code:

lappend auto_path $env(TKUTILS_LIBRARY)
catch {load libmisc.so}
catch {load libread.so}
load libtk_utils.so

The above assumes that the TKUTILS_LIBRARY and LD_LIBRARY_PATH environment variables have been set correctly. These are automatically done if the package initialisation files (`staden.profile' or `staden.login') are sourced.

Once either stash or a boot-strapped wish is running the tk_utils library code is available.


first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_2.html