X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4FAC88AA.1050307@dancol.org> Date: Thu, 10 May 2012 20:34:02 -0700 From: Daniel Colascione User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping) References: <020501cd23f2$20f07620$62d16260$@motionview3d.com> <20120427143753 DOT GO25385 AT calimero DOT vinschen DOT de> <025501cd24c6$6a353990$3e9facb0$@motionview3d.com> <4F9B38FB DOT 9030607 AT dancol DOT org> <20120428052727 DOT GA23749 AT ednor DOT casa DOT cgf DOT cx> <4F9BD262 DOT 2000403 AT dancol DOT org> <4FAABEAE DOT 7000309 AT tlinx DOT org> <053b01cd2e18$f3f9ce60$dbed6b20$@motionview3d.com> <20120509201147 DOT GD22015 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20120509201147.GD22015@ednor.casa.cgf.cx> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6C5FB7D4C18F64A7B50AC24B" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig6C5FB7D4C18F64A7B50AC24B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 5/9/12 1:11 PM, Christopher Faylor wrote: > Please stop thinking that there is a simple solution that you can > intuit without fully understanding how Cygwin works. Indeed. _Everything_ is more complicated than it looks. >=20 > 1.7.15 will contain a new CYGWIN option "pipe_byte" which will force > non-tty, non-fifo pipes to use byte mode. That's about as far as we're > willing to modify Cygwin for this apocalyptic problem. What's the downside to using pipe_byte? --------------enig6C5FB7D4C18F64A7B50AC24B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAk+siK4ACgkQ17c2LVA10VsSFACgk1+vsYUhGFYIzNyGO5MPkLzt iz4AniEWX+2iLh8LMp8DrwAO85rnAS5v =qFYc -----END PGP SIGNATURE----- --------------enig6C5FB7D4C18F64A7B50AC24B--