Re: [PATCH] New option to get cwd of new windows from active window

2011-12-06 Thread Matthias Lederhofer
Romain Francoise wrote: > +Set the default working directory for new processes. If empty (the > +default), the working directory is determined dynamically from the > +calling context: when called from keys or the command prompt the working > +directory of the process living in the active window is

Re: set-titles not working

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 08:20:23PM +, Nicholas Marriott wrote: > Can you run "tmux info" and send the output? laphroaig {norm} [15:36:06] <~> tmux info tmux 1.5, pid 2141, started Tue Dec 6 10:31:27 2011 socket path /tmp//tmux-1000/default, debug level 0 system is Linux 3.1.0-1-amd64 #1 SMP

Re: set-titles not working

2011-12-06 Thread Nicholas Marriott
Can you run "tmux info" and send the output? On Tue, Dec 06, 2011 at 02:13:12PM -0500, Josh Audette wrote: > On Tue, Dec 06, 2011 at 02:03:45PM -0500, Josh Audette wrote: > > On Tue, Dec 06, 2011 at 09:32:35AM +, Nicholas Marriott wrote: > > > What is TERM set to outside tmux? > > > > > > Yo

Re: autoclosing windows

2011-12-06 Thread Jon Johnson
On Tue, Dec 6, 2011 at 11:02 AM, Iain Morgan wrote: > On Tue, Dec 06, 2011 at 10:35:09 -0600, Jon Johnson wrote: >> Hi, >> >> I recently switched to using tmux from screen and have been loving it, >> but I've noticed something that seems peculiar to me. I've done some >> google searching and haven

Re: set-titles not working

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 02:03:45PM -0500, Josh Audette wrote: > On Tue, Dec 06, 2011 at 09:32:35AM +, Nicholas Marriott wrote: > > What is TERM set to outside tmux? > > > > You are probably using a terminal which does not correctly have the XT > > option set in terminfo so tmux doesn't know it

Re: set-titles doesn't work FSR

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 01:45:45PM -0500, Josh Audette wrote: > Hi all, > > I've been fighting with this on and off for awhile. Not sure what to > try next, so I'm emailing this list. Hope it's the right place. Apologies for the dup. email (I thought the original did not get through) and thanks

Re: set-titles not working

2011-12-06 Thread Josh Audette
On Tue, Dec 06, 2011 at 09:32:35AM +, Nicholas Marriott wrote: > What is TERM set to outside tmux? > > You are probably using a terminal which does not correctly have the XT > option set in terminfo so tmux doesn't know it is able to set the > title (this was changed recently to be more strict

Re: Mouse-resize-pane and mode-mouse issues

2011-12-06 Thread marcel partap
> Thanks for your replies, I'll wait to see if a version of this patch will be > included in tmux, otherwise, I'll patch myself. The patch as posted works fine as is, have not had any problems. It has some debug code still in that i will rip out ASAP, but please test if it works for you. #regards

set-titles doesn't work FSR

2011-12-06 Thread Josh Audette
Hi all, I've been fighting with this on and off for awhile. Not sure what to try next, so I'm emailing this list. Hope it's the right place. Just got a new laptop, installed Debian testing/Wheezy-amd64 on it. tmux and xterm installed from packages: laphroaig {root} [12:59:33] <~> dpkg -l tmux

Re: [PATCH] New option to get cwd of new windows from active window

2011-12-06 Thread Romain Francoise
marcel partap writes: > ..just for reference, from konsole/src/ProcessInfo.cpp, includes omitted: > [...] Thanks, that was useful. -- Romain Francoise http://people.debian.org/~rfrancoise/ -- Cloud Services Checklist

Re: [PATCH] New option to get cwd of new windows from active window

2011-12-06 Thread Romain Francoise
Nicholas Marriott writes: > Ok, so OpenBSD should have a way to do this soon, either a new > second-level sysctl KERN_PROC_CWD or a new third-level under > KERN_PROC_ARGS. Don't worry about that though, let's move forward with > your diff and I'll add OpenBSD when my code goes in. Awesome, thank

Re: [PATCH] honor and export $PWD

