#!/bin/sh
#
#       XTREE.SIMPLE.SH
#       Start utree on X terminal if possible
#       3.04-um klin, Sat May 23 17:39:44 1992
#       Usage:          like utree
#       Options:        like utree
#       Directory:      /usr/local/bin
#
#       SCCSID = @(#) utree 3.04-um (klin) May 23 1992 bin/xtree.simple.sh
#       USAGE  = @(#) Usage: xtree [utree_options]

XT=/usr/bin/X11/xterm           # Path of terminal emulator xterm
UT=utree                        # Utree filesystem browser
TI=utree                        # Title and name for utree window

if test ! -z "$DISPLAY" -a -x $XT
then
  exec $XT -g 80x24 -bw 2 +sb -T "$TI" -name "$TI" -e $UT $@ &
else
  exec $UT $@
fi
