delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/06/18:24:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: OSTYPE
Date: Sun, 6 Jan 2002 15:23:48 -0800
Message-ID: <F8268126BF427A409936A83B6B86338704AD1098@red-msg-01.redmond.corp.microsoft.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: OSTYPE
Thread-Index: AcGXAR1T90E82s2ARGWbwAhyCuKCXAABFDMA
From: "Stephan Mueller" <smueller AT microsoft DOT com>
To: <JGMBenoit AT Wanadoo DOT fr>, "Gerrit P. Haase @ cygwin" <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 06 Jan 2002 23:23:48.0919 (UTC) FILETIME=[31CE5470:01C19709]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g06NO3a29122

The most recent update to bash stopped exporting a lot of variables by default.  I believe you'll find discussion of this in the cygwin mailing list archives.

It is documented too, although admittedly not in an especially prominent place.  I re-found it just now in usr/doc/bash-2.05a/COMPAT (which documents incompatibilities between the current bash and the previous widely-available version, 1.14), item 15:

	Bash no longer auto-exports the HOME, PATH, SHELL, TERM, HOSTNAME, HOSTTYPE, MACHTYPE, or OSTYPE variables.

I'll bet your Debian box is running a slightly older bash than is now included with Cygwin.

stephan();


-----Original Message-----
From: Jerome BENOIT [mailto:520066587150-0001 AT t-online DOT de] 
Sent: Sunday, January 06, 2002 2:25 PM
To: Gerrit P. Haase @ cygwin
Cc: Jérôme-Georges-Michel BENOIT
Subject: Re: OSTYPE


Fine,
but on my Debian box
`printenv OSTYPE' gives something.

Is it a cygwin feature ?

Thanks,
Jerome BENOIT

"Gerrit P. Haase" wrote:
> 
> Hallo Jérôme-Georges-Michel,
> 
> Am 2002-01-06 um 18:37 schriebst du:
> 
> > Bonjour,
> 
> > what have happened to OSTYPE ?
> 
> > `printenv OSTYPE' gives nothing !
> 
> $ printenv | grep OSTYPE
> 
> $ set | grep OSTYPE
> OSTYPE=cygwin
> 
> $ echo $OSTYPE
> cygwin
> 
> Gerrit
> --
> =^..^=                                        mailto:gp AT familiehaase DOT de

-- 
  *º¤., ¸¸,.¤º*¨¨¨*¤    Jerome BENOIT, Ph.D.    *º¤., ¸¸,.¤º*¨¨¨*¤
                  Institute of Molecular Biology
               Friedrich-Schiller University of Jena
             Winzerlaer Strasse 10, Jena 07745, Germany
  *º¤., ¸¸,.¤º*¨¨¨*¤    JGMBenoit AT wanadoo DOT fr    *º¤., ¸¸,.¤º*¨¨¨*¤

--
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/


--
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/

- Raw text -


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