delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/06/14:40:05

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=IE20RqANZo17cynyHm5fNTUXZq/EPLR7TvXlnKVJbA9
MVpMxmXq+MhrvM6c89XYDEGKR0n87xFeRK8d36WrIB5hSxXEZQ7AbgscA2+zTbo8
88TsgTu8oTaSVy14auKL7/36dG5wbZo6+RMg5SbZcWCMOmR57SU9S0kHsbDV4IuI
=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=xtF7KikoXp4/ByOYa/OZRCaQaf0=; b=XTkbBB98/hU7oHoVc
KwXRkHL3+RMqJQq4Mc1FKJpi/282vwNxQUZfF0BV/Na1fpnWCdzrGMxFVNS6FTQI
HbfCKMhVhOJpPr35cA9IyRoGJ/ral5qnyPjEAPG7MUbbva4SiXMld6AdIVBO8faJ
cawlp7/uewlbFY2Yo/rv+5XfUs=
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.7 required=5.0 tests=BAYES_05,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=05122018, menu, Gratz, 05.12.2018
X-HELO: vsmx011.vodafonemail.xion.oxcs.net
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: mintty 2.9.5
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>
Date: Thu, 06 Dec 2018 20:39:37 +0100
In-Reply-To: <a753939f-9724-296a-8ec5-643cd09b4f93@towo.net> (Thomas Wolff's message of "Wed, 5 Dec 2018 22:46:05 +0100")
Message-ID: <87in06la12.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id wB6Je3rf022480

Thomas Wolff writes:
> 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.

I'm not using this option, so my remark was just to remind you that
second-guessing the user w.r.t. PATH will eventually find at least one
user in an unfortunate (and in this case hard to debug) situation.  So
the usual advice applies:

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.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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