www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/26/13:37:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040126132016.03cdd5c8@127.0.0.1>
X-Sender:
Date: Mon, 26 Jan 2004 13:34:48 -0500
To: "Benson Margulies" <bim2003 AT basistech DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Probably stupid question about line termination
In-Reply-To: <E8CC5F35918C084F8DBF32A5161C4003066D97@mailserver.basistec h.net>
References: <E8CC5F35918C084F8DBF32A5161C4003066D97 AT mailserver DOT basistech DOT net>
Mime-Version: 1.0

At 01:00 PM 1/26/2004, Benson Margulies you wrote:
>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?


I'm not sure the first part of your statement makes sense with the last
part.  The implication is that you're looking for UNIX-style line endings
for "files referenced with drive letters" but you state that you "set up the 
text mode with mount", which implies that you want DOS-style line endings.
Cygwin treats all paths using DOS drive syntax as DOS format files, using 
DOS line endings.  You can use the Cygwin 'mount' command to mount a DOS
path as a Cygwin POSIX path and to treat files in this subtree as UNIX-style
files (using the '-b' flag to 'mount - see 'man mount').  But of course, 
this means you have to use the POSIX path to get this behavior.  Otherwise, 
you can use 'd2u' to convert the file(s) in question.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019