Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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" , From: Larry Hall Subject: Re: Probably stupid question about line termination In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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/