This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: programming API to determine whether in 'Cygwin environment'
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/