This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: windows clipboard, getclip, putclip, clip, etc
- From: Lord Laraby <lord dot laraby at gmail dot com>
- To: Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Mon, 20 Oct 2014 00:11:17 -0400
- Subject: Re: windows clipboard, getclip, putclip, clip, etc
- Authentication-results: sourceware.org; auth=none
- References: <CAHyaFsVYddCAfQyi5jUYESQwTKgt4cEGZm7WNii=u-Psone0=g at mail dot gmail dot com> <CAHyaFsU=J__hZwu5WTUPSbFDt6Da2bU-=kOYqPumYY6qG4pzLg at mail dot gmail dot com> <A3602231769F4005855AF80E12217C39 at OwnerPC311012>
Hi Ping: I'm really kind of glad that some program started in a
background shell cannot access my current-window-station clipboard.
That would play havoc with my normal windowing programs in general.
After all, I have no idea who logged into my PC with ssh. Should I
allow any and all that can impersonate me to mess up my foreground
work?
On Sun, Oct 19, 2014 at 10:13 PM, <sisyphus1@optusnet.com.au> wrote:
>
>
> -----Original Message----- From: ping song
> Sent: Monday, October 20, 2014 11:58 AM
> To: cygwin@cygwin.com
> Subject: Re: windows clipboard, getclip, putclip, clip, etc
>
>> I hope to send the text to a clipboard that I can just put in notepad with
>> a ctrl-v ....
>
>
> If the text is in a file (on the Ubuntu machine), the following works fine
> for me:
>
> $ scp sisyphus@192.168.0.101:~/some.txt /dev/clipboard
>
> Having run that, the contents of some.text are now on the clipboard (with
> line-endings properly processed) and can be transferred to a notepad file
> using ctrl-v.
>
> Does that suit your needs ?
>
> (I didn't know this would work ... I think it's something I'll utilise from
> time to time :-)
>
> Cheers,
> Rob
>
>
>
> --
> 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
>
--
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