delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/17/00:33:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 17 May 2009 00:33:13 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: eliz AT gnu DOT org
Subject: Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1
Message-ID: <20090517043313.GA32581@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, eliz AT gnu DOT org
References: <4A0D6E41 DOT 3030108 AT cornell DOT edu> <83hbzlqto1 DOT fsf AT gnu DOT org> <23572106 DOT post AT talk DOT nabble DOT com> <838wkwqv7f DOT fsf AT gnu DOT org>
MIME-Version: 1.0
In-Reply-To: <838wkwqv7f.fsf@gnu.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Sun, May 17, 2009 at 06:12:04AM +0300, Eli Zaretskii wrote:
>> Date: Sat, 16 May 2009 02:52:22 -0700 (PDT)
>> From: Marc Girod <marc DOT girod AT gmail DOT com>
>> 
>> Eli Zaretskii wrote:
>> > 
>> > ...if Emacs could know the Cygwin version.
>> > 
>> uname -r
>> 
>> this gives on 2 installations e.g.:
>> 
>> 1.5.25(0.156/4/2)
>> 1.7.0(0.210/5/3)
>> 
>> $ ./uname -s
>> CYGWIN_NT-6.0
>
>I meant an Emacs function, not an external program.  That Emacs
>function could call the same API that uname uses to report these
>values, but depending on external programs that are not necessarily
>installed is not the best idea.

We haven't patched the uname program.  emacs can use the same standard
UNIX function calls as uname:

http://cygwin.com/ml/cygwin/2009-05/msg00496.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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