Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bracketed-paste & gnome-terminal
- X-seq: zsh-users 21397
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: bracketed-paste & gnome-terminal
- Date: Tue, 22 Mar 2016 01:24:17 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=pEdH75Lv0Wgc1BDoHk/hpo/Bh+A=; b=BCFbwQ jIYTEciMV2q53PVJPflMyNh84yREvFSkxl7RfgUCfczX1sV+cihPH1NQYvrGFzkw HMoLcpN1ln/Tk6wNpd/2O1Jf3LERt6B8/osJDvt/r2v2CUO+hmL50bUOpug2+oTV As1+roxiCkwRU5OTqN7nqUhP6SrHkJI8fvUR0=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=pEdH75Lv0Wgc1BDoHk/hpo/Bh+A=; b=gKSgJ B9i1zgk/YQzWMmiZujwdpEJrLzj6HxfCsVzo93bnVvZwx9HPSkm/xxarZOq1cLap F/ZgQ5cY6cK+TD/QYcDfxs6xIS4jGowhLE72S+gl1l1YI7ZZXkpAyEORUYebb7iO P7bxNuvDCDBBAeuGKjubcqgjLCVDfPz99VxrHk=
- In-reply-to: <160321101042.ZM26033@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20160310222924.GI10755@lorien.comfychair.org> <160310145228.ZM24921@torch.brasslantern.com> <20160314195716.GB17519@lorien.comfychair.org> <160320113419.ZM22381__3117.39058602161$1458498907$gmane$org@torch.brasslantern.com> <20160321160822.GA12127@tarsus.local2> <160321101042.ZM26033@torch.brasslantern.com>
Bart Schaefer wrote on Mon, Mar 21, 2016 at 10:10:42 -0700:
> On Mar 21, 4:08pm, Daniel Shahaf wrote:
> }
> } We could have $zle_bracketed_paste default to unset for TERM == emacs,
> } if emacs users think that's a good idea.
>
> We currently don't have any kind of default terminal type handling built
> into the shell. There are a couple of things that attempt to use
> terminfo/cap booleans, but nothing that examines terminal name.
Sure, ideally we'd ask terminfo whether bracketed paste is supported
[and what the control sequences for it are], but if the only practical
way to detect being in emacs would turn out to be by literally checking
the value of getenv("TERM"), I wouldn't mind that, so long as it
wouldn't break xterm/vim/etc.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author