← 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

 

>  Also, I'm not sure that even if GT would be migrated to VTE 3, that
it would be pushed to 14.04.

I'm absolutely sure it wouldn't.  (It has a preliminary vte3 version,
with many remaining bugs, but you might want to give that a try.)
Someone might create an unofficial repo for this package, though.

> The easiest for me would be to get the patch above pushed into VTE 2 in the
> repo. You say that VTE 2 is unmaintained. But is there any chance still we
> can get the patch pushed to the repo? What is the process to get this done?
> Should I contact anybody?

I don't know whom to contact, sorry.  You'd need to find someone in the
Ubuntu team willing to patch vte2 and backport it to trusty.  I hardly
see any chance for this to happen, there are plenty of way more serious
bugs going unnoticed/unfixed by Ubuntu developers.  Maybe someone in the
community would be happy to bring up a separate repository containing
this bugfix, you could try to ask for help on various Ubuntu forums.

That's why I recommended the shell prompt hack, that's probably your
best bet now.

(A note about the abbreviation you use: Terminator (the vte2-based app)
as far as I know doesn't have the word "Gnome" in its name, yet you
refer to it as Gnome Terminator, abbreviated with GT, which is damn easy
to be confused with the vte3-based standard Gnome Terminal.  To avoid
confusion, I recommend to spell out "Terminator" or "Gnome Terminal" in
this ticket.)

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