delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/21/13:35:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: SHELL variable not exported
From: Andreas Gerstlauer <gerstl AT ics DOT uci DOT edu>
X-url: http://www.ics.uci.edu/~gerstl/
MIME-Version: 1.0
Date: Thu, 21 Mar 2002 10:32:46 -0800
Message-ID: <200203211032.aa19069@gremlin-relay.ics.uci.edu>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019