FAQ 1.5 changes (was: How to check cygwin version?)
Fri Jul 3 03:38:42 GMT 2020
On 2020-07-02 09:34, Norton Allen wrote:
> On 7/2/2020 1:20 AM, Brian Inglis wrote:
>> On 2020-07-01 07:36, Jeffrey Walton via Cygwin wrote:
>>> I think the documentation leaves a lot to be desired... I'm trying to
>>> tell someone what version of Cygwin I am using.
>>> There's a FAQ item at
>>> https://cygwin.com/faq/faq.html#faq.what.version. It gives this
>>> useless advice:
>>> To find the version of the Cygwin DLL installed, you can use uname
>>> as on Linux or cygcheck. Refer to each command's --help output and
>>> the Cygwin User's Guide for more information.
>>> OK, let's try it:
>>> $ cygcheck -v
>>> Usage: cygcheck [-v] [-h] PROGRAM
>>> cygcheck -c [-d] [PACKAGE]
>>> cygcheck -s [-r] [-v] [-h]
>>> cygcheck -k
>>> OK, -v is what we need:
>>> $ cygcheck -v cygwin
>>> cygcheck: could not find 'cygwin'
>>> OK, another failure.
>>> RTFM does not work. Why the hell don't you just state how to check the
>>> god damn version?
>> Do you think it would help if this FAQ entry were changed to read:
>> 1.5. What version of Cygwin is this, anyway?
>> To find the version of the Cygwin DLL installed, you can use any of the
>> Cygwin commands uname -a, uname -srvm, head /proc/version as on Linux, or
>> cygcheck -V. Refer to each command's --help output or the Cygwin User's Guide
>> for more information.
>> and please make any further comments, feedback, or suggestions you think would
>> help with this entry.
> I think what is missing in all these suggestions is a clear statement that for
> Cygwin's purposes, the cygwin DLL is considered to be the 'kernel', so looking
> for the 'kernel release' gives you the DLL version. I think that leap is totally
Okay folks, would this approach make the situation and operations clearer:
1.5. What version of Cygwin is this, anyway?
As the Cygwin DLL takes the place of a Unix kernel, to find the version of the
Cygwin DLL installed, you can use any of the Unix compatible commands: uname -a;
uname -srvm; head /proc/version; or the Cygwin command: cygcheck -V. Refer to
each command's --help output or the Cygwin User's Guide for more information.
and again please feel free to make any further comments, feedback, or
suggestions you think would help with this entry.
[I intend to submit a patch to cygwin-patches at cygwin.com to change lines
56-60 of https://cygwin.org/git/?p=cygwin-htdocs.git;a=blob;f=faq/faq.html
Anyone with a similar interest or annoyance at any of the FAQ entries may do so:
git clone the rep;
edit the minimal number of files and lines required to make your change;
git diff to check the impact of your changes;
git stage/add the file/s changed;
git commit the change using option -F <file> with a short first message line to
be used as email subject with more details in normal length following lines or
-m '...' multiline comment;
git format-patch -1;
git send-email 0001-...patch to the patches email address.
One of the volunteer committers will eventually notice and apply the patch, or
provide feedback about what and why changes will be required to apply the patch.]
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
More information about the Cygwin