Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <005d01c10e72$9cdd6460$9865fea9@timayum4srqln4> From: "Tim Prince" To: "Castle, Eric" , References: Subject: Re: What does Dos mode vs unix mode mean when you install cygwin Date: Mon, 16 Jul 2001 20:43:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 ----- 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/