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=SHkZZfq1I7GC3/0R XGshJxDp8fFlXLQ0y7E4z7FWI80r/iKo5NEVCArhMyzTpx9eyWAG6zP8Jk5gUk5A ACEheRV/BHDLo6sy2AzlV6aCzOz3xspQTj9PtMl0MzwtLMoWD6G+MGmdlNDkAvnR CLNpLP8P7a70O9FyOTmGifPt6B0= 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=8g+Bsz6Vtu/zJuQcsq1Tco nQKzw=; b=iOX1yHHIrhkqvr+lz5UW+ZGlcqpo/+hSmB0J6OkviEU3lBsmFbnl/G v63daO9kI4lEqu/gT6q9gexbCMGv8AwKW4UPJB6b08wbOHN45/tuT8t33o3xC1Ld CvDuZuAAv/3eUfdqDp8HsGPas7yZfUEOT3Mg9QM/KNcnAJmhK1oLY= 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=0.5 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=login, spawned, globally, prepend X-HELO: mail-it1-f179.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=kNHNZ+2Qnb1d+1qwqeSiHX973la6wFAUqX/+iW8wZ6s=; b=PS+n52iWkww6i4O6jO5se9oH4KY16vGO9yBg+l3WmbXFQIeWJAWAhWTuGMpFMZhAdg JoYVFDj7YWdBD3dXM+tCyJ88wskJ2YnCwZhExz02x2ntkeV9YNqhht4wU3d9fBoshtvW Y90IFrZgQ4o6eugOh0DGBDkP8gbNlEvWM31n37pGrbjGznA0PSLb8rHDG0rr6Iy1aPs2 TbwJCf1am3/E0O7yZeJP9f25zqkkzFBDSxfjiLiriHcKy7yQNHwrARO+hL5d3qiH+C9s K9P/9bH+mALGrO0ea6rMeIZ7mV7HdEhdZvOCVIpQQjdbotC73L5bSi6KBwQySEEbapw6 /nEQ== Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.5 To: cygwin AT cygwin DOT com References: <87woon9133 DOT fsf AT Rainer DOT invalid> <853410540 DOT 20181206031831 AT yandex DOT ru> <7b2028f0-ff6b-216f-8e92-71fa2af55e16 AT towo DOT net> From: cyg Simple Message-ID: Date: Thu, 6 Dec 2018 11:25:43 -0500 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: <7b2028f0-ff6b-216f-8e92-71fa2af55e16@towo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 12/6/2018 2:22 AM, Thomas Wolff wrote: > > 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. Please make it optional. And rather than prepend doing an append might avoid the conflicts described by Andrey. -- cyg 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