# determine terminal D_TERM=`tty | perl -e 'print /tty/ ? "vt220" : "xterm-color"'` TERM=${D_TERM}