← 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

 

Ok, thanks for the info.

Sorry for the confusion. I meant indeed Terminator. I got used to say
gnome-terminator because that was the original name of Tenshu's ppa. But
the real package name is "Terminator".

But note that the bug is also present in "Gnome Terminal" (as per #3
above). Just tried again now, and the bug is there (although I have the
patched vte for GTK2, but indeed this has no effect since Gnome Terminal
uses libvte-2.90-9, which GTK+ 3.0).

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