delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/19/22:16:00

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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=HsHAhNE8cWqeS4sK
FUZRbHvkKRU9eOUsb1CYSYq+cuzhWhH1SS9F6R6t2yC0iItacKGc4ryjggl6Twu8
XQtskUfjhH9k6F0Tl3KQc0C+tXy8ySssdg+T956KrLKm66a4b0/dYpDoSM9veRDO
rogh0tiEVlg1TBGOnFAceGZSJqY=
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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; s=default; bh=gzmnJOlYV4YxBX+JqxA1MB
fci3I=; b=YS78lpwkngLoF2eCInZW+RTC0d3IziDlbkiUuSynZpA9nYDQ7khnXX
2ynX3s0QjC6+1kX3LPBcmFyfNqUXqYLLtxKo25QojuPzX5jHh/ZA5Hht3mqrmeRn
eCLReYRxM5jLWNEe0JGTwuBTxcuhB1KF/UO6AqBxq+XIk4jIsJ8ns=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-0.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RCVD_IN_SEMBACKSCATTER,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail109.syd.optusnet.com.au
Message-ID: <A3602231769F4005855AF80E12217C39@OwnerPC311012>
From: <sisyphus1 AT optusnet DOT com DOT au>
To: "ping song" <songpingemail AT gmail DOT com>, <cygwin AT cygwin DOT com>
References: <CAHyaFsVYddCAfQyi5jUYESQwTKgt4cEGZm7WNii=u-Psone0=g AT mail DOT gmail DOT com> <CAHyaFsU=J__hZwu5WTUPSbFDt6Da2bU-=kOYqPumYY6qG4pzLg AT mail DOT gmail DOT com>
In-Reply-To: <CAHyaFsU=J__hZwu5WTUPSbFDt6Da2bU-=kOYqPumYY6qG4pzLg@mail.gmail.com>
Subject: Re: windows clipboard, getclip, putclip, clip, etc
Date: Mon, 20 Oct 2014 13:13:33 +1100
MIME-Version: 1.0
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=BdjhjNd2 c=1 sm=1 tr=0 a=8e8rgZJuizJfF74+JHJpGg==:117 a=8e8rgZJuizJfF74+JHJpGg==:17 a=PO7r1zJSAAAA:8 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=RehVMep3Ux6He6MyWyQA:9 a=QEXdDO2ut3YA:10 a=66msUWWtX2wA:10
X-IsSubscribed: yes


-----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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019