redirect to /dev/clipboard bug

John Bianchi john.bianchi@usa.net
Tue Dec 10 19:39:00 GMT 2013


I frequently redirect output to the /dev/clipboard for many of my tasks.  This
started having strange problems recently:

'echo' can re-direct to /dev/clipboard but 'cat' cannot:

# win8.1 enterprise:
$ uname -a
CYGWIN_NT-6.1-WOW64 hostname1 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin
$ echo test1 > /dev/clipboard 
$ echo test2 > /tmp/t
$ cat /tmp/t > /dev/clipboard 
cat: write error: Permission denied

# Same on a win7 home premium:
$ uname -a
CYGWIN_NT-6.1-WOW64 hostname2 1.7.26(0.271/5/3) 2013-11-29 11:25 i686 Cygwin
$ echo test3 >/dev/clipboard 
$ echo test4 > /tmp/t
$ cat /tmp/t > /dev/clipboard 
cat: write error: Permission denied

# works on my win7 enterprise:
$ uname -a
CYGWIN_NT-6.1-WOW64 hostname3 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin
$ echo test5 > /dev/clipboard 
$ echo test6 > /tmp/t
$ cat /tmp/t > /dev/clipboard 
# no error and "test6" is in the clipboard

Also cygcheck gave an error:
$ cygcheck.exe -s -v -r >cygcheck.out 
garbled output from 'id' command - no uid= found


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 61322 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20131210/89685c42/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list