delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/18:12:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <398F34C5.D28A1006@veritas.com>
Date: Mon, 07 Aug 2000 15:14:29 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: DJ Delorie <dj AT delorie DOT com>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: Some comment about Cygwin1.1.4
References: <398EF5AD DOT 97DC2CEC AT onera DOT fr> <200008071749 DOT NAA01544 AT envy DOT delorie DOT com> <398EFA1C DOT 6EC280E7 AT onera DOT fr> <200008071834 DOT OAA01863 AT envy DOT delorie DOT com> <398F0A7F DOT CD49D864 AT vinschen DOT de> <200008071916 DOT PAA02265 AT envy DOT delorie DOT com> <398F0F75 DOT 82839993 AT veritas DOT com> <200008071937 DOT PAA02475 AT envy DOT delorie DOT com>

DJ Delorie wrote:
> 
> > By default, it should not be exported, but a user could export it
> > themselves.
> 
> Stupid Linux.  sh -> bash.  OK, if I run *ash* you're right.

Yes, this has caught me a number of times, too.

> I'm thinking, though, that this won't help anything.  If the user just
> types "sh" at a bash prompt, there aren't any files sourced by sh
> where we'd get a chance to fix the prompts.

True, if that is what was wanted.  I was thinking only in terms of a
"login" shell.

And, on all UNIX/Linux systems I've used, if the user starts a subshell
that uses common env variables but does not understand advanced features
available in the parent, the result is displayed wihtout interpretation,
so this is working "as expected".

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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