X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Ralf <wiesweg@tacos-gmbh.de>
Subject: How to setup cygwin to use "always" testmode
Date: Fri, 18 Mar 2011 07:43:26 +0000 (UTC)
Lines: 14
Message-ID: <loom.20110318T083042-612@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I'm using cygwin under windows to change text-files with windows line-endings 
(CR and LF). I wrote a lot of shell-scripts which call each other. The 
filenames in those scripts are sometimes given als windows filenames (e.g. 
c:\temp\file.txt) sometimes relative (e.g. ../tmp/file.txt) sometimes as unix 
filenames (e.g. /c/temp/file.txt) and sometimes without any directory (e.g. 
file.txt)

The current versions of cygwin now only use entries from fstab to determine 
the mode but this will break all my scripts because the same file will 
sometimes be treated as binary (filename c:\temp\file.txt) and sometimes as 
text (filename /c/temp/file.txt).

So is there a way to say 'use always textmode' like it was possible in former 
releases?


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

