From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26188 invoked by alias); 27 Sep 2016 02:18:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24801 invoked by uid 89); 27 Sep 2016 02:18:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=sometime, H*i:sk:ae3654c, H*MI:sk:ae3654c, H*f:sk:ae3654c X-HELO: Ishtar.sc.tlinx.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Sep 2016 02:18:21 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id u8R9Hv0k041757 for ; Tue, 27 Sep 2016 02:17:59 -0700 Message-ID: <57E9D6DD.8010206@tlinx.org> Date: Tue, 27 Sep 2016 02:24:00 -0000 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Use of SHELL env var by login References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00343.txt.bz2 Ernie Rael wrote: > I just moved the cygwin installation. The "last" peculiarity I ran into > was that the login shell, with the shortcut "F:\cygwin64\bin\mintty.exe > -i /Cygwin-Terminal.ico -", a ps showed > > /cygdrive/c/cygwin64/bin/bash > > instead of /usr/bin/bash > > I tracked this down the the windows setting for SHELL, the one you get > to from windows' SystemProperties dialog, which was > C:/cygwin64/bin/bash. The /etc/passwd file specifies /bin/bash. ---- I don't think cygwin sets the Windows SHELL variable in the registry. My SHELL value in the System section is 'C:/Bin/Bash.exe', which isn't a cygwin-looking path (looks like something I set). Are you sure you didn't set it in the past sometime? -- 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