Menu

#243 copy/paste garbage / bracketed paste mode

v1.0 (example)
open
nobody
None
5
2014-12-13
2014-11-09
No

copy-pasting text adds some garbage character before and after pasted text.
Example:
my_pasted_text

becomes
0~my_paster_text1~

You can temporary disable bracketed paste mode:
printf "\e[?2004l"

The problem seems to be that the terminal does not handle this mode properly.
I am having this problem in both Kubuntu 14.10 and Xubuntu 14.04

Is there a more permanent workaround available?

references:
https://bugs.launchpad.net/terminator/+bug/1350334
https://bugzilla.gnome.org/show_bug.cgi?id=729533

Discussion

  • Zollner Robert

    Zollner Robert - 2014-12-02

    Please let me know if i've done a poor job describing this issue.

    I am curious if anybody else is affected by this also.

     
  • Zollner Robert

    Zollner Robert - 2014-12-13

    Could you please point me to the right vte-0.28.2 source archive and the configure options you have used the compile it. (and what file should i copy to pac folder)

    i have previously tried to compile vte but pac didn't start anymore after that.

    Thanks

     
  • Zollner Robert

    Zollner Robert - 2014-12-13

    So i gave it another try today and finally got this annoying bug fixed.

    Here are the steps to fix it in Ubuntu:

    • i have spawned a new virtual machine since this process will download many packages that are unnecessary after the build
    • apt-get update
    • apt-get install build-essential
    • apt-get build-dep libvte-dev
    • apt-get source libvte-dev
    • go to newly created "vte-0.28.2" source folder and manually apply the
      patch from here: https://bug729533.bugzilla-attachments.gnome.org/attachment.cgi?id=279320
      ( patch -p1 < vte-0.28.2-paste-fix.diff did not work for me )
    • change the owner of the source dir : chown user:user -R ./
    • dpkg-buildpackage -b

    copied the deb packages to my machine and installed them :
    dpkg -i libvte-common_0.28.2-5ubuntu1_all.deb
    dpkg -i libvte9_0.28.2-5ubuntu1_amd64.deb
    dpkg -i python-vte_0.28.2-5ubuntu1_amd64.deb

    Done, now restart PAC if running.

    My previous attempt failed because i was under the impression that PAC contained the vte lib here: /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/ and i was trying to replace it.

     

    Last edit: Zollner Robert 2014-12-13

Log in to post a comment.

MongoDB Logo MongoDB