I like to use /dev/clipboard for moving content easily between Windows and Cygwin's command-line tools. It seems like Cygwin has problems with large clipboard contents, though. I get an error like this when I try to access /dev/clipboard after copying a large amount of text on the Windows side:
$ wc -c /dev/clipboard wc: /dev/clipboard: Bad address 573440 /dev/clipboard
Is there a fixed buffer size for the clipboard that I can somehow increase? Or is this some other issue entirely?