public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /dev/clipboard corrupted
@ 2012-06-27 22:16 Thomas Wolff
  2012-06-28  8:04 ` Andy Koppe
  2012-06-28  8:21 ` Corinna Vinschen
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Wolff @ 2012-06-27 22:16 UTC (permalink / raw)
  To: cygwin

If the clipboard contains large data, the contents retrieved from 
/dev/clipboard gets corrupted.
I compared the following in a few cases:
* cat /dev/clipboard or cp /dev/clipboard (which are equal)
* mouse-paste into mintty, read with cat
* read /dev/clipboard within application

and I found all three results to be different, the correct one sometimes 
being cat /dev/clipboard but not always.
In today's case, the differences occured at byte 10240 and 65536 
respectively, thus 10K-1 bytes or 64K-1 bytes being equal.
------
Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <1286377403.634959.1340961856516.JavaMail.open-xchange@email.1und1.de>]

end of thread, other threads:[~2012-07-02 20:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 22:16 /dev/clipboard corrupted Thomas Wolff
2012-06-28  8:04 ` Andy Koppe
2012-06-28  8:21 ` Corinna Vinschen
2012-06-28 18:33   ` Thomas Wolff
2012-06-29  7:24     ` Corinna Vinschen
     [not found] <1286377403.634959.1340961856516.JavaMail.open-xchange@email.1und1.de>
2012-06-29  9:47 ` Thomas Wolff
2012-07-02 20:40   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).