Hi, By the way, see https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1566437 comment 7.
I'm wondering, does this workaround really belong to mc? Shouldn't rather the shell prompt (PS1) emit all kinds of escape sequences that reset plenty of terminal settings (that faulty apps might leave in a undesired state) to their default? (E.g. default charset, default attributes, default keypad and numpad mode, disable mouse mode as well as mouse extensions, and a whole lot more... including, of course, disabling bracketed paste mode.) cheers, egmont