← 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

 

I would say *terrifying* work around ;-) Otherwise, good tip.

But to me, the point is that the bug is an annoyance for all systems I
touch. Of course, this ^O thing (or similar) is part of my own process,
so not everybody is concerned, but every time I come to a new system, I
get it, I have to patch it (or work around it), when it would be much
simpler to get it fixed in the repo.

Now, I still agree that your proposal about fixing the bug where it
belongs (i.e. migrate GT to use the new VTE) is the best. But honestly,
I had a quick look, and although I have some dev skills, this is much
beyond me for now. Too many kids at home, not enough time. Also, I'm not
sure that even if GT would be migrated to VTE 3, that it would be pushed
to 14.04.

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 report? What is the process to
get this done? Should I contact anybody?

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