> It should work with mouse if "gpm" package is installed... Also this 
> functionality depends on value of TERM environment variable. See details in 
> the upstream ticket:
> 
>    http://www.midnight-commander.org/ticket/3208

It _should_ work, but _does_ it work?
I cannot make it work in console, in both wheezy and jessie, regardless of 
$TERM.
I have gpm and screen installed, I login in, say, tty1, and do "screen mc" - it 
doesn't respond to mouse.

OK, if we assume this is normal, then I propose this simple patch:


--- a/lib/tty/key.c
+++ b/lib/tty/key.c
@@ -2092,7 +2092,6 @@
 
                         /* Try to reopen gpm_mouse connection */
                         disable_mouse ();
-                        enable_mouse ();
                     }
                 }
             }


After this, syslog isn't flooded, and "screen mc" even works with mouse under X.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to