delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/26/18:06:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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:05:50 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: RE: Probably stupid question about line termination
In-Reply-To: <NUTMEGkU2chj3HpLM3300000018@NUTMEG.CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.56.0401261804030.26063@slinky.cs.nyu.edu>
References: <NUTMEGkU2chj3HpLM3300000018 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0

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: cygwin<at>cygwin<dot>com
> > 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

>   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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019