From: Carsten Hey <carsten@debian.org>
To: zsh-workers@zsh.org
Subject: Re: bracketed paste - chopping trailing newlines
Date: Wed, 9 Sep 2015 01:48:51 +0200 [thread overview]
Message-ID: <20150908234851.GK30848@bosko.stateful.de> (raw)
In-Reply-To: <20150908233306.GJ30848@bosko.stateful.de>
* Carsten Hey [2015-09-09 01:33 +0200]:
> If you paste a command with two trailing newlines into zsh 5.1 running
> in an xterm, the result looks like this (an underline is used as
> cursor):
>
> % cp -a /data /mnt/foo
> _
>
> If you paste a command with one trailing newline into zsh 5.1 running in
> a screen (the latest release, not the 5.x development branch), the
> result looks like this:
>
> % cp -a /data /mnt/foo
> _
If you paste a command with two trailing newlines into screen, the
result looks the same. The additional newline does not influence
whether the command is run.
> As you notice, both are indistinguishable, but only the first one shows
> a running command, and the second one shows a paste waiting to be
> accepted.
This was wrong. The first one shows a paste waiting to be accepted and
the second one shows a running command (I did not make this error on
purpose).
next prev parent reply other threads:[~2015-09-08 23:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-29 1:24 Carsten Hey
2015-08-29 5:00 ` Bart Schaefer
2015-08-30 20:25 ` Carsten Hey
2015-08-30 20:32 ` [patch] 5.0.9 vs 5.1 in source code comments (was: bracketed paste - chopping trailing newlines) Axel Beckert
2015-08-30 20:37 ` bracketed paste - chopping trailing newlines Axel Beckert
2015-08-31 5:47 ` Daniel Shahaf
2015-09-01 23:44 ` Bart Schaefer
2015-09-02 15:41 ` Daniel Shahaf
2015-09-01 23:48 ` Bart Schaefer
2015-09-03 23:59 ` Carsten Hey
2015-09-06 9:52 ` Daniel Shahaf
2015-09-06 13:51 ` Oliver Kiddle
2015-09-06 14:21 ` Bart Schaefer
2015-09-08 10:39 ` Oliver Kiddle
2015-09-10 14:45 ` Bart Schaefer
2015-09-10 19:11 ` Daniel Shahaf
2015-09-11 23:07 ` Bart Schaefer
2015-09-12 0:17 ` Mikael Magnusson
2015-09-12 15:58 ` Bart Schaefer
2015-09-14 20:35 ` Daniel Shahaf
2015-09-14 21:21 ` Bart Schaefer
2015-09-07 2:11 ` Daniel Shahaf
2015-09-08 23:33 ` Carsten Hey
2015-09-08 23:48 ` Carsten Hey [this message]
2015-09-10 8:24 ` Peter Stephenson
2015-09-07 21:13 ` Daniel Shahaf
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=20150908234851.GK30848@bosko.stateful.de \
--to=carsten@debian.org \
--cc=zsh-workers@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).