
: getnroff  - called by kshoptions to determine if user wants to include
:		nroff in Keyshell configuration.

:	TNIX version	23JAN84
:	Keyshell Version Number 1

invalid=0
while test $invalid
do
	echo
	echo -n "Will you be using the nroff Text Processing package (y or n)? "
	read INPUT
	case $INPUT in
	Y | y)
		invalid=
		echo "#define _nroff 1" >>$kppdefs
		echo " o  The nroff text formatter is included." >>$kshconfig
	;;
	N | n)
		invalid=
		echo " o  The nroff text formatter is not included." >>$kshconfig
	;;
	*)	echo "Invalid input.  Please enter (y) for yes or (n) for no.";;
	esac
done

