This is the mail archive of the cygwin 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]
Other format: [Raw text]

RE: Probably stupid question about line termination

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").

>   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

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

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