X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4D6C5BB9.6030001@cwilson.fastmail.fm>
Date: Mon, 28 Feb 2011 21:36:41 -0500
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Windows OS and uname; compatability
References: <4D6BD226.5080909@bonhard.uklinux.net>
In-Reply-To: <4D6BD226.5080909@bonhard.uklinux.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2/28/2011 11:49 AM, Fergus wrote:
> Thanks to a previous responder I now know that in response to uname:
> NT-5.0 = W2000
> NT-5.1 = XP
> NT-6.0 = Vista
> NT-6.1 = W7

That's very oversimplified, as the links posted by Barry B. will tell
you.  One thing you CAN do is use
   /usr/lib/csih/winProductName.exe
And it will use not just the kernel version, but other Windows Version
Info items to deduce EXACTLY which version of windows you're running.
To get that prog, you need to install the 'csih' package.

--
Chuck


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

