delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/24/06:02:56

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=b3
FoNvjXoGjnCbl7uBfR98RyG6Jezs9uu4t0NvioTCSkIFBVhYDC2CxwdBIbmFUI4A
r/eqLCububUDDeoWBL7VSHX+ZEQ9QJABMh6tmWiDxFsTb4wnV2iU901QO3K6Ay/R
o4UaPorDPx5PtR3mP4vPw9/PWLLD2Iq4x8fArQgGM=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=ytYaKrJt
yh3QfULCGgJpBo3IEK4=; b=yoDG7eb4YYPsyhQdLTa1xKU8k4Ls1MzYxSsW7jYy
HcB1CKYeXwOSe0iWahFKcrlXvr143zuaKDQVDnw+9cSu0/85X8GwUgYLD7/ms8du
hL0AvSRZBb5tMNIWLJbNDlHErlDYQuHlizUoHZ5vNIjIXbNTzfGkM4VDmzKiLcNM
VxE=
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.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_FAIL autolearn=no version=3.3.2
X-HELO: mail-lb0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=WEPtRVhD2K1qfLuybyAyctROBB3zsr8KDXDx+u61ywI=; b=CQ9SxmmlasfjFlN0sUZ4DCOXMG52ZaK4ya0bQFeDvgOlphaBNJScw3J7dN5ZXmb11X hQIDzbSR953YcDQTkysZ+9b6oQmyLTzZDik2K6//8FNoig7ul82vM0tFwamyuG8/GVo/ r3kHLZLhy836ZUKJAn1DSyRFgeago3TYqaZX8+3RZJeZJyYk249sFi0jo/THJSzPMRdz vuNNpbaZih6pSC9lgmE72HaVvCBVjuxnM+58fEfeLWHJrivpnbICFnGE9TMLANIODtVA WK+sf7YPtLWeDir5rvqroHglgc2dP/jeSAaUC6BgTWYcIyyb9Q1WA7wsagGyYGlRNu2u H+mg==
X-Gm-Message-State: ALoCoQkKGxP13fQ17Hfu86nU2TdHd39ljf+6UqRoYH8CehZRuvFj3cEufaDbfN0LyWzLfeBz3sud
MIME-Version: 1.0
X-Received: by 10.112.158.199 with SMTP id ww7mr13821877lbb.71.1408874550195; Sun, 24 Aug 2014 03:02:30 -0700 (PDT)
In-Reply-To: <472694791.20140824113614@yandex.ru>
References: <CAKQqby=MkB1N+mbnQMkbxOK0DcU+SXjRSX_ntC2nPVtDsaUxmg AT mail DOT gmail DOT com> <472694791 DOT 20140824113614 AT yandex DOT ru>
Date: Sun, 24 Aug 2014 12:02:30 +0200
Message-ID: <CAKQqby=mTTO6BOhn=L0jVQY9VaPhdd9qHAfLbkBgaaSWXqTL4Q@mail.gmail.com>
Subject: Re: Deafult to bash so $chere will work (possibly?)
From: Michelle Pace <michelle AT michellepace DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

HOORAY! Thanks Andrey, this command worked for me:

$ chere -i -t mintty -s bash

DAYS of trying to figure this out. Thank-you!
Michelle

PS No problems about the english - it's better than my Russian :)


On 24 August 2014 09:36, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
> Greetings, Michelle Pace!
>
>> I would like Cygwin in the context menu of my Windows 7 machine (I
>> have admin rights).
>
>> I'm not sure really why the chere command is not working
>
> It works as long as you get the context menu entry after it's invocation.
>
>> since I've just read "sh is actually really bash"
>
> That's right, it IS bash in Cygwin, but...
>
>> and my .bashrc file is definitely getting used. Additionally there is
>> nothing in my passwd file as I thought I should just replace "sh" with
>> "bash". Finally, setting $SHELL to /bin/bash also did not work.
>
> The devil is in the details. When you don't explicitly call bash, it is
> getting called as /bin/sh and fall back to POSIX compatibility mode.
>
>> QUESTION: Could anyone please point out what I need to do to get my
>> chere command working?
>
> Simple answer: you're doing it wrong. But that's not enough - you're not
> reading/ignoring what the tool tell you.
>
>> -----------------------------------------------------------------------------------------------------------
>> My Story
>> -----------------------------------------------------------------------------------------------------------
>> $ chere -i -t mintty
>>     Shell defaulting to sh defined for MP
>>     /usr/bin/chere Error: Unknown shell sh
>
> chere -t mintty -s bash
> or -s /bin/bash, I dunno...
>
>
> --
> WBR,
> Andrey Repin (anrdaemon AT yandex DOT ru) 24.08.2014, <11:32>
>
> 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