Start a new topic
Answered

Keep terminal buffer on disconnect

Disconnections can interrupt a terminal session, and sometimes it is important to see the history of what happened in the shell before the disconnection occurred. I have "Keep disconnected tabs open" enabled and "Close tab when session end" disabled, yet after reconnect the terminal buffer is cleared. I don't know whether this happens by design or due to a bug.


Best Answer

Hi Michael,


that's by design. As you mentioned, the history is available as long as you don't close the tab or reconnect the session. After one of those actions, it's gone though.


cheers,

felix


1 person has this question

Answer

Hi Michael,


that's by design. As you mentioned, the history is available as long as you don't close the tab or reconnect the session. After one of those actions, it's gone though.


cheers,

felix

@Felix can you check how apps like ConEmu/Kitty/Putty do it? Even after they get disconnected, if you ask for a re-connect, you keep the buffer as was.

I'm looking for a replacement for Xshell on the Mac platform, and Royal TSX is the best choice so far, but I don't understand since we use iTerm 2 as the terminal plug-in,  why automatically clear the buffer when disconnected.  iTerm 2 is not designed to do that.  I hope the author can seriously consider this feature, after all, most of the products in the market don't do this, users have this need, at least add a switch for users to decide if they want to empty it or not. I'm looking forward to seeing this feature implemented in a future update. Thank you.

Hello Felix, 


Any further update on this topic? 


This is a very important feature, which is supported by other competing products. Hopefully it will be implemented. Very important for users with bad networks, such as firewalls that cause frequent disconnections and can lose context.


Regards, 

Vincent

Login or Signup to post a comment