Re: RFC: Simple mouse wheel emulation

2014-02-20 Thread Nicholas Marriott
ideon Dann Date: 20/02/2014 09:32 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: Re: RFC: Simple mouse wheel emulation On Wednesday 19 Feb 2014 19:19:19 Marcel Partap wrote: > > Final quirk: I'm not seeing any altered behaviour when I hold down the > > shift, met

Re: RFC: Simple mouse wheel emulation

2014-02-20 Thread Paul Gideon Dann
On Wednesday 19 Feb 2014 19:19:19 Marcel Partap wrote: > > Final quirk: I'm not seeing any altered behaviour when I hold down the > > shift, meta, or alt keys: from what I see in the code, aren't they > > supposed to alter the scroll rate? > > In which state? copy-mode, alternate screen in less?

Re: RFC: Simple mouse wheel emulation

2014-02-19 Thread Marcel Partap
> Gaaah! I just freaked myself out [..] guess I must have done something wrong Happens :D > Final quirk: I'm not seeing any altered behaviour when I hold down the > shift, meta, or alt keys: from what I see in the code, aren't they > supposed to alter the scroll rate? In which state? copy-mode, al

Re: RFC: Simple mouse wheel emulation

2014-02-19 Thread Paul Gideon Dann
On Wednesday 19 Feb 2014 01:25:37 Marcel Partap wrote: > >> > * With mouse-mode=on, vim scrolls as expected with the mouse wheel, but > >> > "less" does not: it enters copy mode. > >> > >> show any special flag settings? > > > > LESS=-g -i -M -R -S -w -z-4 > > Still can't reproduce. What is your

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Marcel Partap
>> > * With mouse-mode=on, vim scrolls as expected with the mouse wheel, but >> > "less" does not: it enters copy mode. >> show any special flag settings? > LESS=-g -i -M -R -S -w -z-4 Still can't reproduce. What is your less version? #less -V Also, does tmux command # display-message "#{alternate_

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Paul Gideon Dann
On Tuesday 18 Feb 2014 16:41:54 Marcel Partap wrote: > > * With mouse-mode=on, vim scrolls as expected with the mouse wheel, but > > "less" does not: it enters copy mode. > > Can only reproduce with less --no-init (no alternate screen).. does > # env|grep LESS > show any special flag settings? LE

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Marcel Partap
> * With mouse-mode=on, vim scrolls as expected with the mouse wheel, but > "less" does not: it enters copy mode. Can only reproduce with less --no-init (no alternate screen).. does # env|grep LESS show any special flag settings? > * With mouse-mode=off, vim and "less" both scroll as expected. What

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Paul Gideon Dann
On Tuesday 18 Feb 2014 15:52:27 Marcel Partap wrote: > Thanks for your quick review & good catch, please try again with > attached revision. c; > #Regards! > > P.S.: [some patch NIH broke the command history in alternate screen..] OK, so now I have this: * With mouse-mode=on, vim scrolls as expe

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Marcel Partap
Thanks for your quick review & good catch, please try again with attached revision. c; #Regards! P.S.: [some patch NIH broke the command history in alternate screen..] >From 48c5d8b8bf332b3f67f77154561a36027e013198 Mon Sep 17 00:00:00 2001 From: Marcel Partap Date: Mon, 17 Feb 2014 22:02:14 +0100

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Tim Visher
On Tue, Feb 18, 2014 at 6:36 AM, Marcel Partap wrote: > Hi, > please comment on this. > - sends keyboard UP/DOWN sequences per mouse wheel event > - active in alternate screen mode (like xterm) > - also active when pressing SHIFT outside alternate screen (like > previous iteration) > - scrolls 3 l

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Paul Gideon Dann
On Tuesday 18 Feb 2014 11:55:27 Thomas Adam wrote: > On 18 February 2014 11:36, Marcel Partap wrote: > > Hi, > > please comment on this. > > What are you asking for here? Whether it's a good idea to have this > in tmux, or were you after something else? I personally think these > sorts of thing

Re: RFC: Simple mouse wheel emulation

2014-02-18 Thread Thomas Adam
On 18 February 2014 11:36, Marcel Partap wrote: > Hi, > please comment on this. What are you asking for here? Whether it's a good idea to have this in tmux, or were you after something else? I personally think these sorts of things are bloat. -- Thomas Adam ---

RFC: Simple mouse wheel emulation

2014-02-18 Thread Marcel Partap
Hi, please comment on this. - sends keyboard UP/DOWN sequences per mouse wheel event - active in alternate screen mode (like xterm) - also active when pressing SHIFT outside alternate screen (like previous iteration) - scrolls 3 lines per event (like f.e. konsole) - or single lines when SHIFT is he