* re-enable TERM= checking

This commit is contained in:
Jeff Carr 2011-10-28 12:51:58 -04:00
parent b18499a8c9
commit 85b5e22860
1 changed files with 8 additions and 2 deletions

View File

@ -26,7 +26,10 @@ export LANG=C
export LANGUAGE=C
export LC_ALL=C
#setterm -blength 0
if [ "x$TERM" = "x" ]
then
setterm -blength 0
fi
#if [ $DISPLAY ] ; then
# xset b off
@ -36,7 +39,10 @@ alias rscp="rsync -av --progress --inplace"
export PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
export EDITOR=vim
stty -echoctl
if [ "x$TERM" = "x" ]
then
stty -echoctl
fi
unset VIMINIT