#!/bin/sh
#
# A TVLA activation script for UNIX platforms.
# Note that the memory limitation is set to 800MB, using the -mx
# option.
# Last modification: 12.3.2002
################################################################

: ${TVLA_HOME=/usr/local/tvla}
PATH="${PATH}:${TVLA_HOME}/bin:/cygdrive/c/Program Files/ATT/Graphviz/bin"

java -Dtvla.home="$TVLA_HOME" -mx800m -jar $TVLA_HOME/lib/tvla.jar $*

if [ -e $1.dt ] 
then
	echo "Converting output to PostScript..."
	dot -Tps -o$1.ps < $1.dt
fi
