Re: 2 questions about working with tmux

2011-01-18 Thread Julio Merino
On 1/18/11 4:23 PM, hubert depesz lubaczewski wrote: > did you try it with the test.pl from previous mail? > > the test.pl doesn't truncate anything. Yes it does. Try to attach the session, shrink the window to 10 characters, detach it, wait for a message to be printed, attach it and then grow

Re: 2 questions about working with tmux

2011-01-18 Thread Nicholas Marriott
i don't like the reflow behaviour but if someone implements it i'll take a look On Tue, Jan 18, 2011 at 04:02:24PM +, Julio Merino wrote: > On 1/12/11 4:30 PM, hubert depesz lubaczewski wrote: > > [...] > > when I then attach to the terminal, all lines that have been *already* > > outputted

Re: 2 questions about working with tmux

2011-01-18 Thread hubert depesz lubaczewski
On Tue, Jan 18, 2011 at 04:02:24PM +, Julio Merino wrote: > On 1/12/11 4:30 PM, hubert depesz lubaczewski wrote: > > [...] > > when I then attach to the terminal, all lines that have been *already* > > outputted by test.pl, are badly wrapped:, and it looks like this: > > Wed Jan 12 17:19:16 20

Re: 2 questions about working with tmux

2011-01-18 Thread Julio Merino
On 1/12/11 4:30 PM, hubert depesz lubaczewski wrote: > [...] > when I then attach to the terminal, all lines that have been *already* > outputted by test.pl, are badly wrapped:, and it looks like this: > Wed Jan 12 17:19:16 2011 : > -- > --

Re: 2 questions about working with tmux

2011-01-14 Thread Nicholas Marriott
okay committed to openbsd will be in sf later On Fri, Jan 14, 2011 at 11:16:29PM +0100, hubert depesz lubaczewski wrote: > On Fri, Jan 14, 2011 at 09:21:06PM +, Nicholas Marriott wrote: > > did you get this working? > > yes. with sh autogen.sh. > > worked. > > Best regards, > > depesz >

Re: 2 questions about working with tmux

2011-01-14 Thread hubert depesz lubaczewski
On Fri, Jan 14, 2011 at 09:21:06PM +, Nicholas Marriott wrote: > did you get this working? yes. with sh autogen.sh. worked. Best regards, depesz -- Protect Your Site and Customers from Malware Attacks Learn about

Re: 2 questions about working with tmux

2011-01-14 Thread Nicholas Marriott
did you get this working? On Thu, Jan 13, 2011 at 11:36:44AM +0100, hubert depesz lubaczewski wrote: > On Wed, Jan 12, 2011 at 09:43:35PM +, Nicholas Marriott wrote: > > try this, against CVS HEAD > > got cvs head, applied patch, but I don't know how to compile it. > > there is no "configu

Re: 2 questions about working with tmux

2011-01-13 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 09:32:00PM +, 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

Re: 2 questions about working with tmux

2011-01-13 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 09:43:35PM +, Nicholas Marriott wrote: > try this, against CVS HEAD got cvs head, applied patch, but I don't know how to compile it. there is no "configure", only "configure.ac". I tried to "autoconf", but it errored out: =$ autoconf configure.ac:7: error: possibly u

Re: 2 questions about working with tmux

2011-01-13 Thread hubert depesz lubaczewski
On Wed, Jan 12, 2011 at 09:32:00PM +, 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

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