delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/24/16:32:21

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
To: cygwin AT cygwin DOT com
From: dave AT adboyd DOT com (J. David Boyd)
Subject: Re: Setting Enviroment Variables
Date: Sun, 24 Oct 2004 16:31:58 -0400
Organization: A & D Boyd
Lines: 36
Message-ID: <m2wtxfq2m9.fsf@adboyd.com>
References: <1df109e304102412246eb64a1 AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 104-170.35-65.tampabay.rr.com
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)
X-IsSubscribed: yes

Nemes <hyperion DOT nemes AT gmail DOT com> writes:

>
> Can anyone help with any of the above queries ???
>
> Thanks in advance to all those with the patience to compose a reply....
>
> Nemes


If no one has replied to this before I get to my work machine, where I have
been running Cygwin for years, I can send you a reply, and show you what my
.profile and .bashrc are set to, as well as some of my aliases.

Quickly though:

The two environment variable settings in XP are ones that are global, for all
users, and user specific.

If you have installed software that everyone that logs on to that machine can
use, you set the environment in the global section.

Conversely, if software has been installed that only one can use, you set the
environment in the specific user section.

Anything you have set in the XP environments (global or user) will be
inherited when you start Cygwin.

You can set environment variables in the cygwin.bat file, or you can put them
in .profile or .bashrc.

Sometimes, there are some funny rules about the system reading .profile and
.bashrc, but for the most part, I set almost all of my environment in .bashrc,
and I don't have any problems.

Dave


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