* On 01 Dec 2013, Dave Dodge wrote: > On Fri, Nov 29, 2013 at 11:10:11AM -0600, David Champion wrote: > > * On 29 Nov 2013, Martin Vegter wrote: > > > On 2013-11-29 12:40, LEVAI Daniel wrote: > > > >On p, nov 29, 2013 at 12:24:33 +0100, Martin Vegter wrote: > > > >>when in run mutt in terminal emulator, it reacts to the scroll wheel of > > > >>my > > > >>mouse. Is it possible to disable mouse entirely? There is no mention of > > > >>the > > > >>word "mouse" in man mutt. > > > > > > > >Well, not sure if this is Mutt specific, but terminal emulator specific. > > > >If you're on a tty, perhaps gpm is running? If you're on a pseudo > > > >terminal, just disable the mouse input in your terminal emulator (xterm, > > > >urxvt etc... see their corresponding manuals). > > > > > > I had similar problem with midnight commander and I solved it by using mc > > > --nomouse. So I was hoping for similar command line option for mutt. > > > > Midnight Commander has support for mouse input events, so they can be > > disabled. Mutt does not read mouse events. What you see is probably > > your terminal emulator's scrollback buffer (the scrollbar). > > If it's the same thing that happens to me, it's not the scrollback > buffer. Mutt actually reacts to the scroll wheel, intentionally or > not.
Interesting - admittedly I don't use an X desktop. I just scanned mutt's source code for mouse, click, and button events. Maybe these events translate into something else at a lower layer of the window system? In any case I don't think mutt is specifically responding to the mouse; it's responding to a signal that a mouse generate for some unclear reason, but that could be generated in another way. -- David Champion • d...@bikeshed.us