From 85b5e2286019e0a456a2dd3c975a2a32ec5de1c1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 28 Oct 2011 12:51:58 -0400 Subject: [PATCH] * re-enable TERM= checking --- loadbot/.jcarr/.bashrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/loadbot/.jcarr/.bashrc b/loadbot/.jcarr/.bashrc index dcee626..cf84ad5 100644 --- a/loadbot/.jcarr/.bashrc +++ b/loadbot/.jcarr/.bashrc @@ -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