From 4d5f34017c5c38d56135fc01e90b9c4ebaa131ad Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 23 Mar 2015 11:22:03 -0400 Subject: [PATCH] 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. --- customizing/fred/scripts/ssh.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.34.1