눈바래다

#!/bin/ksh

print "Select a terminal type : "

cat << EOF

 1) vt120

 2) wyse50

 3) ansi

 4) sun

EOF

 

read TERM?"Input the number : "

 

case "$TERM" in

 1) print TERM="vt120";;

 2) print TERM="wyse50";;

 3) print TERM="ansi";;

 *) print TERM="SUN";

esac