Re: replace current tmux session

2011-06-13 Thread Stephen Prater
perfect! thanks On Jun 11, 2011, at 5:28 AM, Nicholas Marriott wrote: > Can't you just suspend tmux with C-b ^Z, ssh and then fg it again? > > > > On Mon, Jun 06, 2011 at 09:19:20AM -0500, Stephen Prater wrote: >> pretty much. >> >> On Jun 4, 2011, at 4:27 AM, Nicholas Marriott wrote: >> >>> Lik

Re: replace current tmux session

2011-06-04 Thread Nicholas Marriott
Like the ! key in more? On Fri, Jun 03, 2011 at 10:44:27AM -0500, Stephen Prater wrote: > Actually, I was thinking more along the lines of a tmux "fork" command. > > tmux local-client -> fork child process -> SSH, etc. -> returns to > tmux local when child process dies. > > like if this worked.

Re: replace current tmux session

2011-06-03 Thread Stephen Prater
Actually, I was thinking more along the lines of a tmux "fork" command. tmux local-client -> fork child process -> SSH, etc. -> returns to tmux local when child process dies. like if this worked while true; do tmux detach tmux attach end But, of course, that doesn

Re: replace current tmux session

2011-06-03 Thread Randy Stauner
It certainly isn't magical, but that's what I use the tabs of a gui-terminal for. Currently I use xfce4-terminal, 1 tab for my local machine and 1 tab for my ssh session to $work. Ctrl-PgUp and Ctrl-PgDn switch b/t tabs. I launch my gui terminal from a script when I boot my laptop in the morning a

Re: replace current tmux session

2011-06-02 Thread Nicholas Marriott
This isn't really possible and I'm not sure it is a good idea to make it so - having remote hosts able to control local sounds like a security nightmare. You could maybe rig something up by having the remote host ssh back to the local but it would be fragile... On Thu, Jun 02, 2011 at 01:20:28PM