This is the mail archive of the cygwin@cygwin.com 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]

RE: Perl, text files, & \r


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]