delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/07/18:35:54

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=hhh16GjEEzsCe3uYOjzmyJZoTT5Ni5I/eCwn/nyzFAk
TGJ/lmVEZ9pFa3R8UF+guRS9PwneTe+s16m5011m4eBTzEgk7sFSAXQh/9MDi5xZ
fYWmeqD3C3dZCZ8GkhX544hy3vjNe+srJ3z1XK8nvTcgv7b0C9AhlIyyPQbXNQik
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=b8OmyxrnwwRYRXAr+R0SmzidZZ0=; b=fqQ1c9bpSqK0tnCNj
iJh3vN/V14wVsWseQWLq/Qcgndcqdc53/82iT19WD4YO7g6SqxwwVpMIwDbOhSxg
TC15Xgajw2rfqGMCjNgTDhUD8JB9iacZdRuz9v/xmNmy+7/pgF5AUK/lIVj83mG+
nIC+Trerq8yM84EPPhTbla5Nh0=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f41.google.com
X-Received: by 10.180.97.72 with SMTP id dy8mr999008wib.5.1396910133702; Mon, 07 Apr 2014 15:35:33 -0700 (PDT)
Message-ID: <5343282E.7080004@gmail.com>
Date: Mon, 07 Apr 2014 23:35:26 +0100
From: Dave Kilroy <kilroyd AT googlemail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Possible bug with chere 1.4 when configuring for fish
References: <1396872150 DOT 23888 DOT 103602749 DOT 74ECB5AB AT webmail DOT messagingengine DOT com>
In-Reply-To: <1396872150.23888.103602749.74ECB5AB@webmail.messagingengine.com>

On 07/04/2014 13:02, Ronald Fischer wrote:
> I have installed fish 2.1.0. Works fine, when invoking a new fish shell
> manually.
>
> However, when doing a
>
>     chere -ifcm -t mintty -s fish
>
> and invoke the new fish shell from the Windows Explorer context menu, I
> get plenty of error messages, like this:
>
> <snip>
>
> (more of this kind follow).
>
> This looks like there is a problem the PATH, but this happens even when
> I use the -2 on chere when installing the shell. Note that bash or zsh
> shells installed via cygwin work fine.
>
> In this 'broken' fish shell, I enter
>
>      echo $PATH; uname
>
> and get the following output:
>
> <snip>
> /cygdrive/c/windows/system32 /cygdrive/c/windows
> /cygdrive/c/windows/System32/Wbem
> /cygdrive/c/windows/System32/WindowsPowerShell/v1.0
> /cygdrive/c/windows/System32/WindowsPowerShell/v1.0 /cygdrive/c/Program
> Files (x86)/Common Files/Citrix/System32 /cygdrive/c/Program Files
> (x86)/Citrix/ICAService /cygdrive/c/Program Files (x86)/Citrix/System32
> <snip>
> To compare with, when I output the PATH from a "normal" fish shell (i.e.
> one which I have invoked from, say, a bash shell), I get:
>
>      echo $PATH
> .:/home/ronald.fischer/bin:/usr/local/bin:/usr/bin:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
> Files (x86)/Common Files/Citrix/System32:/cygdrive/c/Program Files
> (x86)/Citrix/ICAService:/cygdrive/c/Program Files
> (x86)/Citrix/System32:/usr/lib/lapack
>
> We see that in fish, /usr/bin is missing from the PATH. This is strange,
> in particular if I install chere fish with option -2, because in this
> case, fish will be invoked via bash.
>
> Ronald
>
Thanks for the report.

I've just checked my x86_64 and x86 installation. Things are working on 
my installation as I have c:\cygwin\bin on my standard windows path. 
When I remove it and invoke fish, I get the errors that you highlight. 
Similarly when echo'ing $PATH under the broken fish, /usr/bin is not one 
of the entries.

I need to have a play around to see how I can fix this, but I thought 
cygwin prepended /usr/bin to the path...


Regards,

Dave.

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