#!/bin/sh
if [ "$DISPLAY" = "" ]
then
	clear
	cat << EOF
		       Boston Library Consortium
	
	Type "MIT" when prompted for a username.  Exit with the 
	last menu item at the top level;  each library system within
	the consortium may have different exit procedures; note
	them before connecting!

EOF
	echo -n "Do you wish to connect to the BLC gateway now? [y/n] "
	read answer 
	case $answer in

		[Yy]|[Yy][Ee][Ss])
			telnet tulips.lib.tufts.edu
			;;

		*)
			;;
	esac

else

	xwud -noclick $HFLAGS -in $HELP/blchelp.xwd&
	XWUD=$!
	  xterm -name telnet -T 'BLC Gateway' $TFLAGS \
	  -e telnet tulips.lib.tufts.edu
	kill -13 $XWUD

fi
exit 0
