zsh-users
 help / color / mirror / code / Atom feed
From: Danek Duvall <duvall@comfychair.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: bracketed-paste & gnome-terminal
Date: Mon, 14 Mar 2016 12:57:16 -0700	[thread overview]
Message-ID: <20160314195716.GB17519@lorien.comfychair.org> (raw)
In-Reply-To: <160310145228.ZM24921@torch.brasslantern.com>

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 see something similar when running zsh from M-x shell in emacs (something
another user pointed me at):

    $ ^[[?2004h
    ^[[?2004l

Everything's fine when it pastes, presumably because emacs' terminal emulation
doesn't support bracketed paste.

Is there any way around either of these problems, other than explicitly
unsetting zle_bracketed_paste when detecting that you're running inside an
emacs terminal or gnome-terminal?

Thanks,
Danek


  reply	other threads:[~2016-03-14 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 22:29 Danek Duvall
2016-03-10 22:52 ` Bart Schaefer
2016-03-14 19:57   ` Danek Duvall [this message]
2016-03-20 18:34     ` Bart Schaefer
     [not found]     ` <160320113419.ZM22381__3117.39058602161$1458498907$gmane$org@torch.brasslantern.com>
2016-03-21 16:08       ` Daniel Shahaf
2016-03-21 16:38         ` Danek Duvall
2016-03-21 17:18           ` Bart Schaefer
2016-03-21 17:10         ` Bart Schaefer
2016-03-22  1:24           ` Daniel Shahaf
2016-03-21 17:30   ` Danek Duvall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160314195716.GB17519@lorien.comfychair.org \
    --to=duvall@comfychair.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).