[Pkg-mc-devel] Bug#734571: mc: [copy&] paste adds extra characters

Drew Parsons dparsons at debian.org
Wed Jan 8 07:33:05 UTC 2014

Package: mc
Version: 3:4.8.11-1
Severity: normal

Copy&paste in mc is failing by adding extra characters at front and
back of the desired string. e.g. copying (highlighting) the "/.."
string from the mc list of files and directories gets pasted (middle
mouse button) as "^[[200~/..^[[201~" 

The failure does not happen immediately. As far as I can tell it
occurs after maximising the window and toggling between the file
display and the plain command line using Ctrl-o.  Both those steps
seem to be necessary to reproduce the bug. After that, all copy&pastes
(or more precisely, just pastes) fail in this way.  

I experience the bug running mc in Gnome Terminal
(3.10.1) in Gnome shell 3.8.  I can't reproduce the bug in xterm.

I think the bug is specifically in paste, since I can copy the text
normally to other windows, and text copied from other windows (which
aren't exhibiting the bug) into the buggy instance does get pasted
with this failure.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  e2fslibs      1.42.9-2
ii  libc6         2.17-97
ii  libglib2.0-0  2.36.4-1
ii  libgpm2       1.20.4-6.1
ii  libslang2     2.2.4-16
ii  libssh2-1     1.4.3-2
ii  mc-data       3:4.8.11-1

Versions of packages mc recommends:
ii  mime-support  3.54
ii  perl          5.18.1-5
ii  unzip         6.0-10

Versions of packages mc suggests:
ii  arj                  3.10.22-11
ii  bzip2                1.0.6-5
ii  catdvi               0.14-12.1
ii  dbview               1.0.4-1
ii  djvulibre-bin
ii  evince [pdf-viewer]  3.10.0-1+b1
ii  file                 1:5.14-2
ii  genisoimage          9:1.1.11-2
ii  gv [pdf-viewer]      1:3.7.4-1
ii  imagemagick          8:
ii  links                2.8-1+b1
ii  odt2txt              0.4+git20100620-1+b1
ii  okular [pdf-viewer]  4:4.11.3-1+b1
ii  poppler-utils        0.18.4-10
ii  python               2.7.5-5
ii  python-boto          2.10.0-1
ii  python-tz            2012c-1
ii  texlive-binaries     2013.20130729.30972-2+b1
ii  w3m                  0.5.3-15
ii  xpdf [pdf-viewer]    3.03-11.1
ii  zip                  3.0-8

-- no debconf information

More information about the Pkg-mc-devel mailing list