From: Ernie Rael <err@raelity.com>
To: cygwin@cygwin.com
Subject: Re: Use of SHELL env var by login
Date: Tue, 27 Sep 2016 05:35:00 -0000 [thread overview]
Message-ID: <105fa52f-f824-05d3-3e43-ce7ba083021f@raelity.com> (raw)
In-Reply-To: <57E9D6DD.8010206@tlinx.org>
On 9/26/2016 7:18 PM, Linda Walsh wrote:
> 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?
I suppose I might have set it way back when, but I do wonder why I would
have. It's interesting that you also have it set; there must be
something somewhere that prompted its setting. I can't find anything
online that suggests that cygwin would have set it.
In any event, I still wonder why mintty/login use that rather than
/etc/passwd.
>
>
>
> --
> 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
>
>
>
--
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
next prev parent reply other threads:[~2016-09-27 4:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-26 20:53 Ernie Rael
2016-09-27 2:24 ` Linda Walsh
2016-09-27 5:35 ` Ernie Rael [this message]
2016-09-27 11:20 ` Andrew Schulman
2016-09-27 13:13 ` Andrey Repin
2016-09-27 14:48 ` Andrew Schulman
2016-09-27 15:14 ` Andrey Repin
2016-09-27 16:50 ` Linda Walsh
2016-09-27 17:12 ` Andrey Repin
2016-09-27 17:22 ` Linda Walsh
2016-09-28 4:17 ` Ernie Rael
2016-09-27 17:18 ` Achim Gratz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=105fa52f-f824-05d3-3e43-ce7ba083021f@raelity.com \
--to=err@raelity.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).