2011-12-06 Thread Matthias Lederhofer
Nicholas Marriott wrote: > If you start PWD with it already in the environment, it is marked as > exported - this is the same as any other variable: Ah, ok. Anyway it shows that ksh uses $PWD as any other shell, even though it doesn't export it by default. > For your use, you want to be able to

Re: autoclosing windows

2011-12-06 Thread Iain Morgan
On Tue, Dec 06, 2011 at 10:35:09 -0600, Jon Johnson wrote: > Hi, > > I recently switched to using tmux from screen and have been loving it, > but I've noticed something that seems peculiar to me. I've done some > google searching and haven't been able to determine if this is > supposed to be happe

Re: autoclosing windows

2011-12-06 Thread Jon Johnson
I'm using csh and TMOUT is undefined. On Tue, Dec 6, 2011 at 10:56 AM, SamLT wrote: > On Tue, Dec 06, 2011 at 10:35:09AM -0600, Jon Johnson wrote: >> Hi, >> >> I recently switched to using tmux from screen and have been loving it, >> but I've noticed something that seems peculiar to me. I've done

Re: autoclosing windows

2011-12-06 Thread SamLT
On Tue, Dec 06, 2011 at 10:35:09AM -0600, Jon Johnson wrote: > Hi, > > I recently switched to using tmux from screen and have been loving it, > but I've noticed something that seems peculiar to me. I've done some > google searching and haven't been able to determine if this is > supposed to be hap

autoclosing windows

2011-12-06 Thread Jon Johnson
Hi, I recently switched to using tmux from screen and have been loving it, but I've noticed something that seems peculiar to me. I've done some google searching and haven't been able to determine if this is supposed to be happening or is just something particular to my setup. Any enlightenment wou

RE: Mouse-resize-pane and mode-mouse issues

2011-12-06 Thread Florian Crouzat
Nicholas Marriott wrote onĀ 2011-12-06: > I guess ncurses just do this with a queue and consuming them into to > build a mask which you could probably do too, but I'd have to go poke > around in the ncurses code to see for sure. > > > On Tue, Dec 06, 2011 at 04:51:46AM +0100, marcel partap wrote: >

Re: set-titles not working

2011-12-06 Thread Nicholas Marriott
What is TERM set to outside tmux? You are probably using a terminal which does not correctly have the XT option set in terminfo so tmux doesn't know it is able to set the title (this was changed recently to be more strict). On Wed, Nov 30, 2011 at 09:28:28PM -0500, Josh Audette wrote: > I've bee

set-titles not working

2011-12-06 Thread Josh Audette
I've been working on this problem on and off all day, and I just can't seem to find a solution, so I think it's time to ask here. I've got Debian testing/Wheezy amd64 installed on this new Thinkpad T420. tmux 1.5 and xterm 276 installed from Debian packages. show -g says set-titles on set-titles

Re: [PATCH] New option to get cwd of new windows from active window

2011-12-06 Thread Nicholas Marriott
Ok, so OpenBSD should have a way to do this soon, either a new second-level sysctl KERN_PROC_CWD or a new third-level under KERN_PROC_ARGS. Don't worry about that though, let's move forward with your diff and I'll add OpenBSD when my code goes in. It's clear it can be made to work on most platforms

Re: [PATCH] honor and export $PWD

2011-12-06 Thread Nicholas Marriott
On Tue, Dec 06, 2011 at 07:43:18AM +0100, Matthias Lederhofer wrote: > Nicholas Marriott wrote: > > Well, not necessarily, ksh for example does not export PWD. > > I could not verify this (on openbsd): > > matled@openbsd:~% ksh If you start PWD with it already in the environment, it is mark

Re: Mouse-resize-pane and mode-mouse issues

2011-12-06 Thread Nicholas Marriott
I guess ncurses just do this with a queue and consuming them into to build a mask which you could probably do too, but I'd have to go poke around in the ncurses code to see for sure. On Tue, Dec 06, 2011 at 04:51:46AM +0100, marcel partap wrote: > phew, mind twisting TAILQ_* macros..but it