zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-users@zsh.org
Subject: Re: bracketed-paste & gnome-terminal
Date: Tue, 22 Mar 2016 01:24:17 +0000	[thread overview]
Message-ID: <20160322012417.GA5690@tarsus.local2> (raw)
In-Reply-To: <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


  reply	other threads:[~2016-03-22  1:24 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
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 [this message]
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=20160322012417.GA5690@tarsus.local2 \
    --to=d.s@daniel.shahaf.name \
    --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).