Re: Get tmux to respect xterm's tab name

2012-10-01 Thread Alan
On first glance, this works great, it doesn't clobber the icon name and the window title name is set correctly. However, now when I ssh into another machine, the icon name (in the terminal tab) doesn't update to the name of the machine I connected to, while the window title does. Anyhow, thanks f

Re: [PATCH 0/1] Expand/collapse in choose-tree

2012-10-01 Thread Romain Francoise
Thomas Adam writes: > I am not so sure I like this -- I don't mind updating the man page to > detail this more, but I don't think this warrants explanatory text > directly on the screen. Fair enough. It won't be the only awesome feature in tmux that is only discoverable by reading the man page.

Re: [PATCH V2 1/1] Add expand/collapse functionality in choose-tree

2012-10-01 Thread Romain Francoise
Thomas Adam writes: > I've still left the bindings for expand_all and collapse_all unchanged -- > if they need to change, feel free to do so. I suggest using '+' and '-'. Mnemonic and easy to reach. -- Got visibility?

Re: new-window to return tty name?

2012-10-01 Thread Thomas Adam
On 1 October 2012 15:41, Peter Vereshagin wrote: > 'neww' doesn't seem to have the '-F' with 1.6. Does/should it have that > feature in a later, e. g., VCS-stored version? Yes. See: https://sourceforge.net/scm/?type=git&group_id=200378 -- Thomas Adam -

Re: new-window to return tty name?

2012-10-01 Thread Peter Vereshagin
Hello. Cool! I just needed to upgrade tmux version from 1.3. 2012/09/30 23:47:02 +0100 Nicholas Marriott => To Peter Vereshagin : NM> tmux neww -PF'#{pane_tty}' 'neww' doesn't seem to have the '-F' with 1.6. Does/should it have that feature in a later, e. g., VCS-stored version? This thing w

[PATCH V2 1/1] Add expand/collapse functionality in choose-tree

2012-10-01 Thread Thomas Adam
This patch adds the ability to expand/collapse a single session using the spacebar. Likewise, C-Left and C-Right will collapse and expand all sessions, respectively. --- This is the second version of the original patch, which takes Romain's suggestion. Now, spacebar will expand/collapse a singl

Re: [PATCH 0/1] Expand/collapse in choose-tree

2012-10-01 Thread Nicholas Marriott
No it's just an idea, can be done later. On Mon, Oct 01, 2012 at 12:33:18PM +0100, Thomas Adam wrote: > On 30 September 2012 23:50, Nicholas Marriott > wrote: > > Using space is a good idea but definitely don't want any help text > > clutter. It would be nice to make ? key show all the key bindi

Re: [PATCH 0/1] Expand/collapse in choose-tree

2012-10-01 Thread Thomas Adam
On 30 September 2012 19:00, Romain Francoise wrote: > Thanks, I like it. Two minor suggestions: > - the arrow keys are too far to reach for me, using Space to expand or > collapse the items would be nice. I implemented this in the following > patch, as a new toggle action. I quite like this -

Re: [PATCH 0/1] Expand/collapse in choose-tree

2012-10-01 Thread Thomas Adam
On 30 September 2012 23:50, Nicholas Marriott wrote: > Using space is a good idea but definitely don't want any help text > clutter. It would be nice to make ? key show all the key bindings for > modes when in that mode. Would need modes to nest though which might be > fiddly. Are you wanting me

Re: Get tmux to respect xterm's tab name

2012-10-01 Thread Alan
Hi Nicholas, Thanks so much for your reply. I'm closer, but still not getting it. Right now, I have in my ~/.tmux.conf: set-option -g set-titles on set-option -g set-titles-string "#T [tmux #I: #W]" set-option -g terminal-overrides "*:tsl=\e]2;,*:fsl=\a" But it gives me: computer_name ~ [tmux

Re: Get tmux to respect xterm's tab name

2012-10-01 Thread Alan
When I do that, I get: computer_name ~ [tmux 0: bash]007 in the window title, and also: ?25l in the terminal. Any other hints? Or do you think this may be a bug with the terminal I'm using? Thanks. On Sun, Sep 30, 2012 at 6:40 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Cha

Re: Get tmux to respect xterm's tab name

2012-10-01 Thread Nicholas Marriott
Try \\007. On Sun, Sep 30, 2012 at 07:42:15PM -0400, Alan wrote: >When I do that, I get: > >computer_name ~ [tmux 0: bash]007 > >in the window title, and also: > >?25l > >in the terminal. Any other hints? Or do you think this may be a bug with >the terminal I'm using?