This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: clipboard
- To: Jim Baumbach <jsb at fred dot fcny dot org>
- Subject: Re: clipboard
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Sun, 11 Feb 2001 12:40:31 -0500
- CC: cygwin at sources dot redhat dot com
- References: <200102111505.KAA03564@fred.fcny.org>
/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