[Pkg-mc-devel] Bug#743566: mc: Failed gpm connect attempt
Dmitry Borisyuk
q1werty at i.com.ua
Sat Dec 20 22:22:14 UTC 2014
> 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.
More information about the Pkg-mc-devel
mailing list