X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: Ralf Subject: How to setup cygwin to use "always" testmode Date: Fri, 18 Mar 2011 07:43:26 +0000 (UTC) Lines: 14 Message-ID: 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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