Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Tue, 1 Aug 2000 22:16:52 -0400
To: cygwin@sourceware.cygnus.com
Subject: Re: Clipboard from Cygwin?
Message-ID: <20000801221652.A21157@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sourceware.cygnus.com
References: <nZFGdDAMA1h5IwZi@almide.demon.co.uk> <003b01bffc0a$6da278a0$3c5350d8@guinness> <200008012327.TAA29658@envy.delorie.com> <398783D9.E25355B6@ece.gatech.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@sourceware.cygnus.com

