Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <20000623005927.10682.qmail@web118.yahoomail.com> Date: Thu, 22 Jun 2000 17:59:27 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: RE: cygwin 1.1.2 - CYGWIN=binmode [subject changed] To: Christopher Jones , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Christopher Jones wrote: > > >Is CYGWIN=binmode supposed to be a global way of doing the > > same thing as > > >mounting everything in binmode because it isn't acting like it... ? > > > > The documentation for the project is currently located at the > > cygwin web > > site: > > > > http://sourceware.cygnus.com/cygwin/ > > > > According to the user manual, Chapter 3... > > In b20.1 of 12/98, a file will be opened in binary mode if any of the > following conditions hold: > > 1.binary mode is specified in the open call > > 2.CYGWIN contains binmode > > 3.the file resides in a binary mounted partition > > 4.the file is not a disk file > > So I'm asking the same question as above, if I do not mount a drive at all > and I have specified binmode in CYGWIN then why does the file end up with > CRLF in it? If I do mount the drive, then I get LF only, which is what I > want, but without having to mount every drive. > From Chapter 3 I see: -------------------------------------- The CYGWIN environment variable The CYGWIN environment variable is used to configure many global settings for the Cygwin runtime system. It contains the options listed below, separated by blank characters. Many options can be turned off by prefixing with no . (no)binmode - if set, non-disk (e.g. pipe and COM ports) file opens default to binary mode (no CR/LF/Ctrl-Z translations) instead of text mode. Defaults to set (binary mode). This option must be set before starting a Cygwin shell to have an effect on redirection. --------------------------------------- Notice that it states *non-disk*. Cheers, ===== --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com