pasting several lines into the shell
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jul 31 09:59:00 GMT 2013
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
More information about the Cygwin
mailing list