#!/bin/sh
#\
test -f ../demos/cat_env.sh && . ../demos/cat_env.sh
#\
P=$PWD; DIRN=`dirname $0`; cd $DIRN; XP=`pwd`; cd $P
#\
if [ -z "$CAT_LIBRARY" ] ; then
#\
   WISH=cat_wish; L=`dirname $XP`; CAT_LIBRARY="$L/lib/cat" ; export CAT_LIBRARY
#\
   else WISH=$CAT_LIBRARY/../bin/cat_wish
#\
fi
#\
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${INSTALL_TARGET}/lib:/vlt/APR2003/tcltk/lib:/vlt/APR2003/tcltk/lib/itcl:/usr/X11R6/lib"
#\
exec $WISH "$0" ${1+"$@"}
# --------------------------------------------------
source test.tcl


puts "auto_path = $auto_path"
util::setXdefaults
wm withdraw .

PreviewPlot .pp -file test.preview
tkwait window .pp
exit


