[Bug 1506166] Re: Bracketed paste should be per-terminal [PATCH]

Yury V. Zaytsev yury at shurup.com
Sun Oct 18 20:21:37 UTC 2015


Hi Egmont,

In this case I was simply scratching my personal itch: this bug is
making mc unusable for me at work, where I'm running Ubuntu Trusty. I
haven't run in any issues quite as bad as this one.

Having this said, if 1) Iain will be willing to make another upload and
2) you will be willing to post vetted patches, I can try to come up with
a tested debdiff...

--Yury.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1506166

Title:
  Bracketed paste should be per-terminal [PATCH]

Status in vte3 package in Ubuntu:
  Fix Released
Status in vte3 source package in Trusty:
  In Progress

Bug description:
  [Impact]

  Bracketed paste mode (\e[?2004h) should be per-terminal (as it is for
  xterm), not per-screen. This was fixed upstream for vte3 0.36.2,
  however Trusty ships vte3 0.34.2 and it didn't make it:

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

  This bug is causing annoying garbage appended to every paste in mc:

  https://www.midnight-commander.org/ticket/3207

  I have backported the fix to Trusty, tested it in my PPA and would
  appreciate if someone could sponsor an upload in updates, since Trusty
  is LTS after all.

  [Test Case]

  Select some text ("test") and copy it into the clipboard buffer. After
  that, install mc if you don't have it already and start it:

      sudo apt-get install mc
      mc

  Press CTRL+O to swap the panels, right click with the mouse button and
  pick "Paste" from the context menu. You will see that "~0test~1" is
  pasted into the console instead of "test" as it should be.

  For more details, see the bug report on mc bug tracker referenced
  above.

  [Regression Potential]

  The patch is taken from the vte3 bug tracker; it has been in trunk for
  more than a year and is contained in vte3 0.36.2+ releases. Nobody has
  reported any problems caused by this change so far...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vte3/+bug/1506166/+subscriptions



More information about the Ubuntu-sponsors mailing list