From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tim Prince" To: "Castle, Eric" , Subject: Re: What does Dos mode vs unix mode mean when you install cygwin Date: Mon, 16 Jul 2001 20:41:00 -0000 Message-id: <005d01c10e72$9cdd6460$9865fea9@timayum4srqln4> References: X-SW-Source: 2001-07/msg00874.html ----- Original Message ----- From: "Castle, Eric" To: 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/