I'm trying to use tmux as a fanout mechanism for sending my input to N
servers simultaneously, using the synchronize-panes option.  It works
reasonably well, but I have some questions:

1) Is there a way to specify a window layout ahead of time and make
all new panes automatically adhere to the layout?  If I do a
"split-window CMD" more than a few times in a loop, I eventually get a
"create pane failed: pane too small" error.  A workaround is to call
"split-window CMD; select-layout tiled" in the loop instead, but it
only creates a pseudo-tiled layout (even if the loop length is 16,
which I naturally expect to be a 4x4 tile layout).

2) I'm currently bookending my script with "new-session; <split-window
CMD foreach server>; kill-pane -t 0" but this feels inelegant, any
suggestions on how to improve this?

3) Is there any way to associate a title with a pane, such that when
you navigate to a pane, you can see the title in the status bar?  That
would be nice to have so that if an error happens I can identify the
specific host that is giving me an error in my session (it's not
always possible to get that context in other ways, like when I'm
restarting a server through a management shell).

Thanks,

--Michael

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to