From: Matt Mower Date: 2005-06-29T21:51:37+09:00 Subject: Re: Smart(er) platform detection On 6/29/05, Robert Klemme wrote: > 14:40:58 [cg-tsp-hq]: uname -a > CYGWIN_NT-5.0 bond 1.5.17(0.129/4/2) 2005-05-25 19:38 i686 unknown unknown > Cygwin > 14:41:00 [cg-tsp-hq]: ruby /c/temp/ruby/platform.rb > Platform OS=unix, IMPL=cygwin, ARCH=x86 > 14:41:04 [cg-tsp-hq]: > > Looks pretty much ok IMHO. Does anybody think cygwin should not be > reported as "unix"? > I really wasn't sure what to do in this case. Obviously it's windows under there but AFAIK cygwin is supposed to emulate a Unix environment, right? Alternatives seem to be report :win32 or call a spade a spade and report OS = :cygwin and let people work it out for themselves. I'm open to suggestions. M -- Matt Mower :: http://matt.blogs.it/