On Sun, Aug 05, 2012 at 09:40:22AM -0700, Andrew Pimlott wrote: > Package: xterm > Version: 278-1 > Severity: wishlist > > Dear Maintainer, > > I used gnome-terminal recently and noticed that using the mouse wheel > caused scrolling within apps like vim. I thought that was strange, > because I disabled mouse support in vim. It turns out gnome-terminal > has a feature called "alternate screen scrolling". When you are in the > alternate screen, it translates the mouse wheel into three up or down > arrow presses. > > This is obviously a hack, but I want it. (I don't like enabling mouse > support in vim because it takes over the mouse entirely, and as far as I > understand there is no way for it to only take the wheel.) I thought I > might be able to set up my own translations, but I don't think there is > a way to define translations that apply only in the alternate screen. > > Is there another way for me to get this behavior?
It's fairly simple as an addition to xterm, probably hard other ways...
That sounds like a note that I made with reference to a comment about
konsole early this year:
120207
if mouse-mode enabled, wheel mouse _does_ same. arch-user wants it
to send up/down arrows, sez konsole does this.
** 120208 better, add a control sequence for switching between sets of
mouse translations, including konsole's combination.
(I'm currently working on complicated changes in vile and lynx, thinking
I'll work on xterm next...)
--
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature

