| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| Date: | Fri, 3 Dec 2004 16:27:06 -0500 |
| From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: 1.5.12: TERM environment reset to "cygwin" after fork() |
| Message-ID: | <20041203212706.GM29883@trixie.casa.cgf.cx> |
| Reply-To: | cygwin AT cygwin DOT com |
| References: | <41B0D8E4 DOT 7050401 AT smithdomain DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <41B0D8E4.7050401@smithdomain.com> |
| User-Agent: | Mutt/1.4.1i |
On Fri, Dec 03, 2004 at 04:21:40PM -0500, B. Scott Smith wrote:
>Hi all,
>
>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.
>
>-- I have found a big clue. If I set the TERM variable in the Windows
>environment prior to running my program (it can be set to anything at
>all), it works as expected.
>
>Any ideas?
Provide a simple test case, that is compilable and linkable so that
we can investigate your claim.
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |