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]

Redirecting cat and paste to file gives garbage


Hi all,

(no, that's not a typo in the subject line)

64-bit install, bash inside mintty, all latest packages with the cygwin1.dll snapshot shown below...

# <<< --- begin STC --->>>
$ uname -a
CYGWIN_NT-6.1 ryan-laptop-v02 1.7.23s(0.268/5/3) 20130729 19:11:42 x86_64 Cygwin

$ echo "Reading" > /dev/clipboard

# hit [shift]+[insert] to paste
# (hopefully 8 characters is not "too long" to paste into a TTY)
# then hit ^D to finish
$ cat > tmp.txt

$ cat tmp.txt
Rg
eRaedaidnign
g
$ cat /dev/clipboard
Reading
# <<< --- end STC --->>>

Thoughts?
Ryan


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