X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=tbhZevxenx0+MBIf cjp1FY5wUxdc2irYpZHiz/7tLdMRl2HHIyc9gTajRYSPEYV3aZNGv9QVPwgh86he pOKZ8JDOXoTSJW1BwnWdY1N4e1T6yZyLr70idyvssqDXcPs5YhIK+wSiaor8XZU7 m044/kc7g/D/km90XcyfnsRtIis= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=rqo3j9aPZEANhr2LEj37p1 gaHIs=; b=oFpnHyMmiQI++pQZj+DAW/PFubgKpvKf1AsEfpHj2TO7EY5GBsvFyD KJcHvSEg3mxh8DUfszFLgz5c2lQWv2KrgAXNvK/Dlee2voX2pVqbyFmgg0dEt2+G q+zaNvAJUgg9kuOndw4OgywOEuBeNIyL9Jls2jvCJBB5i/uoujOmA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.smtpout.orange.fr Message-ID: <525242DE.2060604@orange.fr> Date: Mon, 07 Oct 2013 07:13:02 +0200 From: Francis ANDRE Reply-To: francis DOT andre DOT kampbell AT orange DOT fr User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.7.25: problem with the cd command in ksh References: <524FB2BB DOT 40608 AT orange DOT fr> <52512348 DOT 1050702 AT orange DOT fr> <5251240C DOT 6060805 AT easynet DOT fr> <20131006223310 DOT GA3135 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20131006223310.GA3135@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Le 07/10/2013 00:33, Christopher Faylor a écrit : > On Sun, Oct 06, 2013 at 01:06:52PM +0200, Robert Klemme wrote: >> On Sun, Oct 6, 2013 at 10:49 AM, Francis ANDRE wrote: >>> Hi Robert >>> >>> The problem here is that the string of the target directory is computed by >>> another tool -- Mercurial in this case -- and that Mercurial returns a >>> absolute windows style path as >>> >>> Z:/DEV/OpenJDK_7u40/hotspot >>> >>> which seems to be relative in Unix world but which is absolute in the >>> Windows world. >>> >>> >>> Moreover, when using the bash shell, the command >>> >>> FrancisANDRE AT idefix /cygdrive/c/Cygwin >>> $ cd Z:/DEV/OpenJDK_7u40/hotspot >>> >>> moves the cwd without error to >>> FrancisANDRE AT idefix /cygdrive/z/DEV/OpenJDK_7u40/hotspot >>> >>> >>> So why the ksh cannot do the same? >> That question ksh developers or cygwin package maintainers should be >> able to answer. They might just use different syscalls which vary in >> behavior on Cygwin. You could try to find that out with strace. > More likely it is just because ksh automatically prepends the current > working directory to something that it considers to be relative. > > I know I'm a broken record on the subject but it is not a requirement that > Cygwin tools to be able to understand MS-DOS paths. It's possible that they > do, by coincidence, understand them but it is not a given that they will. Can I have a official statement from Cygwin about this? ie that bash is supporting MS-DOX path by accident and ksh won't and that is not a requirement of Cygwin? Or Can Cygwin adds the understanding of absolute DOS path as a requirement and fix the ksh stuff? Francis > > cgf > > -- > 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 > > -- 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