delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/20/20:44:47

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
Message-Id: <4.3.1.2.20020320203416.0221c688@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 20 Mar 2002 20:43:23 -0500
To: cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: termcap problem in RXVT?
In-Reply-To: <3C9933D0.5020603@Salira.com>
References: <D60C43D4F66AD411A4AB00508BDF5C78070D095E AT emss02m17 DOT ems DOT lmco DOT com>
<20020319212030 DOT GB24191 AT tuxedo DOT skovlyporten DOT dk>
<4 DOT 3 DOT 1 DOT 2 DOT 20020320175512 DOT 02211c10 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

At 08:13 PM 3/20/2002, Andrew DeFaria wrote:
>Larry Hall (RFK Partners, Inc) wrote:
>
>>The short answer is "the answer is in the email archives".
>
>
>Not really. All the below reference says is that this is intentional, not why it's being done. My question was why.

If you follow the later posts as I mention below, you might find the answers.



>>See:
>>http://sources.redhat.com/ml/cygwin/2001-11/msg01018.html
>>There's also various threads that follow this one where people are caught
>>by the change in bash's behavior.  There was mention of an idea which
>>would have Cygwin set the environment variables that would normally be initialized during login on a *NIX system but it appears that functionality is waiting for a volunteer AFAICT.  Wanna take a run at this?
>
>Somebody's actually waiting for somebody else to put:
>
>export SHELL
>
>in /etc/profile?!?
>
>I wouldn't mind taking a crack at this if 1) I knew the process of what needs to be done to "crack it" as it were (probably off of the Cygwin web page under contributors somewhere but this is such a simple change - it's not like I'm developing some package or something) and 2) Not knowing *why* "Bash no longer auto-exports HOME, PATH, SHELL and TERM..." I a bit hesitent to just export them.


If you're really interested in understanding what the background on this
issue is, you'll want to check out the discussions in the email archives
regarding the problems that arose when bash was changed.  

BTW, bash was changed because these environment variables are set at login
on *NIX platforms, so setting them in bash is redundant at best.  

But I still recommend looking at the email archives to understand 
everyone's ideas on this issue.





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


--
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