This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: pasting several lines into the shell
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 31 Jul 2013 10:14:45 +0200
- Subject: Re: pasting several lines into the shell
- References: <74bb5742cb16b1259d7307928a5f0e22 at denis-excoffier dot org>
- Reply-to: cygwin at cygwin dot com
On Jul 31 08:37, Denis Excoffier wrote:
> Hello,
>
> Starting with the 20130726 snapshot, i have problems with the
> clipboard.
> Not the clipboard itself, but the capability to paste into the shell
> in order to execute a command containing several lines (or several
> commands).
>
> % cat copypaste
> /bin/cp \
> ./copypaste \
> /tmp
> % putclip < copypaste
> % getclip
> /bin/cp \
> ./copypaste \
> /tmp
> %
>
> At this point, if i paste (middle button on my mouse) this text
> (3 lines) inside a shell (can be tcsh or bash) in an xterm, sometimes
> it works and the cp command is executed. But very often i get:
>
> ------------------------------------------------------------------------
> %
> ./copypaste \
> ? /bin/cp \
> ?
> /bin/cp: cannot create regular file `/bin/cp': File exists
> %
> % / t/mtp? m
> /: No match.
> % p
I can reproduce the effect, and it looks like this is the result of
an accidental checkin. Thanks for the hint.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple