Ticket #277 (closed defect: fixed)

Opened 16 years ago

Last modified 15 years ago

mc hangs if mouse support enabled on konsole-256color terminal + PATCH

Reported by: arekm Owned by: slavazanko
Priority: major Milestone: 4.7.0-pre2
Component: mc-core Version: 4.6.2
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master

Description

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) {

Change History

comment:1 Changed 15 years ago by slavazanko

  • Status changed from new to accepted
  • Owner set to slavazanko
  • severity set to on review
  • Milestone changed from 4.7 to 4.7.0-pre2

created branch 277_konsole_256color (parent: master)

Initial changeset:678e10a3ed859ed4c311a9f812a2f6f298d0e8d8

comment:2 Changed 15 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:3 Changed 15 years ago by andrew_b

  • Votes for changeset changed from slavazanko to slavazanko andrew_b
  • severity changed from on review to approved

comment:4 Changed 15 years ago by slavazanko

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko andrew_b to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

comment:5 Changed 15 years ago by slavazanko

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.