tmux config: cannot "bind -t vi-copy C-PPage"

2011-01-18 Thread clemens fischer
Hi, tmux github version from today (the master branch), on Linux 2.6.36.3-spott i686 and rxvt-unicode-256color-9.07-10. I have the following lines in $HOME/.tmux.conf: bind-key -t vi-copy C-PPage page-up bind-key -t vi-copy C-NPage page-down bind-key -t vi-copy C-Up page-up bind-key -t v

Re: Per-session current directory

2011-01-18 Thread Julio Merino
On 1/18/11 5:25 PM, Nicholas Marriott wrote: > On Tue, Jan 18, 2011 at 04:42:00PM +, Julio Merino wrote: >> On 1/18/11 4:28 PM, Nicholas Marriott wrote: >>> suppose could update s->cwd on attach but it doesn't do much good if you >>> switch your client plus if you attach somewhere else then sud

Re: Per-session current directory

2011-01-18 Thread Nicholas Marriott
On Tue, Jan 18, 2011 at 04:42:00PM +, Julio Merino wrote: > On 1/18/11 4:28 PM, Nicholas Marriott wrote: > >suppose could update s->cwd on attach but it doesn't do much good if you > >switch your client plus if you attach somewhere else then suddenly your > >cwd is gone > > > >better might be t

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: Per-session current directory

2011-01-18 Thread Nicholas Marriott
suppose could update s->cwd on attach but it doesn't do much good if you switch your client plus if you attach somewhere else then suddenly your cwd is gone better might be to use the cmd client cwd, eg try this (untested) Index: cmd-new-window.c ==

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 : > -- > --

Per-session current directory

2011-01-18 Thread Julio Merino
Hello, I am trying to migrate from screen to tmux but I find its "current directory" behavior to be quite irritating. It actually makes tmux painful to use in my situation. My use case: I have a bunch of per-project directories in ~/os//. When I want to work on a project, I go into ~/os/foo