clipboard
Charles Wilson
cwilson@ece.gatech.edu
Sun Feb 11 09:37:00 GMT 2001
/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
More information about the Cygwin
mailing list