Various shell problems

Larry Hall cygwin-lh@cygwin.com
Fri Aug 15 19:58:00 GMT 2003


Dr.D.J.Picton wrote:

> 1.  I downloaded the new version of base-files (2.0-2) today.  I note that the
> new config files now go into the /etc/defaults directory, which is a good
> idea!  Although it does have one disadvantage - if there are problems in
> the new files, many existing users won't see them.


<snip>


> 2.  SHELL environment variable problem.
>    For some reason, the bash shell tends to drop the SHELL variable from the
>    environment, causing a variety of problems.   I fixed this with a new
>    startup script (/etc/bash.bash_env) which issues 'export SHELL', and by    
>    contriving  (via the BASH_ENV environment variable and .bashrc scripts) that  
>    all bash shells will use the script.   


This is a change in bash behavior.  It's intentional.  It's not something
new though.  It's at least a year old.  You can check the email archives
for the bash announcement on this issue and/or the subsequent reports of
"bugs" from this behavior change.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list