← Back to team overview

desktop-packages team mailing list archive

[Bug 1350334] Re: copy/paste garbage while using mc, due to lack of support of bracketed paste mode

 

gnome-terminal 3.6.2-0ubuntu1
libvte-2.90-9
All on trusty. Bug is very annoying and still here.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte in Ubuntu.
https://bugs.launchpad.net/bugs/1350334

Title:
  copy/paste garbage while using mc, due to lack of support of bracketed
  paste mode

Status in Terminator:
  New
Status in vte package in Ubuntu:
  Confirmed

Bug description:
  Gnome terminator does not support bracketed paste mode introduced by
  xterm to detect between typed-in text and text that is copy-pasted.

  Due to this, copy-pasting text in terminator adds some garbage
  character before and after pasted text.

  This bug occurs on latest version (from bzr).

  Example:

     my_pasted_text

  becomes

    0~my_paster_text1~

  This occurs when using Terminator along with Midnight Commander.

  This is a well known bug that has been fixed already in Gnome Terminal.
  Apparently the bug has been fixed in VTE, and as a result on Gnome Terminal.
  See references below for details.

  To trigger the bug, see sequence below, copied from referenced bug
  report:

  1) start gnome-terminal
  2) start mc in that terminal
  3) enter the Ctrl-o subshell
  4) maximise the terminal (in terminator, this is same as doing for instance Ctrl-Z to maximize current sub-window)
  5) leave the Ctrl-o subshell (i.e. return to the dir/file list)
  6) copy some text (e.g. some "filename")
  7) return back to the Ctrl-o subshell
  8) paste the text

  
  References:
  - xterm bracketed paste mode 
  http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#Bracketed%20Paste%20Mode
  - original bug report on Midnight Commander
  http://www.midnight-commander.org/ticket/3207
  - Bug fix and patch on VTE
  https://bugzilla.gnome.org/show_bug.cgi?id=729533

To manage notifications about this bug go to:
https://bugs.launchpad.net/terminator/+bug/1350334/+subscriptions