| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <cwilson AT ece DOT gatech DOT edu> |
| X-Mailer: | Mozilla 4.75 [en] (Windows NT 5.0; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | Jim Baumbach <jsb AT fred DOT fcny DOT org> |
| CC: | cygwin AT sources DOT redhat DOT com |
| Subject: | Re: clipboard |
| References: | <200102111505 DOT KAA03564 AT fred DOT fcny DOT 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |