[Pkg-mc-devel] Bug#824359: mc: breaks paste in vte-based terminals
Adam Borowski
kilobyte at angband.pl
Sat May 14 23:05:21 UTC 2016
Package: mc
Version: 3:4.8.17-1
Severity: normal
Hi!
I'm afraid that the new version of mc fails to clean up the terminal
settings when exiting. If the selection is "foo", what's getting pasted is:
00~foo01~
The actual bytes are:
00000000 1b 5b 32 30 30 7e 66 6f 6f 1b 5b 32 30 31 7e 0a |.[200~foo.[201~.|
There's no regression in xterm or rxvt, there is in xfce4-terminal and
lxterminal (and presumably anything else vte based).
Reinstalling mc=3:4.8.15-2 (testing) makes paste work again.
This is so called "bracketed paste mode", set by "\e[?2004h" which new mc
enables at start. To clear it, please emit "\e[?2004l".
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-rc7-debug+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages mc depends on:
ii e2fslibs 1.43~WIP.2016.03.15-2
ii libc6 2.22-9
ii libglib2.0-0 2.48.1-1
ii libgpm2 1.20.4-6.2
ii libslang2 2.3.0-2.3
ii libssh2-1 1.5.0-2.1
ii mc-data 3:4.8.17-1
Versions of packages mc recommends:
ii mime-support 3.60
ii perl 5.22.2-1
ii unzip 6.0-20
Versions of packages mc suggests:
pn arj <none>
ii atril [pdf-viewer] 1.12.2-1
ii bzip2 1.0.6-8
pn catdvi | texlive-binaries <none>
pn dbview <none>
pn djvulibre-bin <none>
ii file 1:5.25-2
pn genisoimage <none>
pn gv <none>
ii imagemagick 8:6.8.9.9-7+b2
pn links | w3m | lynx <none>
pn odt2txt <none>
pn poppler-utils <none>
ii python 2.7.11-1
pn python-boto <none>
pn python-tz <none>
ii zip 3.0-11
-- no debconf information
More information about the Pkg-mc-devel
mailing list