zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-users@zsh.org
Subject: Re: Pasting a line end doesn't work anymore
Date: Tue, 30 Jun 2015 16:42:02 +0100	[thread overview]
Message-ID: <20150630164202.1cf79388@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <5592AFC4.6020302@eastlink.ca>

On Tue, 30 Jun 2015 08:03:32 -0700
Ray Andrews <rayandrews@eastlink.ca> wrote:
> I've long since given up being astonished at how some things work, but 
> am I to take from this that there is/was a time when you'd paste a line 
> of text (with the end of line there by virtue of it being a line of 
> text) into an xterm and it would execute?  And this would be considered 
> proper?

Yes, until just recently, it would execute arbitrary stuff, quite
possibly including key strokes you couldn't even see.  Like you,
and it would appear most of us round here, that's never seemed
a particularly good idea to me.

Traditionally, cut-and-paste is handled identically to keyboard input.
You need to jump through a hoop, which luckily is nowadays quite common,
to make it not do that.

Hence the change...

pws


  reply	other threads:[~2015-06-30 15:42 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 [this message]
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
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=20150630164202.1cf79388@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --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).