Hi Dave,

Actually mutt is just partly involved. It switches to the alternative screen in 
your terminal emulator. This switches in some terminals the behaviour. 
Gnome-terminal than disables its scroll back and reports mouse scroll events as 
repeated presses of the up or down key. The 9 lines/messages you experience 
come from the X11 wide setting for the mouse - the typical scroll distance.

This alternates for example in mc. Mc uses the mouse reporting like aptitude 
also does, and if you disable it via the command line switch it chooses to 
ignore the received events.

Your fix would involve just setting pager_stop in mutt, so that upon reaching a 
messages end you won't touch other messages. Alteratively you can disable (or 
remove from the coding) the switch of the mouse behaviour in your terminal 
emulator, but this might be a huge effort.

I for myself decided a while ago to ditch the scroll back of my terminal 
(urxvt) and only use the one from the screen sessions I have running inside it 
anyway. This allows me to use the scroll wheel of my mouse nearly always as 
replacement for repeated long-distance scrolling in any app and doesn't bother 
me as much as the scroll back getting mixed up  by the many screen windows I 
have open in each screen window.

Regards, Andre

Dave Dodge <dodo...@dododge.net> wrote:
>
>I've seen this sort of thing happen in both gnome-terminal and
>xfce4-terminal, both locally and over ssh.
>
>                              -Dave Dodge/dodo...@dododge.net

-- 
Andre Klärner

Telefon: 0351/79666546
Fax:     0351/79688547
Mobil:   0172/9838653

Anschrift:
Prohliser Allee 43
01239 Dresden

Reply via email to