Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bracketed-paste & gnome-terminal



On Thu, Mar 10, 2016 at 02:52:28PM -0800, Bart Schaefer wrote:

> On Mar 10,  2:29pm, Danek Duvall wrote:
> }
> } I've upgraded to zsh 5.2 on my Solaris system.  Everything works fine for
> } me -- pastes into the terminal are highlighted as expected.  But if I use
> } gnome-terminal instead of xterm, then the bracket codes show up on the
> } commandline: e[200~copymee[201~.
> 
> Bracketed-paste works as expected in gnome-terminal on Ubuntu 12.04 LTS:
> GNOME Terminal 3.4.1.1
> 
> So it does appear to be, as you suspected, terminal version related.

I did a bit more digging, and discovered that it's actually compiler
related.  We build vte with Studio 12.3, but if I build with gcc 4.8, the
problem goes away.  The problem exists with newer versions of Studio as
well.  I don't know yet whether this is a compiler bug or some weird header
or standards mode interaction.  But it's not a zsh bug.  :)

Thanks,
Danek



Messages sorted by: Reverse Date, Date, Thread, Author