From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: Pasting a line end doesn't work anymore
Date: Tue, 30 Jun 2015 12:17:18 -0700 [thread overview]
Message-ID: <5592EB3E.2000205@eastlink.ca> (raw)
In-Reply-To: <150630103535.ZM3784@torch.brasslantern.com>
On 06/30/2015 10:35 AM, Bart Schaefer wrote:
> On Jun 30, 9:20am, Ray Andrews wrote:
> }
> } I see. so zsh running in an xterm just sits there with it's mouth open
> } eating characters as normal, and if it's force-fed via a cut and paste
> } there's no obvious way for it to know the difference. So how was that
> } changed?
>
> Terminal emulators gained a capability called "bracketed paste" where
> they send a control sequence (similar to pressing a function key) at
> the start of a paste, and a different control sequence at the end.
>
> Oliver added ZLE widgets to recognize those two control sequences, plus
> ZLE startup/shutdown actions that tell the emulator to enter/leave the
> "bracketed paste mode" so that it will invoke the widgets.
>
> You could previously do this yourself with zle-line-init/zle-line-finish
> plus two other user-defined widgets, but the change makes it built-in
> and automatic.
I see, that's quite understandable. Like so many other things, it's
beyond me how the previous situation could have been tolerated. I'll
never understand the culture.
>
next prev parent reply other threads:[~2015-06-30 19:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-30 9:32 Helmut Jarausch
2015-06-30 10:10 ` Peter Stephenson
2015-06-30 15:03 ` Ray Andrews
2015-06-30 15:42 ` Peter Stephenson
2015-06-30 15:48 ` Bart Schaefer
2015-06-30 16:20 ` Ray Andrews
2015-06-30 17:35 ` Bart Schaefer
2015-06-30 19:17 ` Ray Andrews [this message]
2015-06-30 16:05 ` Ray Andrews
2015-06-30 16:39 ` Mikael Magnusson
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=5592EB3E.2000205@eastlink.ca \
--to=rayandrews@eastlink.ca \
--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).