#!/bin/sh
#
# This script is a part of FreeUSP - the UNIX Seismic Processing system.
#
# this script is part of the media-changer software, which is 
# used for automated tape robot operation. (ie. DLT, 8mm, etc.)

DIST_VERSION=`usparg -version "prod" $*`

if test $# -lt 1
then
  echo "ERROR: communications device must be specified (ie. exbcomm /dev/ttya)"
  exit 1
fi

xterm -title 'EXB-10 CHS' -bg black -fg yellow -font 9x15 \
	-fb 9x15bold -e /bin/csh -c "cat ${1}" &

DIST_PRODUCT="chd"

. usp-set-path 

XKEYSYMDB=${APPDIR}/etc/X11R6/XKeysymDB
XLOCALEDIR=${APPDIR}/etc/X11R6/locale

export XKEYSYMDB XNLSPATH XLOCALEDIR

exec ${USP_MONITOR_CMD} ${APP} ${1:+"$@"}
