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 Message-ID: <3A86CE8F.FF95E741@ece.gatech.edu> Date: Sun, 11 Feb 2001 12:40:31 -0500 From: Charles Wilson X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Jim Baumbach CC: cygwin AT sources DOT redhat DOT com Subject: Re: clipboard References: <200102111505 DOT KAA03564 AT fred DOT fcny DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit /dev/clipboard does exist on cygwin. (I should know; I wrote it.) It's read only right now, and because it's stateless you must read the entire contents into a single buffer all at once. Thus, your buffer needs to be at least as big as the contents -- 'cat', by the way, uses a 4k buffer. So 'cat /dev/clipboard' will only get the first 4k of clipboard contents. But it *is* there. If that won't do it for you, try the misc package at http://www.neuro.gatech.edu/users/cwilson/V1.1/misc/ It contains 'putclip' and 'getclip'. --Chuck Jim Baumbach wrote: > > In the absence of /dev/clipboard, is there a way to read clipboard data? > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple