delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/25/17:28:26

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Tcl file separator
References: <2BF01EB27B56CC478AD6E5A0A28931F201DD85B4 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net>
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F201DD8DE9@A1DAL1SWPES19MB.ams.acs-inc.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 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 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.

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

- Raw text -


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