X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 11 Jul 2008 09:05:29 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: programming API to determine whether in 'Cygwin environment' Message-ID: <20080711130529.GB4194@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <18395872 DOT post AT talk DOT nabble DOT com> <20080711050615 DOT GA4181 AT ednor DOT casa DOT cgf DOT cx> <45387 DOT 97 DOT 113 DOT 116 DOT 104 DOT 1215754377 DOT squirrel AT webmail DOT efn DOT org> <20080711075223 DOT GL24644 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Fri, Jul 11, 2008 at 08:34:30AM -0400, William Sutton wrote: >All the same, you should probably check to see that whatever variables >you choose to key off of don't alter the way your program behaves in >other alternate Windows shells. A co-worker of mine uses 4NT, which >provides UNIX command and shell emulation in a native Windows format. >I expect it has at least $SHELL and/or $TERM. I've been using 4NT for years. I love it. My version of 4NT doesn't set SHELL or TERM. 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/