#!/bin/csh -f
#
#	debugger.csh
#
#	this script is invoked by the pvmd when a task is spawned with
#	the PvmTaskDebug flag set.  it execs an xterm with script
#	debugger2 running inside.
#
#	06 Apr 1993  Manchek
#

if ($#argv < 1) then
	echo "usage: debugger command [args]"
	exit 1
endif

set noglob
set hn=`hostname`
exec xterm -title "${hn}:$argv[1]" -e $PVM_ROOT/lib/debugger2 $argv

