delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/08/09:49:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=aJB
xTaAXNd51NReHBJkHJOaCXK1sFEZUF+09+UtWxfA7B70u5Qf0nhUSHEIMorQpqsK
n0748se8hBEYdrzOnoI2Pq+YdH8bbWRH/3743WoqTszzVe1U3ZrdhwstAYgY/bmK
rDgmV9Y31nM/uLw/nGH5mPPwp/Agh+BylQXwFxB0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=ODW32tzHo
uVV44sDAMEAKe8CNEE=; b=d6RV+848C+d/Nr7zgmttxK3mBJ57BSJTQklyZSLb/
8729tpKiUC+ZuB18k4u7aEeakEYHS8AyRYMiRPZ/qQdXmc00GqSUyP56gNnGveED
pTGPsnXXaRjQ4HU/+DQC01iotRuRPG1Pnzqyy/ecPoISb6tA7Dt52Z2wRsJCoYpc
R4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,SPF_NEUTRAL autolearn=no version=3.3.1
Message-ID: <5203A1A3.30200@cs.utoronto.ca>
Date: Thu, 08 Aug 2013 09:48:19 -0400
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019