From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Mon Jun 26 2006 - 18:32:57 CDT

On Mon, 26 Jun 2006, John Stone wrote:

JS>
JS> Oliver,
JS> You can open scripts with "source foo.tcl" for example, or
JS> add them to .vmdrc in your home directory, among other methods.
JS> If they are implemented in packages, you can use something like
JS> "lappend auto_path /my/favorite/packages" for example.

please note, for that second option to work, you need to create a
'tclIndex' file in that directory, so that the tcl interpreter knows,
which file to source when you need it.

i usually put a small shell script into these directories to update
that list whenever i copy a new file into it. if they all end in .tcl
the following would work:

#!/usr/bin/tclsh
# recreate the tcl index file for on demand loading.
#
auto_mkindex . *.tcl
############################################################

cheers,
    axel.

JS>
JS> John Stone
JS> vmd_at_ks.uiuc.edu
JS>
JS> On Mon, Jun 26, 2006 at 11:51:15PM +0100, Oliver Inderwildi wrote:
JS> > Could anyone tell me how I can install additional Tcl commands for
JS> > VMD on a MacOS X.
JS> > Would be really grateful for help.
JS> >
JS> > Cheers, Oliver
JS>
JS>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.