| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | Dario Alcocer <alcocer AT helixdigital DOT com> |
| MIME-Version: | 1.0 |
| Message-ID: | <15126.19989.908612.63323@coyote.priv.helixdigital.com> |
| Date: | Thu, 31 May 2001 06:58:45 -0700 |
| To: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
| Cc: | <cygwin AT cygwin DOT com> |
| Subject: | Re: clipboard enhancement request-for-discussion |
| In-Reply-To: | <03d901c0e9b8$3688c080$0200a8c0@lifelesswks> |
| References: | <03d901c0e9b8$3688c080$0200a8c0 AT lifelesswks> |
| X-Mailer: | VM 6.76 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid |
>>>>> "Robert" == Robert Collins <robert DOT collins AT itdomain DOT com DOT au> writes:
Robert> I'm finding more and more often, that being able to
Robert> redirect things to /dev/clipboard isn't quite enough.
Robert> <-- snip -->
Robert> create a new device /dev/clipfile which when written to
Robert> places a "file" (specifically a CFSTR_FILEDESCRIPTOR
Robert> format object) on the clipboard, consisting of the
Robert> contents written to /dev/clipfile.
Robert> The upshot of that is that
Robert> ---
Robert> cvs diff -up foo > /dev/clipfile
Robert> [switch to some application that understands file copy and
Robert> paste - ie outlook]
Robert> shift-insert
Robert> ---
Robert,
I wonder: could be accomplished without having to add another device
in Cygwin? Could a separate program, say, 'fmtclip', format or
process the input data such that it's in the right format for the
clipboard?
The usage would be a little different than you proposed:
cvs diff -up foo | fmtclip --file-descriptor > /dev/clipboard
Regardless of the final syntax that is used, your idea sounds like a
good idea.
--
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer AT helixdigital DOT com -- http://www.helixdigital.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |