This is the mail archive of the cygwin@cygwin.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: What does Dos mode vs unix mode mean when you install cygwin



----- Original Message -----
From: "Castle, Eric" <Eric_Castle@intuit.com>
To: <cygwin@cygwin.com>
Sent: Monday, July 16, 2001 5:16 PM
Subject: What does Dos mode vs unix mode mean when you install cygwin


> When using the installer to install Cygwin 1.3.2, there is a step
where it
> asks what the default text file type should be, with the 2 choices
being
> either dos or unix.  What is the difference between the 2 choices?
Is this
> just how cygwin, including processing files in perl, uses either \r\n
or \n
> for line termination?
>
That's correct, a "dos" file has \r\n terminators
> I don't recall the old installer program (called full.exe) ask that
question
> back on B18.
So back then I got in the habit of never using "dos" files in cygwin.
>
> Any recomendation on which type to use? I've been choosing "dos" but
not
> sure what that is really doing vs choosing unix.
Entirely a matter of preference, and what the non-cygwin apps you intend
to use prefer.  For me, the hardest part of "unix" files is remembering
to always ftp "binary" and not to attach files to Windows e-mail unless
they are suffixed .doc or converted.  More and more apps can deal with
either kind of file.
>
> Thanks,
> Eric



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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