On Wed, Jan 12, 2011 at 09:32:00PM +0000, Nicholas Marriott wrote:
> someone else asked for a way to set the initial size but they didn't
> really give a convincing use case so i didn't do it
> 
> what you can do to get it the right size is do
> 
> tmux new\; detach
> 
> rather than new -d
> 
> you can resize the panes after you've created them
> 
> tmux new -d\; splitw -d\; resizep -U 100\; resizep -D 1\; attach

After running this command, I get tmux with this layout:
=$ tmux list-panes
0: [319x40] [history 0/100000, 0 bytes]
1: [319x55] [history 0/100000, 0 bytes]

> or alternatively
> 
> tmux new -d\; splitw -d\; set -g main-pane-height 2\; selectl 
> main-horizontal\; set -u main-pane-height\; attach

=$ tmux new -d\; splitw -d\; set -g main-pane-height 2\; selectl 
main-horizontal\; set -u main-pane-height\; attach
unknown option: main-pane-height

I'll upgrade to newest version, and retry (now I'm on 1.3)

Best regards,

depesz

-- 
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: dep...@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to