Discussion:
[iterm2-discuss] some sessions auto-close on disconnect others stay open.
'The Cadillac Kid' via iterm2-discuss
2018-09-25 13:00:02 UTC
Permalink
a couple buiolds back it seemed a feature was implemented that was very helpful, and now it is gone.  

some of my sessions are simply to open a terminal window into the Mac OSX prompt and I enter my own commands, ssh etc.. 
when an ssh session disconnects  i just go back to my term prompt and can still acroll back.
I hae other profiles which log directly to servers due to long ssh commands..  if one of those goes defunct, the window closes and all the ascroll back data is lost. for a short while when one of those sessions closed, iterm told me the ssh had disconnected and i had 2 redlines on the screen at the point where it died..  I also had the option to restart the session..  when I restarted, then all my scroll data was preserved..  how do I get that behaviour to be the norm for those certain profile entries?  as of lately its back to the old ways where the window just disappears if I lose the ssh..
I want to keep the tab open until I close it.  sometimes these sessions are parts of a screen split layout I dont want to rebuild each time I lose one..

I work remotely on Cellular quite a bit so disconnects happen..
-Christopher
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
George Nachman
2018-09-25 22:35:08 UTC
Permalink
Make sure all your profiles have **Prefs>Profiles>Session>Automatically
close a session when it ends** set to Never. That should be the only change
you need to ensure you are always prompted.

On Tue, Sep 25, 2018 at 6:00 AM 'The Cadillac Kid' via iterm2-discuss <
Post by 'The Cadillac Kid' via iterm2-discuss
a couple buiolds back it seemed a feature was implemented that was very
helpful, and now it is gone.
some of my sessions are simply to open a terminal window into the Mac OSX
prompt and I enter my own commands, ssh etc..
when an ssh session disconnects i just go back to my term prompt and can
still acroll back.
I hae other profiles which log directly to servers due to long ssh
commands.. if one of those goes defunct, the window closes and all the
ascroll back data is lost. for a short while when one of those sessions
closed, iterm told me the ssh had disconnected and i had 2 redlines on the
screen at the point where it died.. I also had the option to restart the
session.. when I restarted, then all my scroll data was preserved.. how
do I get that behaviour to be the norm for those certain profile entries?
as of lately its back to the old ways where the window just disappears if I
lose the ssh..
I want to keep the tab open until I close it. sometimes these sessions
are parts of a screen split layout I dont want to rebuild each time I lose
one..
I work remotely on Cellular quite a bit so disconnects happen..
-Christopher
--
You received this message because you are subscribed to the Google Groups
"iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...