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]

redirect to /dev/clipboard bug


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


Attachment: cygcheck.out
Description: Binary data

--
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]