I am trying to migrate from screen to tmux. Right now I have a .screenrc: screen top screen tail -f /var/log/messages screen
that opens a number of windows in a screen session which I just run: # screen -x to start. With the above .screenrc I have 3 windows with the third window being the one I open to with a shell prompt. In trying to do the same with tmux, the closest I could come up with is this in a .tmux.conf: new-session -d -s main top # screen top new-window 'tail -f /var/log/messages' new-window But that does not leave me on the third window of the [new] session. And it also creates 2 sessions when I only want one and leaves me on the only window of session 1 and not the third window of session "main". What I want is to just run "tmux" (i.e. at the command prompt, with no other arguments) to start a single session with multiple open windows in it and be active in the third window of that single session. Suggestions? -- 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 view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/e521bc627bd3d1f64e449731ff0675cfc8f2e393.camel%40interlinx.bc.ca.
signature.asc
Description: This is a digitally signed message part
