X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=qf44GC+v73XUg1V/
	oyRXxadjGC6SQNQ7eP9H4mEpwjFP3qVaFDOlBaLL4rApS3QnF5+ixgq7PIYNvuuH
	fhwib1FLfoacXrLlFnbutWbog9EZl/yYheLQLRH1W8YeEvgV8GpOnjcd6F1FYkZ+
	At+NoXzz/E25rtUWzV62UPwf9To=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=Ns8VWwFZK3SKDOyXv5GMdp
	Rpz4s=; b=PN4KInVERRY0ljg+niwDgNdPsMmAW0Ih4JWEyJmEe7FPiBRYQX/UXs
	U70VoboLjpPM5c4hHjAtrOYA5cj5L7+pTrMlKY6NkRudE5en0Q2IhfKe1AzfI+S7
	Z+jqBT5wy7/jFuTkLdope6ZNzkySKdk29XPUoILEEyf480ENjFurw=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_NUMSUBJECT,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*RU:192.168.1.10, H*r:ip*192.168.1.10, Hx-spam-relays-external:192.168.1.10, announcement
X-HELO: forward102j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1544448001;	bh=HVIGAwLpXA6ro1/vFOd4s+KIvXVSZZf4fIJMoJXiaN0=;	h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References;	b=m0rc789BKmPezvvvHz7ySH3H78xXt5QD9Cb+jQJxVrzHezSpoziKN1s9z0TwIxRfN	 aSoPMLirWN3qCnWQn08NOnhWtFeyPEWGxX/sOJ0wLYNAPApPmPAtZdhcB89afcSDhX	 yLmlqmEmOQv+W0WWFqG0XWyfVT+T0n62ERIbNzdM=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1544448000;	bh=HVIGAwLpXA6ro1/vFOd4s+KIvXVSZZf4fIJMoJXiaN0=;	h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References;	b=h1vqCN+VyBKCwseXl+De1PdxXoRKMmKNZeLE5OoXKvnMq7nbJ27XADb62gjywND2N	 jgKgoAwfV7V+AK9hh2Rr1knUvBEU9gz9MqxgA+e/bnhBXE6kxSYU2sOjGCXzGQ3oDF	 RlqDKc78RSF8BtpHnS26VtWKf1E8FLQTn7jMcbD4=
Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 10 Dec 2018 16:08:53 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1277174748.20181210160853@yandex.ru>
To: Thomas Wolff <towo@towo.net>, cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.5
In-Reply-To: <fa4263d7-9e16-42d0-be7d-8ef88dde5cff@towo.net>
References: <announce.ba14b773-7e0a-32fd-7a01-4979c60eeb4c@towo.net>   <87woon9133.fsf@Rainer.invalid> <a753939f-9724-296a-8ec5-643cd09b4f93@towo.net>  <87in06la12.fsf@Rainer.invalid> <94206790.20181207003223@yandex.ru>  <2f3cf57e-0b44-8c4a-b075-24743e4443d2@towo.net>  <199122924.20181208004157@yandex.ru>  <482194f6-37e5-6892-f63f-d7474cdab694@towo.net>  <753995611.20181210050159@yandex.ru>  <fa4263d7-9e16-42d0-be7d-8ef88dde5cff@towo.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Thomas Wolff!

>>>> BTW, Cygwin itself does it differently. %Cygwin%\bin is converted to /usr/bin.
>>> This setup should be handled in the Posix path domain.
>> Give me a good reason why should you second-guess Cygwin's own functionality?
> You have apparently set up some cmd scripts as mintty user commands, so 
> you're thinking in Windows terms here.

One is very distantly related to another.
I set up programs to work as user commands, it's not actually relevant, if
they are cmd scripts, or perl, both, or neither.

> However, the idea is more to use cygwin tools for such purposes. In either
> case, the path is handled within a cygwin session (mintty) and cygwin does
> the conversion both ways, so it should be fine for you.

The path is handled within a **cygwin** session, but mintty is not it.
And you don't have to second-guess cygwin behavior, if you do it the way I
propose. And you would be safe if behavior would one day change (though I do
not foresee it in this case).

P.S.
I've tried to do it "your way" for tests.
Had enough of an issue starting Cygwin itself and rolled it back.
Cygwin already quite capable of path conversion, no need to deny it this
ability.


-- 
With best regards,
Andrey Repin
Monday, December 10, 2018 15:54:44

Sorry for my terrible english...


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

