X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A8B2445.5070005@cwilson.fastmail.fm>
Date: Tue, 18 Aug 2009 17:59:33 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-59
References: <announce.20090818172742.GA27827@calimero.vinschen.de> <4A8B2109.1090406@columbus.rr.com>
In-Reply-To: <4A8B2109.1090406@columbus.rr.com>
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

Paul McFerrin wrote:
> I'm not making a feature request but rather some future discussion ideas.
> 
> We all seem to remember sub-version numbers like:
>    1.7.0.-44
> There is some benefits in using a consistant numbering scheme.  When I
> use the uname command, I don't care what date my dll was created.  I
> would like for uname to use the same format as we all talk about.  Would
> it be possible to get uname to report the full version with
> sub-version?  No more dates...  Without this feature, Im' going thru
> convuolutions to extract the full version and sub versions.
> 
> I like to be able to quickly view this information in the Windows
> banner/title area when running multiple instatnces of the OS.

$ cygcheck -cd cygwin

will give what you want *PROVIDED* cygcheck itself is working *AND* that
you have not replaced the cygwin DLL with a snapshot version.

Corinna is trying to give a foolproof way of determining EXACTLY the
version of the *dll* that you have installed, even if almost everything
is broken, right down to the exact time she compiled it on her system.
You can't get much more exact than that.

You can do this in a cmd box, without bash:

> cd C:\cygwin-1.7\bin\
> uname -a

and it really only involves a single system call to the cygwin DLL's
uname() function, plus some stdio. (Okay, there's some libintl stuff
going on too, but if you don't set LC_*, then that's mostly inactive).
So it'll work even if, for whatever reason, your cygwin is almost
totally borked.

--
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

