This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Jun 14, 2013 at 5:15 AM, Corinna Vinschen wrote: > What's that size? I'm not aware of any size restriction in the current > /dev/clipboard code. Well, there's an allocation when writing to the > clipboard, but it's only restricted by the size of the largest available > memory block in the process VM, in theory. After some testing, the limit seems to be 64k. It only happens when reading data that was copied to the clipboard by a Windows program (in this case Excel). Steps: - Open attached file in Excel - Ctrl-a to select all, ctrl-c to copy to clipboard - Then: 582 $ getclip >out.gc 583 $ cat /dev/clipboard >out.cat cat: /dev/clipboard: Bad address 584 $ wc /dev/clipboard wc: /dev/clipboard: Bad address 400 13526 65536 /dev/clipboard 585 $ ls -la out* -rw-r--r--+ 1 jhetzler Domain Users 65536 Jun 14 23:03 out.cat -rw-r--r--+ 1 jhetzler Domain Users 73922 Jun 14 23:03 out.gc This is 1.7.20 on 64-bit Windows 7 and Excel 2013. Does that help? Yours, Jeremy Hetzler
Attachment:
clipboard_data.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
-- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |