delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <430084FA.9020500@familiehaase.de> |
Date: | Mon, 15 Aug 2005 14:05:14 +0200 |
From: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 |
MIME-Version: | 1.0 |
To: | Eric Blake <ebb9 AT byu DOT net> |
CC: | Michael Richardson <mcr AT sandelman DOT ottawa DOT on DOT ca>, cygwin AT cygwin DOT com |
Subject: | Re: $OS vs `uname -s` [Attn: base-files maintainer] |
References: | <v0k6io1cwt DOT fsf AT marajade DOT sandelman DOT ottawa DOT on DOT ca> <43008152 DOT 20500 AT byu DOT net> |
In-Reply-To: | <43008152.20500@byu.net> |
X-IsSubscribed: | yes |
Eric Blake wrote: > If your setup is like mine, OS is an inherited environment variable, set > by Windows before bash is even started. You can set it to whatever you > like. Meanwhile, uname -s is not affected by the environment (you really > don't want an environment variable changing the uname output). Hmm, maybe > we should update /etc/profile to do OS=`uname -s`. Thoughts? No, IMO leave it alone. We are on Windows and there are several flavours, I need to know if I'm on NT or Win98 and the few Windows environment settings are useful. FWIW, it is not defined on my Slackware box: $ ssh slackware -l root root AT slackware's password: Last login: Thu Aug 11 19:43:51 2005 Linux 2.4.22. root AT slackware:~# uname -s Linux root AT slackware:~# echo $OS root AT slackware:~# echo $SHELL /bin/bash Gerrit -- =^..^= -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |