X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0	tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4D3F4E6C.3030608@cygwin.com>
Date: Tue, 25 Jan 2011 17:27:56 -0500
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Tcl file separator
References: <2BF01EB27B56CC478AD6E5A0A28931F201DD85B4@A1DAL1SWPES19MB.ams.acs-inc.net> <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net>
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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

On 1/25/2011 4:48 PM, Nellis, Kenneth wrote:
> From: Nellis, Kenneth
>> I'm thinking that Cygwin Tcl's "pwd" should match Cygwin's and
>> that "file separator" should return a Linux one.
>>
>> knellis@COBQDPPJ1 ~
>> $ pwd
>> /cygdrive/d/cyghome/knellis
>>
>> knellis@COBQDPPJ1 ~
>> $ /cygdrive/c/cygwin/bin/tclsh84.exe
>> % pwd
>> D:/cyghome/knellis
>> % file separator
>> \
>> %
>
> I was hoping my OP would get some traction.
> It seems the basic purpose of Tcl's set of "file" commands
> is to allow one to write platform-independent scripts that
> need to manipulate pathnames. The Cygwin implementation seems
> to be broken.

You've touched on a subject with lots of history and as such, I
expect that's mostly the reason your previous post doesn't result
in more response.  I'll let you wade through the email archives if
you're interested in all the nitty-gritty of that history but a
quick summary of the current state is that TCL/TK on Cygwin is
built to support Insight and on Windows Insight wants a Windows
environment (mostly).

-- 
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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

