Re: Use of SHELL env var by login

2016-09-27 Thread Ernie Rael
On 9/27/2016 3:58 AM, Andrew Schulman 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 tr

Re: Use of SHELL env var by login

2016-09-27 Thread Linda Walsh
Andrey Repin wrote: Greetings, Linda Walsh! Windows *doesn't* use "SHELL" to set your command line, it uses COMSPEC. Do note I didn't mention any specific variable names. --- Indeed -- wanted to be explicit for those not know that the space in-between the lines is important! ;-) A

Re: Use of SHELL env var by login

2016-09-27 Thread Achim Gratz
Ernie Rael writes: > 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. This setting most likely was installed by yourself, the current Cygwin doesn't install

Re: Use of SHELL env var by login

2016-09-27 Thread Andrey Repin
Greetings, Linda Walsh! > Andrey Repin wrote: >>> In the absence of /etc/passwd, setting SHELL is the right way to set your >>> login >>> shell. >> >> One of the right ways, I'd say. >> If your aim is the integration of both environments, you MAY set variables, >> but if you then start a login s

Re: Use of SHELL env var by login

2016-09-27 Thread Linda Walsh
Andrey Repin wrote: In the absence of /etc/passwd, setting SHELL is the right way to set your login shell. One of the right ways, I'd say. If your aim is the integration of both environments, you MAY set variables, but if you then start a login shell, they may be voided by the startup scripts.

Re: Use of SHELL env var by login

2016-09-27 Thread Andrey Repin
Greetings, Andrew Schulman! >> Greetings, Andrew Schulman! >> >> >> 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/c

Re: Use of SHELL env var by login

2016-09-27 Thread Andrew Schulman
> Greetings, Andrew Schulman! > > >> 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

Re: Use of SHELL env var by login

2016-09-27 Thread Andrey Repin
Greetings, Andrew Schulman! >> 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 >

Re: Use of SHELL env var by login

2016-09-27 Thread Andrew Schulman
> 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 wind

Re: Use of SHELL env var by login

2016-09-26 Thread Ernie Rael
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

Re: Use of SHELL env var by login

2016-09-26 Thread Linda Walsh
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 win

Use of SHELL env var by login

2016-09-26 Thread Ernie Rael
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 SH