sunder2.1/clan/
sunder2.1/class/
sunder2.1/class/bak/
sunder2.1/doc/ideas/
sunder2.1/gods/
sunder2.1/log/
sunder2.1/msgbase/
sunder2.1/src/o/
sunder2.1/time/
#!/bin/sh
DIALOG=${DIALOG=dialog}
tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$
trap "rm -f $tempfile" 0 1 2 5 15

cat << EOF > $tempfile
Welcome to SunderMud ][. You must view and agree to the applicable
license information before you may use this software. After reading
the license fully. If you do not agree to this license, you should
not compile or use this software in any way.


EOF

TEXT=../doc/LICENSE

cat $TEXT | expand >> $tempfile

$DIALOG --clear --no-shadow --title "License Information" --textbox "$tempfile" 0 0

case $? in
  0)
    echo "Ok";;
  255)
    exit 1;;
esac