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

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-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: 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 +0000, 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 plu

Re: Per-session current directory

2011-01-20 Thread Julio Merino
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 to use the cmd client cwd, eg try this (untested) Doesn't seem to work