delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/29/19:02:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4908F8E8.6020504@cygwin.com>
Date: Wed, 29 Oct 2008 19:59:36 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Fedora/2.0.0.16-1.fc8 Lightning/0.9 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: reseting HOME directory
References: <20217298 DOT post AT talk DOT nabble DOT com> <D1CE63BB766844448B4A8CDC82658DE4026A0307E9 AT NALASEXMB03 DOT na DOT qualcomm DOT com> <20229369 DOT post AT talk DOT nabble DOT com> <490881F3 DOT 8010406 AT cygwin DOT com> <slrngghsal DOT 17ke DOT oudeis AT isis DOT thalatta DOT eme>
In-Reply-To: <slrngghsal.17ke.oudeis@isis.thalatta.eme>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Will Parsons wrote:
> Larry Hall (Cygwin) wrote:
>> mcbenus wrote:
>>> Thanks! Is that ok to change the Windows Home? what implications it may have
>>> on other software? 
>> For Cygwin, you shouldn't set HOME in the Windows environment unless you
>> need Cygwin to see the same HOME as some other software (MKS is one
>> example I know of that likes to set HOME in the Windows environment).
>> As for the implications, it depends on the software you have installed
>> that relies on this environment variable (like MKS).  Windows doesn't
>> use HOME.  So unless you really need it, you're better off removing
>> it from you Windows environment.
> 
> I don't know that there's any particular reason to discourage setting HOME
> in the Windows environment - I've done it for years (since I started using
> Cygwin B19, I think).  For me, it serves to indicate where "my stuff" is
> located, whether Cygwin related or not (c:\wbp).  Besides Cygwin, it is
> used in my systems by (non-Cygwin) Emacs and MSYS.

As I said, if there's a reason for someone to set HOME as a Windows
environment variable, then there's no reason it can't be done and
Cygwin will happily use that setting as well.  Non-Cygwin Emacs, MKS,
and any other software out there that relies on HOME being set to
something in the Windows environment is a fine reason to do that.
But Cygwin doesn't need that.  And if a user isn't using software
that needs that, such as in the case of the OP where things were
"fine" until something set HOME in Windows, then having it set is of
no advantage and can even cause problems.  So my recommendation is,
if you don't need it, don't set it.  If you don't know that you
need it, don't set it.  If you know you need it or want it, set
it.  In the last case, it's assumed you know what you're doing and
that you know how to deal with any issues that might arise from
doing that.  You're obviously in that camp.  There's no reason for
you to change.  The fact that the OP was confused by this setting
suggests that he's not.  For folks like that, I always recommend
that things be kept simple.  That's all.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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