#! /bin/csh -f

#
# do you accept the license agreement ?
#
source scripts/aliases

	if (! -f LICENSE.TXT) then
		goto ok
	endif
        E "Please read the following license agreement. "
        E "Hit 'ENTER' to continue... "
	get dans
	more LICENSE.TXT

reread:
	E ""
	E -n "Do you accept all the terms of this license agreement (y/n) ? "
	get dans
	if ("X$dans" == Xy) goto ok
	if ("X$dans" == Xn) goto abort
	goto reread

ok:
	exit 0

abort:
	exit 1

