Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000801c1d109$71679850$42a18c09@wdg.uk.ibm.com> From: "Max Bowsher" To: , "Andreas Gerstlauer" References: <200203211032 DOT aa19069 AT gremlin-relay DOT ics DOT uci DOT edu> Subject: Re: SHELL variable not exported Date: Thu, 21 Mar 2002 18:51:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 21 Mar 2002 18:51:43.0061 (UTC) FILETIME=[71679850:01C1D109] Latest bash stopped exporting many variables. It's in the mail archives. From the bash changes file: w. Bash no longer auto-exports HOME, PATH, SHELL, or TERM, even though it gives them default values if they don't appear in the initial environment. Max. ----- Original Message ----- From: "Andreas Gerstlauer" To: Sent: Thursday, March 21, 2002 6:32 PM Subject: SHELL variable not exported > I just upgraded (after using a rather old version) to the > latest Cygwin (1.3.10) and have a strange behavior: > it seems the SHELL environment variable doesn't get exported. > > The way I realized that is that when I am starting an rxvt > out of the normal Cygwin shell (clicking on the icon), rxvt > will run /bin/sh instead of /bin/bash (the latter one being > in /etc/passwd). An "echo $SHELL" in the Cygwin shell gives > me the correct /bin/bash but the same thing in rxvt returns > nothing (not set - hence, rxvt falls back to /bin/sh). > > Now, if I do "export SHELL" in the Cygwin shell and then > run rxvt everything's fine! > > What's wrong? Did something change? Do I need to tweak > something? Or is this a bug? It used to work fine before... > > For the record, I am running under both Win 98 and Win 2k. > > Andreas > > P.S.: Please reply by personal mail, I am not subscribed to > the list. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/