Re: 2 questions about working with tmux

2011-01-12 Thread Nicholas Marriott
alright, never mind :-) On Wed, Jan 12, 2011 at 06:55:08PM -0500, mbm329 wrote: > Nevermind, upgraded to the latest version. This has been fixed. My > apologies. > > Mike > > > On Wed, Jan 12, 2011 at 6:45 PM, mbm329 wrote: > > Also of note to the devs, there may be a bug with regards to

Re: 2 questions about working with tmux

2011-01-12 Thread Nicholas Marriott
Doesn't for me, what version on what platform? On Wed, Jan 12, 2011 at 06:45:28PM -0500, mbm329 wrote: > Also of note to the devs, there may be a bug with regards to the > creation and detaching of a session within the same commandline. It > works, but yields the following output. > > $ tmux ne

Re: 2 questions about working with tmux

2011-01-12 Thread mbm329
Nevermind, upgraded to the latest version. This has been fixed. My apologies. Mike On Wed, Jan 12, 2011 at 6:45 PM, mbm329 wrote: > Also of note to the devs, there may be a bug with regards to the > creation and detaching of a session within the same commandline.  It > works, but yields the f

Re: 2 questions about working with tmux

2011-01-12 Thread mbm329
Also of note to the devs, there may be a bug with regards to the creation and detaching of a session within the same commandline. It works, but yields the following output. $ tmux new -s xxx \; detach fatal: main_dispatch: unexpected message Mike On Wed, Jan 12, 2011 at 4:56 PM, mbm329 wrote:

Re: 2 questions about working with tmux

2011-01-12 Thread Patrick Shanahan
* mbm329 [01-12-11 16:56]: > Oops, since you're already attaching because you pretty much _have_ > to, the "attach" can be removed from the line I gave: > > tmux new-session -s xxx 'perl test.pl' \; splitw -v \; split-window -v > \; resize-pane -U -t0 500 \; resize-pane -U -t1 500 \; resize-pane

Re: 2 questions about working with tmux

2011-01-12 Thread mbm329
Oops, since you're already attaching because you pretty much _have_ to, the "attach" can be removed from the line I gave: tmux new-session -s xxx 'perl test.pl' \; splitw -v \; split-window -v \; resize-pane -U -t0 500 \; resize-pane -U -t1 500 \; resize-pane -D -t0 8 \; resize-pane -D -t1 8 \; de

Re: 2 questions about working with tmux

2011-01-12 Thread mbm329
Hi depesz, I too am evaluating tmux to see if it would be a suitable replacement of gnu screen. Your questions are interesting to me as well. As I've only been playing around with tmux for a few days, I decided to attempt a solution for you. I am in no way an expert on this and expect I will be

Re: 2 questions about working with tmux

2011-01-12 Thread Nicholas Marriott
try this, against CVS HEAD Index: cmd-new-session.c === RCS file: /cvs/src/usr.bin/tmux/cmd-new-session.c,v retrieving revision 1.34 diff -u -p -r1.34 cmd-new-session.c --- cmd-new-session.c 4 Jan 2011 00:42:47 - 1.34 +++

Re: 2 questions about working with tmux

2011-01-12 Thread Nicholas Marriott
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 1

Re: 2 questions about working with tmux

2011-01-12 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 12:58:27PM -0500, Patrick Shanahan wrote: > * hubert depesz lubaczewski [01-12-11 11:53]: > > > > that is - I use 3 panels, split horizontally, with the top 2 having > > predefined, fixed height of 10 lines. > > > > Now - I know I can make it myself, but running tmux, do

Re: 2 questions about working with tmux

2011-01-12 Thread Patrick Shanahan
* hubert depesz lubaczewski [01-12-11 11:53]: > > that is - I use 3 panels, split horizontally, with the top 2 having > predefined, fixed height of 10 lines. > > Now - I know I can make it myself, but running tmux, doing the split, and then > manually changing sizes of panes, but I'm looking fo

2 questions about working with tmux

2011-01-12 Thread hubert depesz lubaczewski
hi I'm trying to migrate away from screen (biggest selling point for tmux is (for me) that it doesn't preallocate memory for history). but while working on migration I hit 2 problems that I can't solve. first problem - too small window. I work on rather large terminals, but when I start new *det