debugging term title again
[feisty_meow.git] / scripts / core / functions.sh
index a8e00f22364fa04386eabd7b8ef82289806ff661..071cf47c42a19a328e023d12e952accf21593252 100644 (file)
@@ -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
   }
 
   ##############