delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/06/16:35:19

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=jS9qg0v9ouGtkkUp
+Es7GTu/86niE2ueZsZ6opKC282gzEpOn0VcDb1zbtC/pKACcMyp8USnRrCue/iu
j51/ROzAGIgjHGnrlB2SbAyM/vYlCZN1MP7ZawTtDcvQCNDlhw6Uv4V0kqo+QmB1
wzplwPgfU/NJsssztdEpHcZL63I=
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=djfrzEkDvgfOenofakx9aW
Qis7A=; b=Tm8JD3xoln81wdUroy7ZQQNOav5Ho6bZVnJY3UCpq244o4LQd5Tquj
+X5pVfQMHk0mogTAnjgvcYrgbOeudYGG2LOY5kze25ST+XMBYzTgalDUCScPiIOd
plsUEn+O/85ghYuiyjoPfrYxzla5URfJCMbQmd6i+dabqg0NKHR7Q=
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
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=HX-Priority:Normal, H*RU:192.168.1.10, H*r:ip*192.168.1.10, Hx-spam-relays-external:192.168.1.10
X-HELO: forward100j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1544132101; bh=CvkJkR/vPM/ijmY9t+9YIsM+cBdTrxH+MI/6Fbi6Hjw=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Jt+0HhCukZkrcEk/X9NlKrD7HvVhCqeFurvObk9iGcKXvWNiii7SE/8uP6ZzkDVUu mRCLAfjhVSa4J8hG/6WT+PLaewOLni4XCqiGEngMJddVFwpR0SoA9s4AY4B/FCS68z JnQuR7/R+8cajc0d4m7Eeo9qlQ+UH0UmoRXq222I=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1544132100; bh=CvkJkR/vPM/ijmY9t+9YIsM+cBdTrxH+MI/6Fbi6Hjw=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=W1zzkce2Z9MRFX8fR3vZCbE0fz8Itr+UJHzGJiNWPQES0iZlnGK9fJ8pZtnfvr/tn z5HFqv+En+n28QHsYECK+LvTjKcZWu7F7hil93AvryC+WyZ2JbEjPePr6peJz25wdm x8oe6bZ2uhiQ5TeMATeyfRZUDhrIKBhbDttzPQg4=
Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 7 Dec 2018 00:32:23 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <94206790.20181207003223@yandex.ru>
To: Achim Gratz <Stromeko AT nexgo DOT de>, cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.5
In-Reply-To: <87in06la12.fsf@Rainer.invalid>
References: <announce DOT ba14b773-7e0a-32fd-7a01-4979c60eeb4c AT towo DOT net> <87woon9133 DOT fsf AT Rainer DOT invalid> <a753939f-9724-296a-8ec5-643cd09b4f93 AT towo DOT net> <87in06la12 DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Achim Gratz!

> a) Just warn about the missing PATH component without changing the PATH.
> b) Give the user an option to let the command run with a separate PATH.

> Indeed there might be other things that are missing in the environment,
> so instead of just fixing up PATH you might consider using a wrapper
> that the user can change.

This is an interesting point.
Probably letting the user specify custom $PATH for quick commands (and save
current %PATH% as $ORIGINAL_PATH) may be the best choice.
The default can be %Cygwin%\bin:%PATH% or %PATH%:%Cygwin%\bin, I'm not very
concerned as long as it's explicit and customizable.
If anybody need a wrapper, they may write and use it by themselves.

(I already have one, written in TCC, working quite well.)


-- 
With best regards,
Andrey Repin
Friday, December 7, 2018 0:15:56

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

- Raw text -


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