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 09:20:12 -0700 [thread overview]
Message-ID: <5592C1BC.7090901@eastlink.ca> (raw)
In-Reply-To: <CAH+w=7ZzXbSvvnTwzPeByBAsg-DOVTaXeOLoG2T7yk+zB0DKrg@mail.gmail.com>
On 06/30/2015 08:48 AM, Bart Schaefer wrote:
> On Tue, Jun 30, 2015 at 8:42 AM, Peter Stephenson
> <p.stephenson@samsung.com> wrote:
>> Traditionally, cut-and-paste is handled identically to keyboard input.
> Note this isn't a shell thing, it's a terminal emulator thing. Until
> not very long ago there was no way for the program running inside the
> terminal emulator to tell the difference, except by e.g. guessing that
> nobody could possibly be typing as fast as the pasted input was
> arriving.
>
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? Somehow the shell would have to be notified that it's a cut
and paste, no? And that would have to come from the emulator naturally.
next prev parent reply other threads:[~2015-06-30 16:50 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 [this message]
2015-06-30 17:35 ` Bart Schaefer
2015-06-30 19:17 ` Ray Andrews
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=5592C1BC.7090901@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).