This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Various shell problems
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: "Dr.D.J.Picton" <dave at aps5 dot ph dot bham dot ac dot uk>
- Cc: cygwin at cygwin dot com
- Date: Fri, 15 Aug 2003 14:23:06 -0400
- Subject: Re: Various shell problems
- References: <200308151622.RAA01071@aps5.ph.bham.ac.uk>
- Reply-to: cygwin at cygwin dot com
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/