delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/24/00:51:01

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:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=FzTiayBpapib2MgjlsAIRNSQYqYCe
eI4vGKM3E2/M+JBrF8S15nVVybU3qpfU+5YH+RGyBfoLA1Zp+P74DseHz9hSW6fd
tH2jh1YQJA5RTS61OTm1oV7OPDYOPYopgJ+RRhwsh6XynexafgQvq9p0RuiBysDv
WOzNPMFkjv1/Ho=
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:date:message-id:subject:from:to
:content-type; s=default; bh=iK9txF3uZ+g68cdn2Bc39BXOFXQ=; b=gGX
GmUY8EcyxOtzKOZZ409ncoDFHWz6GYS92J1oOhxKLl3YQ/J+FZ2/ctAYfHIOjO7L
T3/r7zPvKK47OkXqpurdq92bvG2FwWYwXIjqjKVf7qv9tFV+GNDxN0WebU5wmNJd
4vAp1gZEmQmCNbwBf/XSMsGjLIix1HDgOB/qV0aA=
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=1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_FAIL autolearn=no version=3.3.2
X-HELO: mail-la0-f43.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:date:message-id:subject:from:to :content-type; bh=Ax0D2JJrAm9bIBbC8a4Tu64cFo2/rAsu1JA1XWYiLyw=; b=PozYTZ5Xe43ajNmxhiEM5m9Bd+G7vIoWR/4dvC4C6/MVw6F+SXOC6wsH0QAsHngr+a PKuyKdThDHbqjfoDi/rA461G9AN6CmFaIpDuxS+UaMk5ZnZh+xPbSCfngCU66KboqKpK jv3Tv9vIGlpn2BxXLcJfaLiiVoieeMKVEb9CSLkZp6CBO2yvSZU+HXTdL4TlNZd1RkLN celdxy7dCRIZDWffiy6Azdk017sXBgWVcg2SvFf7aCIO6+MOsVY1UCRp3kl7SRQlbSHy 3ja1SioSw/Hx69EwI6NZZ+yiqfJd9hix838NMKs4oyhqmmZnh0P4MY+efUX8j2cRC4WV I7Vw==
X-Gm-Message-State: ALoCoQly1Y5kL4JDTFyMZQSa1PUrcA3VinPq51cTYhRRIWQDR2o/wIxNQl10tN7d/qRgqhAX2Pwd
MIME-Version: 1.0
X-Received: by 10.112.161.72 with SMTP id xq8mr12733486lbb.18.1408855826890; Sat, 23 Aug 2014 21:50:26 -0700 (PDT)
Date: Sun, 24 Aug 2014 06:50:26 +0200
Message-ID: <CAKQqby=MkB1N+mbnQMkbxOK0DcU+SXjRSX_ntC2nPVtDsaUxmg@mail.gmail.com>
Subject: 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

Hello,

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 since I've
just read "sh is actually really bash" 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.

QUESTION: Could anyone please point out what I need to do to get my
chere command working?

-----------------------------------------------------------------------------------------------------------
My Story
-----------------------------------------------------------------------------------------------------------
$ chere -i -t mintty
    Shell defaulting to sh defined for MP
    /usr/bin/chere Error: Unknown shell sh

    Supported shells:
    ash bash cmd dash fish mksh pdksh posh tcsh zsh passwd

$ echo $SHELL
    /bin/sh

$ getent passwd
    ????????:*:4294967295:4294967295:::
    MP:*:400:401:,S-1-5-21-3057310190-824264485-1315356369-1116:/home/MP:/bin/sh

$ cat /etc/passwd
    <there was nothing in this file, nothing at all!! >

$ cat /etc/shells
    /bin/sh
    /bin/ash
    /bin/bash
    /bin/dash
    /bin/mksh
    /bin/pdksh
    /bin/posh
    /bin/tcsh
    /bin/zsh
    /usr/bin/sh
    /usr/bin/ash
    /usr/bin/bash
    /usr/bin/dash
    /usr/bin/mksh
    /usr/bin/pdksh
    /usr/bin/posh
    /usr/bin/tcsh
    /usr/bin/zsh

Thank-you,
Michelle

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