moving to a better name than FEISTY_MEOW_GENERATED for chewed scripts folder. too...
[feisty_meow.git] / customizing / fred / scripts / ssh.sh
index 9dc24198cd70b803eb9aa144d9af7ebbb6de75a5..f9cdb7ca7275744b561eefd4c4d217681ae4bf6a 100755 (executable)
@@ -2,7 +2,7 @@
 
 # wraps our calling the secure shell and lets us pick our credentials.
 
-source "$FEISTY_MEOW_GENERATED/custom/scripts/pick_credentials.sh"
+source "$FEISTY_MEOW_LOADING_DOCK/custom/scripts/pick_credentials.sh"
 
 # save the former terminal title if we're running in X with xterm.
 prior_title=
@@ -14,6 +14,12 @@ fi
 # we don't want the remote side still thinking it's running xterm.
 export TERM=linux
 
+#hmmm: it would be good to set an interrupt handler here and
+#      trap ctrl-c, since otherwise we are getting exited from and losing a chance
+#      to reset the terminal title.  this actually happens a lot, since some X11
+#      or other background process is left running and the ssh never actually quits,
+#      forcing one to hit ctrl-c.
+
 if [ ! -z "$keyfile" ]; then
   \ssh -i "$keyfile" -X -C -c blowfish-cbc $*
 else