From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f890526de6a8a218 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!zen.net.uk!dedekind.zen.co.uk!news.anlx.net!caladan!news-peer-lilac.gradwell.net!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada References: <22jsk1pnk6664cr4so2nig7ssi2u0d6bv7@4ax.com> <434e4a25_1@glkas0286.greenlnk.net> Subject: Re: How to detect OS type and version? Date: Fri, 14 Oct 2005 09:02:53 +0100 Organization: BAE SYSTEMS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Message-ID: <434f643e$1_1@glkas0286.greenlnk.net> X-Original-NNTP-Posting-Host: glkas0286.greenlnk.net NNTP-Posting-Date: 14 Oct 2005 08:04:02 GMT NNTP-Posting-Host: 20.133.0.1 X-Trace: 1129277042 news.gradwell.net 38045 dnews/20.133.0.1 X-Complaints-To: news-abuse@gradwell.net Xref: g2news1.google.com comp.lang.ada:5634 Date: 2005-10-14T08:04:02+00:00 List-Id: Randy Brukardt wrote: > "Martin Dowie" wrote in message > news:434e4a25_1@glkas0286.greenlnk.net... >> That way doesn't give the version of the OS. > > But once you know that you're running on Windows, you can arrange to > call the Win32 Get_Version function to learn all of the details. > (You'd have to do that with a dynamic call to avoid statically > linking part of the Windows runtime.) I presume something similar is > available in the Linux API. Yep - and (GMGPL) Claw can provide this! :-) Quick question for you Randy - was the original intent that "System.Name" provide this? Cheers -- Martin