X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=xK a2x8Wec/IK5hbFgPkLZYa8q3M9J4g16a+sDRIMoPpW91Q9iHGx3fKPk8YcA92Rax ay+FdMhzLiUDOrdp3Gto/BVG0pEqTTtysdl46P1rIVNYHJHD2iwybwt8mBS11eXG T3W39sFxtpY0/Rc6GbHznHz3m5120ztqqpT8X8XW8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=QSUcxraV e7/Welz5wwyVTHaUAJo=; b=MvLpo9TJfx/wyrabUpZRI3TKwyq2ImsLYTsAJXvm sjyh02pbOeum7vLKKIIYfqqCc8ac5D7ar13gSSKrwc6ckmbNJJyw2ZiH6SOXNdVG fd746MGNjZy9zFQ0TcGzQvUSBzLCUBHqDt0gy5WmfHZZBP3JIh+Adcma3FWeCp/c uUs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qc0-f172.google.com MIME-Version: 1.0 X-Received: by 10.140.93.130 with SMTP id d2mr30499740qge.28.1413778277173; Sun, 19 Oct 2014 21:11:17 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 Oct 2014 00:11:17 -0400 Message-ID: Subject: Re: windows clipboard, getclip, putclip, clip, etc From: Lord Laraby To: Cygwin Mailing List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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, wrote: > > > -----Original Message----- From: ping song > Sent: Monday, October 20, 2014 11:58 AM > To: cygwin AT cygwin DOT 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 AT 192 DOT 168 DOT 0 DOT 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