Re: native xterm scrolling with mouse

2012-09-30 Thread Sergey Naumov
I have just pulled, compiled and installed the latest tmux and can't see any changes. Could you tell me a commit hash? There is also no new option to select desired behavior: sknaumov@sknaumov-VirtualBox:~/tmux.compile$ git remote -v origin git://tmux.git.sourceforge.net/gitroot/tmux/tmux (fetch

new-window to return tty name?

2012-09-30 Thread Peter Vereshagin
Hello. I see that 'new-window' command grabs a new tty device for me. Am wondering how could I return the device name to my script? Here is the scoop. I use to debug scripts with perl5 and sometimes thay fork(): http://perlmonks.org/?node_id=128283 The debugger's forked instance requires

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

2012-09-30 Thread Romain Francoise
Thomas Adam writes: > This improves upon my original POC patch from the other day, to add in > support for expanding/collapsing sessions in choose-tree. 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

Re: native xterm scrolling with mouse

2012-09-30 Thread Sergey Naumov
2012/9/25 Nicholas Marriott : > You can tell by checking whether the program has itself enabled the > mouse (wp->base.mode & ALL_MOUSE_MODES). Yes, this works like a charm (at least in mc and mcedit on xterm): sknaumov@sknaumov-VirtualBox:~/tmux.compile$ git diff HEAD diff --git a/input-keys.c b/

Re: Get tmux to respect xterm's tab name

2012-09-30 Thread Nicholas Marriott
Change \a to \007. On Sun, Sep 30, 2012 at 02:58:54PM -0400, Alan wrote: >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 [

Re: new-window to return tty name?

2012-09-30 Thread Nicholas Marriott
tmux neww -PF'#{pane_tty}' On Sun, Sep 30, 2012 at 06:41:09PM +0400, Peter Vereshagin wrote: > Hello. > > I see that 'new-window' command grabs a new tty device for me. > > Am wondering how could I return the device name to my script? > > Here is the scoop. > > I use to debug scripts with pe

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

2012-09-30 Thread Nicholas Marriott
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. On Sun, Sep 30, 2012 at 08:00:39PM +0200, Romain Francoise wrote: > Thomas Adam