Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT sources DOT redhat DOT com> List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" <gp AT familiehaase DOT de> Organization: Esse keine toten Tiere To: "Christopher Rath" <christopher AT rath DOT ca> Date: Sun, 8 Jul 2001 15:40:49 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: RE: Perl, text files, & \r Reply-to: gp AT familiehaase DOT de CC: cygwin AT cygwin DOT com Message-ID: <3B487F01.20173.12DF36CB@localhost> In-reply-to: <PAEBIDDBILOFFDPNDLKNOEODCDAA.christopher@rath.ca> References: <012a01c1072c$a263f5e0$83fafea9 AT tiny450> X-mailer: Pegasus Mail for Win32 (v3.12cDE) X-Hops: 1 X-Sender: 320081107336-0001 AT t-dialin DOT net Christopher Rath schrieb am 2001-07-07, 23:13: > solution: use of the 'binmode' command. Would it help to set the environment settings CYGWIN=binmode ? [...] > I think this should be in the Cygwin FAQ. Why this works can be found on > pp. 53-55 and 147 of "Programming Perl 2nd Ed." Is it a cygwin issue or more a perl one? You can choice at setup time between 'unix(==binmode)' and 'windows(==textmode)' mode. You could mount with '-b' for binmode. It should work as it does on unixlike systems if you setup with binmode as default. I believe it is in the user guide somewhere... gph -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/