X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20110318T173146-24@post.gmane.org>
References: <loom.20110318T083042-612@post.gmane.org>	<4D83695B.8080200@redhat.com>	<loom.20110318T153128-549@post.gmane.org>	<4D8377D6.1000406@redhat.com>	<loom.20110318T163044-157@post.gmane.org>	<4D8386D8.8050105@redhat.com>	<loom.20110318T173146-24@post.gmane.org>
Date: Sat, 19 Mar 2011 06:32:19 +0000
Message-ID: <AANLkTimyAv76-VnkUHNLJDnwTS+kLi=XZLWsL5c_Hqx-@mail.gmail.com>
Subject: Re: How to setup cygwin to use always textmode
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On 18 March 2011 16:48, ralf wrote:
> Eric Blake writes:
>> But you didn't need the setup.exe radio button to get the same effect,
>> instead, just change your mounts manually (/etc/fstab) to set the
>> text-mode mount flag on the subset of directories where it matters to you.
>
> In releases with this radio button files with windows filenames were opened as
> text-files like files which were on a filesystem with text-mode mount flag. Now
> they are always opened as binary files. I have no chance to open a file with
> windows-filename as text-file. This "feature" (open-mode of files with
> windows-filenames) has been lost, or do I misunderstand something?

Yep, looks like you're right:

http://www.cygwin.com/cygwin-ug-net/using.html#pathnames-win32

"When accessing files using native Win32 paths as above, Cygwin uses a
default setting for the mount flags. All paths using DOS notation will
be treated as caseinsensitive, and permissions are just faked as if
the underlying drive is a FAT drive."

Perhaps it should pick up the textmode at least from the cygdrive mount?

Andy

--
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

