X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: programming API to determine whether in 'Cygwin environment' Date: Sat, 12 Jul 2008 14:36:06 +0200 Lines: 13 Message-ID: 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="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 * William Sutton (Fri, 11 Jul 2008 08:34:30 -0400 (EDT)) > 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. 4NT is now called TakeCommand and the shell "Take Command Console" (TCC). It does not set these variables. As as sidenote TCC/LE is now free as in free of charge. Thorsten -- 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/