X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Ffunctions.sh;h=071cf47c42a19a328e023d12e952accf21593252;hb=50cbf032de87aead124a5f6566bd1d87610fb40f;hp=a8e00f22364fa04386eabd7b8ef82289806ff661;hpb=c7024b410857b8f1cc727b5eae30fb79a11c5aff;p=feisty_meow.git diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index a8e00f22..071cf47c 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -187,6 +187,7 @@ if [ -z "$skip_all" ]; then # version for the other side (just 'linux'); we don't want the remote side still # thinking it's running xterm. save_terminal_title +echo TERM saved is $PRIOR_TERMINAL_TITLE #hmmm: why were we doing this? it scorches the user's logged in session, leaving it without proper terminal handling. # # we save the value of TERM; we don't want to leave the user's terminal # # brain dead once we come back from this function. @@ -195,7 +196,9 @@ if [ -z "$skip_all" ]; then /usr/bin/ssh -X -C "${args[@]}" # # restore the terminal variable also. # TERM="$oldterm" +echo TERM prior to restore is $PRIOR_TERMINAL_TITLE restore_terminal_title +echo TERM title restored } ##############