You are probably running tmux select-layout from the shell and not quoting the layout string so the shell is expanding it. Put single quotes around it.
On Mon, Sep 03, 2012 at 05:30:11PM -0400, Yubin Kim wrote: > Hello, > > In the Windows and Panes section of the tmux man page, you can find > the following statement: > > > In addition, select-layout may be used to apply a previously used > > layout > > - the list-windows command displays the layout of each window in a form > > suitable for use with select-layout. For example: > > > > $ tmux list-windows > > 0: ksh [159x48] > > layout: bb62,159x48,0,0{79x48,0,0,79x48,80,0} > > $ tmux select-layout bb62,159x48,0,0{79x48,0,0,79x48,80,0} > > I've been trying to get this to work with no avail. I'm running tmux > 1.6 and have tried something similar to the following: > > split-window -h > new-window > split-window -v > $ tmux list-windows -F "#{window_layout}" > aa4b,194x48,0,0{97x48,0,0,96x48,98,0} > 9de1,194x48,0,0[194x24,0,0,194x23,0,25] > > select-layout aa4b,194x48,0,0{97x48,0,0,96x48,98,0} > > This produces the usage message: > usage: select-layout [-np] [-t target-window] [layout-name] > > And does not produce the expected behaviour. Am I missing something? > Or is the man page outdated? > > Thank you, > > > Yubin Kim > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users