delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/27/00:49:22

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Tcl file separator
Message-ID: <20110126053350.GA31872@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2BF01EB27B56CC478AD6E5A0A28931F201DD85B4 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net>
MIME-Version: 1.0
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT COBQDPPJ1 ~
>> $ pwd
>> /cygdrive/d/cyghome/knellis
>> 
>> knellis AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019