id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
277	mc hangs if mouse support enabled on konsole-256color terminal + PATCH	arekm	slavazanko	"I just switched to TERM=konsole-256color under KDE konsole terminal emulator. mc 4.6.2 unfortunately started to hang. Turning mouse support (via -d) did workaround the problem.

It turned out that I needed patch below.

That code seems not so great since it requires hardcoding every supported terminal.


{{{
--- mc-4.6.2/src/main.c.org     2009-02-19 15:02:47.391964771 +0100
+++ mc-4.6.2/src/main.c 2009-02-19 15:04:12.385289852 +0100
@@ -1385,6 +1385,7 @@
     }

     if (force_xterm || strncmp (termvalue, ""xterm"", 5) == 0
+       || strncmp (termvalue, ""konsole"", 7) == 0
        || strncmp (termvalue, ""rxvt"", 4) == 0
        || strcmp (termvalue, ""Eterm"") == 0
        || strcmp (termvalue, ""dtterm"") == 0) {
}}}"	defect	closed	major	4.7.0-pre2	mc-core	4.6.2	fixed						committed-master
