On Tue, Mar 13, 2018 at 11:59 AM, Vincenzo Romano < [email protected]> wrote:
> 2018-03-13 17:52 GMT+01:00 Matt Zagrabelny <[email protected]>: > > > > > > On Tue, Mar 13, 2018 at 6:54 AM, Vincenzo Romano > > <[email protected]> wrote: > >> > >> Hi all. > >> I am looking for a solution to get the terminal persistent in case of > >> network failre. > >> I mean, I don't want the user to be able to spawn multiple virtual > >> terminal but rather > >> to get the ability to reattach to terminal over a dead connection. > >> > >> Is there a way to do this with tmux? > > > > > > Spawn tmux on the remote side and attach to it when you reconnect. > > I already know how to do this with screen, tmux and byobu. > What I was asking is: > > > I don't want the user to be able to spawn multiple virtual terminal > Umm. That seems like a strange constraint and I'm guessing one that tmux doesn't have a default config mechanism for. However, you could have some logic in their shell rc file to attach to an existing session if it exists - else let them spawn a new session. -m -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
