#!/bin/csh
set name=mapmaker
set program=`which $name`
set xoptions="-sb -sl 1000 +j +mb -si -sk -title $name"
#set fontsize="-fn terminal -fg black -bg lightGrey -geometry 80x54+35+25"
set fontsize="-fg black -bg lightGrey -geometry 80x54+35+25"

echo "Running $name in xterm..."
if (-e $OPENWINHOME/bin/xterm) then
	exec $OPENWINHOME/bin/xterm  $xoptions $fontsize -e $program $*
else if (-e $OPENWINHOME/demo/xterm) then
	exec $OPENWINHOME/demo/xterm $xoptions $fontsize -e $program $*
else
	exec xterm $options $fontsize -e $program
endif
