delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/28/21:37:16

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: Windows OS and uname; compatability
References: <4D6BD226 DOT 5080909 AT bonhard DOT uklinux DOT net>
In-Reply-To: <4D6BD226.5080909@bonhard.uklinux.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019