delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/18/18:00:22

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-59
References: <announce DOT 20090818172742 DOT GA27827 AT calimero DOT vinschen DOT de> <4A8B2109 DOT 1090406 AT columbus DOT rr DOT com>
In-Reply-To: <4A8B2109.1090406@columbus.rr.com>
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

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

- Raw text -


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