Ok, add "vte" source package because the bug is there apparently.
(Not sure about all the metadata things above, please fix/tell how to fix if 
necessary)

It has been reported and fixed already on Gnome bugzilla:

https://bugzilla.gnome.org/show_bug.cgi?id=729533

Nerijus Baliunas pushed a patch on vte 0.28.2.

Here I attach a backport on trusty version, ie. 0.28.2-5ubuntu1. 
Patch is in git format, but I guess easy to apply.

This patch fixes the issue above in terminator, gnome terminal, etc.

** Bug watch added: GNOME Bug Tracker #729533
   https://bugzilla.gnome.org/show_bug.cgi?id=729533

** Patch added: "Backport of Nerijus' patch for bracketed paste mode on 
0.28.2-5ubuntu1"
   
https://bugs.launchpad.net/ubuntu/+source/vte/+bug/1350334/+attachment/4165834/+files/vte-0.28.2-5ubuntu1-bracketed_paste_mode_fix.patch

-- 
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:
  New

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to