#!/bin/csh -f
#Tag 0x006A0010
#############################################################################
#
# This is the shell script used to launch AutoCAD with dual screen display
#
# Usage:
#	acad_dual
#
# Limitations:
#	The text window will not accept input during AutoCAD configuration.
#	Only works with the GL display driver
#
#############################################################################
#
setenv ACADTEXTDISPLAY	`tty`
setenv _ACAD		"/opt/acad13/bin/acadr13"
#
if ($#argv > 1) then
	#-------------------------------------------------------#
	# Start AutoCAD with an initial drawing and script file #
	#-------------------------------------------------------#
	$_ACAD $argv[1] $argv[2]
else if ($#argv > 0) then
	#--------------------------------------------#
	# Start AutoCAD with an initial drawing file #
	#--------------------------------------------#
	$_ACAD $argv[1]
else
	#---------------#
	# Start AutoCAD #
	#---------------#
	$_ACAD
endif
