GNOME Bugzilla – Bug 307396
Mouse scroll mode not controllable
Last modified: 2006-11-17 00:52:43 UTC
Distribution/Version: gentoo when using the mouse scroll wheel, gnome terminal advances by 1/2 of the page, like emacs does. I find this confusing. Some apps, like Firefox or Ephyphany scroll by 3 or 4 lines. This ammount is much easier to follow by the eyes, specilly when the terminal lenght is large. Not sure if an option in the terminal is a good idea, or a system wide option.
*** Bug 309773 has been marked as a duplicate of this bug. ***
It would also be nice if shift arrow-up/arrow-down scrolled one line up/down.
Hi Timo, you can find such a patch on this bug: http://bugzilla.gnome.org/show_bug.cgi?id=118967
doh.. which reminds me I have marked Timo's bug as a wrong DUPLICATE. Should be #309773 is a duplicate of #118967 not of this one. Apologies for the mistake
I agree with Luis; having the mouse wheel scroll by half a page is just way too fast. I'd also prefer that gnome-terminal behave like other Gnome apps which scroll by just a few lines.
Created attachment 71742 [details] [review] Make the mouse wheel scroll by tenths of a screenful This trivial patch makes the mouse wheel scroll by tenths of a screenful (or 1, whichever is greater). The number 10, of course, was suggested to me by elves...
Mariano, I applied your patch and rebuilt libvte9. It works fine. In my opinion this is a huge improvement - I'd love to see this checked in.
Lets get this in.
I'll commit it in a bit.
This is in HEAD now. 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org> Bug 307396 – Mouse scroll mode not controllable * src/vte.c(vte_terminal_scroll): make the scrollwheel scroll by tenths of a screen (or 1 line, whichever is bigger) instead of half screens.