Re: pane name or predefined index

2012-12-05 Thread Sergey Naumov
tmux splitw -dPF '#{pane_id}') > $ tmux killp -t$PANE > > > On Mon, Dec 03, 2012 at 11:36:57PM +0400, Sergey Naumov wrote: > >Hello. > > > >Is there a way to set a name or predefined index for a new pane with > >split-window command? >

pane name or predefined index

2012-12-03 Thread Sergey Naumov
open new man in the same designated pane. 3. by C-a m ENTER check that manpage name is empty and so close the designated pane. Is it possible in tmux? Also is there a shortcut similar to C-a x, but that kills all panes but current? Thanks in advance, Sergey Naumov

Re: native xterm scrolling with mouse

2012-11-28 Thread Sergey Naumov
, thnaks. > > > > > > > > On Fri, Oct 26, 2012 at 08:09:17PM +0400, Sergey Naumov wrote: > > > Yes, of course, there have to be a negation: > > > sknaumov@sknaumov-VirtualBox:~/tmux.compile$ git diff HEAD > > > diff --git a/input-keys.c b/input-ke

Re: native xterm scrolling with mouse

2012-11-27 Thread Sergey Naumov
pull last changes from tmux git and give you a feedback. Sergey Naumov. 2012/11/27, Nicholas Marriott : > Actually, I've reverted this. When I use "mode-mouse on" with > applications inside that claim the mouse (easiest example is another > tmux server with mouse-select-

Re: native xterm scrolling with mouse

2012-10-26 Thread Sergey Naumov
DES)) { if (window_pane_set_mode(wp, &window_copy_mode) == 0) { window_copy_init_from_pane(wp); if (wp->mode->mouse != NULL) 2012/10/26 Sergey Naumov : > No, I want to enter copy mode when I am in terminal with shell prom

Re: native xterm scrolling with mouse

2012-10-26 Thread Sergey Naumov
mode and look at terminal history. Sergey Naumov. 2012/10/26, Nicholas Marriott : > So you want to only enter copy mode when the program has already claimed > the mouse? Or am I reading this wrong? > > > On Sun, Sep 30, 2012 at 10:05:00PM +0400, Sergey Naumov wrote: >> 2012/9

Re: native xterm scrolling with mouse

2012-09-30 Thread Sergey Naumov
gt; >> -- Thomas Adam I think that in most cases programs that enable mouse support scrolling too, but it could be easily done as an option, for example let's add one more mode: off, copy-mode, on, always-on. Or, to preserve backward compatibility: off, copy-mode, terminal, on. Sergey

Re: native xterm scrolling with mouse

2012-09-30 Thread Sergey Naumov
> On 24 September 2012 21:24, Sergey Naumov wrote: >> This version should work better - just like in mc and mcedit. >> Haven't checked whether screen_size_y(s) - 1 is still valid if there >> is no statusbar, but idea is clear. > > I synced git HEAD earlier --

Re: native xterm scrolling with mouse

2012-09-24 Thread Sergey Naumov
This version should work better - just like in mc and mcedit. Haven't checked whether screen_size_y(s) - 1 is still valid if there is no statusbar, but idea is clear. Sergey Naumov. 2012/9/24 Sergey Naumov : > 2012/9/24 Thomas Adam : >> On 23 September 2012 20:56, Sergey Naumov w

Re: native xterm scrolling with mouse

2012-09-24 Thread Sergey Naumov
2012/9/24 Thomas Adam : > On 23 September 2012 20:56, Sergey Naumov wrote: >> Also, could you explain how to detect if there is a up/down space >> outside visible area we can scroll to? I have surfed the code a bit a >> have tried screen->grid->hsize, because s

Re: native xterm scrolling with mouse

2012-09-23 Thread Sergey Naumov
there is some lines to pull to new lines, but without success - when we a scrolling, gd->hsize==0. If we can check in window_copy_mouse() that there is a space to scroll to, we can send scroll_only==1 to window_copy_cursor_up(). Serg

Re: native xterm scrolling with mouse

2012-09-23 Thread Sergey Naumov
want to scroll up. In most cases you are at the bottom line and, currently, you have to scroll the cursor to the top of the screen to actually start scrolling - not very convenient, espesially if you have a window with many lines. Proposed option will mimic the behavior of native xterm scrolling.

Re: native xterm scrolling with mouse

2012-09-23 Thread Sergey Naumov
2012/9/19 Thomas Adam : > On Wed, Sep 19, 2012 at 09:19:35PM +0400, Sergey Naumov wrote: >> 2012/9/19 Thomas Adam : >> > On Wed, Sep 19, 2012 at 01:37:59PM +0400, Sergey Naumov wrote: >> >> Is it possible to enable native xterm mouse scrolling while in tmux? >&g

Re: native xterm scrolling with mouse

2012-09-19 Thread Sergey Naumov
2012/9/19 Thomas Adam : > On Wed, Sep 19, 2012 at 01:37:59PM +0400, Sergey Naumov wrote: >> Is it possible to enable native xterm mouse scrolling while in tmux? >> What I actually want is to use xterm mouse scrolling by default and >> use mouse in tmux-like way only when I

native xterm scrolling with mouse

2012-09-19 Thread Sergey Naumov
bit. Thanks in advance, Sergey Naumov. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions w