X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: R: How to make cygwin redirect in UNIX mode? Date: Tue, 9 Jun 2009 10:47:51 +0100 Message-ID: <5E25AF06EFB9EA4A87C19BC98F5C87530385DAAE@core-email.int.ascribe.com> In-Reply-To: <20090609040952.GA28887@ednor.casa.cgf.cx> References: <27059 DOT 8687 DOT qm AT web25001 DOT mail DOT ukl DOT yahoo DOT com> <20090609040952 DOT GA28887 AT ednor DOT casa DOT cgf DOT cx> From: "Phil Betts" To: Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Christopher Faylor wrote: > On Tue, Jun 09, 2009 at 10:27:27AM +0800, Pan ruochen wrote: > >> you installed cygwin in text mode. > >> So the output is DOS style, to have UNIX output > >> you need to install in binmode > > > >I did get one cygwin distribution which can excute scripts both in DOS > >mode and in UNIX mode and output in UNIX mode. The distribution is > >released in one install-shield package instead of numbers of gzip > >packages with a setup program in the traditional way. >=20 > Whoa! Stop right there. If you got Cygwin from someone else then you > should go to the source for support. We don't support other people's > packages here. We support the version of Cygwin that you get from the > Cygwin web site. Theoretically this should not be too surprising. >=20 > Please don't bother this list with questions about someone else's > distribution. Really. I mean it. Whoa! Careful with that knee-jerk! [*] I thought the point was that the "official" install didn't work, but=20 that the 3rd party packaged version *did* work (presumably because it's=20 using an ancient, line-ending agnostic bash, and has been installed=20 with binary mounts) My advice to the OP would be to reinstall the official release, and=20 this time make sure that "Unix/binary (RECOMMENDED)" is selected in the "Default Text File Type" section in setup.exe. That version you've=20 installed is completely out of date. As soon as you try to update it, you're likely to run into far more problems than if you install a current version and keep it up to date. [*] just to be clear and avoid offense, that's "knee-jerk" as in the=20 reaction, not "knee, jerk" which would have had a completely different=20 meaning ;-) Phil --=20 This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exch= ange. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/