This is the mail archive of the
mailing list for the Cygwin project.
RE: Probably stupid question about line termination
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin at cygwin dot com
- Date: Mon, 26 Jan 2004 18:05:50 -0500 (EST)
- Subject: RE: Probably stupid question about line termination
- References: <NUTMEGkU2chj3HpLM3300000018@NUTMEG.CAM.ARTIMI.COM>
- Reply-to: cygwin at cygwin dot com
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?
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.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