On Wed, Jan 12, 2011 at 09:32:00PM +0000, Nicholas Marriott wrote: > tmux new\; detach
This is great. it does set the size sensibly. > 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 tried it again on tmux-head from cvs, got panes: =$ tmux list-pane 0: [319x40] [history 0/2000, 0 bytes] (active) 1: [319x55] [history 0/2000, 0 bytes] > tmux new -d\; splitw -d\; set -g main-pane-height 2\; selectl > main-horizontal\; set -u main-pane-height\; attach I changed set ... main-page-height to setw but after the above invocation I still get: =$ tmux list-panes 0: [319x39] [history 0/2000, 0 bytes] (active) 1: [319x56] [history 0/2000, 0 bytes] *but* I was finally able to get it working with: tmux new\; splitw -d\; select-pane -t 0\; resizep -U 100\; resizep -D 8\; select-pane -t 1 it gives me layout: 0: [319x10] [history 0/100000, 0 bytes] 1: [319x85] [history 0/100000, 0 bytes] Which is great. The problem that I have now, is that I cannot add "\; detach" at the end, as it breaks the terminal - I can type, but I can't see the letters, can anyone try to: tmux new\; splitw -d\; select-pane -t 0\; resizep -U 100\; resizep -D 8\; select-pane -t 1\; detach state of terminal is really weird - i don't get the first prompt, and commands output is weirdly skewed: =$ 0: [319x10] [history 0/100000, 0 bytes] 1: [319x85] [history 0/100000, 0 bytes] please note that there is no "tmux list-panes" command - it wasn't visible. Best regards, depesz ------------------------------------------------------------------------------ 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