This is the mail archive of the cygwin@sources.redhat.com 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]

RE: [cgf: Re: rxvt SEGV (Win98, 1.1.5s/2000-10-08)]


> > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
> >   (default) = `/cygdrive'
> >   cygdrive flags = 0x00000020
>
> I notice that your /cygdrive variable is set to process in text mode (DOS
> sytle) line endings.
>

I have exactly the same after clean Cygwin reinstall (removing all registry
entries). So, it must be default.

>
> The problem is that if you process files in and out of your home
> directory they
> will have \r\n line endings while all of the other devices have \n line
> endings.  I assume from the fact that you have all mount points in
> binary mode
> that you really want to process all files in binary mode.  To change the
> /cygdrive pseudo mount point to binary mode do `mount -s -b
> --change-cygdrive-prefix /cygdrive'.
>

But then _all_ io from DOS devices will be in binary mode? IMHO that may cause
other problems.

Do you mean to say, that the default for text vs binary is set by this option?

Actually, I think, defaults are correct. This way you get binary IO on
explicit mounts (when you now, that all files are in Unix format) and text IO
everywhere else.

 Thank you for interesting comment anyway

-andrej


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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