From: Chris Koeritz Date: Mon, 23 Mar 2015 15:22:03 +0000 (-0400) Subject: updated to clear TERM variable also, since whole environment seems to be getting... X-Git-Tag: 2.140.90~686 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4d5f34017c5c38d56135fc01e90b9c4ebaa131ad;hp=0fbca9105a4ed8b3c906c7e2e0b8250db370770d;p=feisty_meow.git updated to clear TERM variable also, since whole environment seems to be getting shipped over first. we want to not think we're still running xterm locally on other side. --- diff --git a/customizing/fred/scripts/ssh.sh b/customizing/fred/scripts/ssh.sh index 196129cb..9dc24198 100755 --- a/customizing/fred/scripts/ssh.sh +++ b/customizing/fred/scripts/ssh.sh @@ -10,6 +10,10 @@ if [ "$TERM" == "xterm" ]; then prior_title="$(xprop -id $WINDOWID | perl -nle 'print $1 if /^WM_NAME.+= \"(.*)\"$/')" fi +# force the TERM variable to a more generic version for other side. +# we don't want the remote side still thinking it's running xterm. +export TERM=linux + if [ ! -z "$keyfile" ]; then \ssh -i "$keyfile" -X -C -c blowfish-cbc $* else