Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 3 Dec 2004 15:02:06 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.5.12: TERM environment reset to "cygwin" after fork()
Message-ID: <20041203200206.GI29883@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <41B0C01F.6020401@smithdomain.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <41B0C01F.6020401@smithdomain.com>
User-Agent: Mutt/1.4.1i

On Fri, Dec 03, 2004 at 02:35:59PM -0500, B. Scott Smith wrote:
>Version: CYGWIN_NT-5.0 -- 1.5.12(0.116/4/2) -- i686 unknown unknown Cygwin
>
>I set the TERM environment variable in my application by calling 
>setenv(). A subsequent call to getenv("TERM") yields the expected value. 
>However, after performing a fork(), the call to getenv("TERM") returns 
>"cygwin". This is the case for both the parent and the child.
>
>Any ideas?

Simple test case?

cgf

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

