Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20020404232738.028204e8@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Thu, 04 Apr 2002 23:32:34 -0800 To: "Robert Collins" , cygwin AT cygwin DOT com From: Randall R Schulz Subject: RE: Which OS Type In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed At 23:24 2002-04-04, you wrote: > > -----Original Message----- > > From: Gupta, Sanjay [mailto:SGupta AT Epylon DOT com] > > Sent: Friday, April 05, 2002 5:04 PM > > To: 'cygwin AT cygwin DOT com' > > Subject: Re: Which OS Type > > > > > > Thanks Randall R Schulz, > > Your response was very quick. I just want to make sure that > > all windows platforms have CYGWIN_ as prefix in cygwin, then > > I can simply grep CYGWIN_ from uname. > >They do not. Cygwin is one portability layer, not the only one. Rob, Sanjay wrote "... all windows platforms have CYGWIN_ as prefix in cygwin ..." In Uwin, for example (if that's really one of the alternatives to Cygwin), naturally the prefix won't be "CYGWIN" but regardless of which Windows OS is running Cygwin, the _Cygwin_ uname output will have "CYGWIN" as a prefix. I believe what Sanjay was asking about was the latter interpretation: Regardless of the Windows variant on which Cygwin is running, the uname output will begin with CYGWIN. Randall Schulz Mountain VIew, CA USA >Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/