X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0	tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Wed, 26 Jan 2011 00:33:50 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Tcl file separator
Message-ID: <20110126053350.GA31872@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <2BF01EB27B56CC478AD6E5A0A28931F201DD85B4@A1DAL1SWPES19MB.ams.acs-inc.net> <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Tue, Jan 25, 2011 at 03:48:32PM -0600, 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.

Tcl is currently one part of the Cygwin installation that is pretty much
pure windows.  It is that way for the sole purpose of working with the
insight debugger.  So it takes windows paths and is not a real Cygwin
application.

I'm working on this very very slowly but I don't have an ETA for when this will
be fixed.

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

