Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Tue, 1 Aug 2000 22:16:52 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Clipboard from Cygwin? Message-ID: <20000801221652.A21157@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <003b01bffc0a$6da278a0$3c5350d8 AT guinness> <200008012327 DOT TAA29658 AT envy DOT delorie DOT com> <398783D9 DOT E25355B6 AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <398783D9.E25355B6@ece.gatech.edu>; from cwilson@ece.gatech.edu on Tue, Aug 01, 2000 at 10:13:45PM -0400 On Tue, Aug 01, 2000 at 10:13:45PM -0400, Charles Wilson wrote: >DJ Delorie wrote: >> > Or better yet, how about implementing a /dev/clipboard like uwin has? >> >> cygwin includes a tutorial on adding device handlers to cygwin1.dll. >> Why not give it a try? I'd hate to think I'd wasted all that effort >> writing a tutorial that nobody uses... >> >> http://sources.redhat.com/cygwin/snapshots/winsup-src-20000725.tar.bz2/winsup/doc/fhandler-tut.txt > >Cool. Here's a first attempt -- but I can't get it to build. (Errors >building cygwin, but apparently because I don't know how -- I'm not >getting errors in the code affected by this patch, but elsewhere: >missing stdarg.h & stddef.h files...). > >Anyway, below there's a patch (that affects pre-existing files in CVS) >and a new file: fhandler_clipboard.cc. It should do read-only clipboard >access right now. gzip+uuencode versions pasted below. How do you know what it can do if you can't compile it? You did extract the whole directory tree, right? You need newlib (obviously), libiberty, include, and all of the supporting files in the top-level 'sourceware' directory. You need to build everything in a separate directory from source. You also need to build newlib first before you build cygwin or you need to be in the top level directory to build everything. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com