This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: OSTYPE


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@t-online.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@familiehaase.de

-- 
  *º¤., ¸¸,.¤º*¨¨¨*¤    Jerome BENOIT, Ph.D.    *º¤., ¸¸,.¤º*¨¨¨*¤
                  Institute of Molecular Biology
               Friedrich-Schiller University of Jena
             Winzerlaer Strasse 10, Jena 07745, Germany
  *º¤., ¸¸,.¤º*¨¨¨*¤    JGMBenoit@wanadoo.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]