Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 26 Jan 2004 18:14:20 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: RE: Probably stupid question about line termination In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 26 Jan 2004, Igor Pechtchanski wrote: > On Mon, 26 Jan 2004, Dave Korn wrote: > > > > -----Original Message----- > > > From: cygwin-owner On Behalf Of Benson Margulies > > > Sent: 26 January 2004 18:00 > > > To: cygwincygwincom > > > Subject: Probably stupid question about line termination > > > > > > However we set up the text mode with mount, files referenced > > > with drive letters are being read with DOS line termination. > > > Is there a way to control this? > > > > Nope. DOS device letters don't correspond to mountpoints. The overall > > default text/binary mode is set at install time, and can be varied on > > different mountpoints, but since you aren't using a mountpoint to access the > > drives, they get the default mode that you chose at install. > > Actually, IIRC, /cygdrive/* paths are always accessed in text mode, > independent of what you set for the initial install. The initial install > setting simply sets the mode for the default mounts created by setup > (i.e., "/", "/usr/bin", and "/usr/lib"). > Igor Hmm, I take that back. /cygdrive is a pseudo-mount, and thus can have text or binary mode setting... The initial install controls the mode of /cygdrive as well. Files accessed via Win32 paths (e.g., "C:\CONFIG.SYS") *will be* accessed in textmode. Apologies for any confusion this may have caused. Igor > > Is there any reason you're forced to use drive letters, or can you just > > make binary mode mountpoints to correspond with your drive letters? > > > > cheers, > > DaveK -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/