delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=HdODmg79xwMel/Da | |
z5S0OuXdCGh2BKdyJktt6Hz7np+X8U7jHzg2PvXPIG2AIiFD4XAo6nQdbId9pHyc | |
hhbF1Ww4t+Q9WBVaMWtFc2OFLRZulzEtcbLlJAqi2vz1EYjskbacXzxLxeLiqqT9 | |
V1DkThtInaeUJ3k+eBN303FIuPM= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=j3IbIaZPEH6JQz8B1NyAvO | |
q3tLI=; b=emf76Nc9spfMvr7WbKudrej5D9AlSk2nm2yBkbVMTBQkMIXHT5AU9G | |
2Xeg3JzmqYcVc7e8k6Pr1KgQ8gC7SVN8qtzRVWbVEomZX0Fm8tOaeiDM88DVm3it | |
A4knIg70/tvexL6ja1XKc1CAUyMj9RGXCli37t2cfwjIxImx2ZcS4= | |
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=-0.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=login, spawned, globally, HContent-Transfer-Encoding:8bit |
X-HELO: | mout.kundenserver.de |
Subject: | Re: [ANNOUNCEMENT] Updated: mintty 2.9.5 |
To: | cygwin AT cygwin DOT com |
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> <853410540 DOT 20181206031831 AT yandex DOT ru> |
From: | Thomas Wolff <towo AT towo DOT net> |
Message-ID: | <7b2028f0-ff6b-216f-8e92-71fa2af55e16@towo.net> |
Date: | Thu, 6 Dec 2018 08:22:35 +0100 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 |
MIME-Version: | 1.0 |
In-Reply-To: | <853410540.20181206031831@yandex.ru> |
X-IsSubscribed: | yes |
Am 06.12.2018 um 01:18 schrieb Andrey Repin: > Greetings, Thomas Wolff! > >> Am 05.12.2018 um 21:21 schrieb Achim Gratz: >>> Thomas Wolff writes: >>>> Other >>>> Â * Ensuring /bin in PATH for user commands. >>> Blindly prepending /bin to the existing PATH is asking for trouble with certain setups. >> Just to clarify, this is only applicable to user-defined commands added >> to the extended context menu (option UserCommands), in order to ensure >> basic tools are available. If you see problems there, please be more >> specific. > Yes, I see problem there. > I have Cygwin in my regular %PATH% at the place I want it. I.e. when using > tools and commands, I expect them to behave in a certain way. > Changing it have potential to produce unexpected results. The issue that caused me to apply this change: if you start mintty from a desktop shortcut, cygwin /bin is not in the PATH of mintty (unless you would set it globally in Windows, which is discouraged). It will be inside your login shell, of course, but user commands are spawned from mintty directly. I could append rather than prepend /bin, but then another tool like `sed` might be in the path and user commands behave unexpectedly. I could also check whether it's in PATH already, and then prepend. Thomas -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |