delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/25/17:07:04

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040325165912.02866ad0@pop.rcn.com>
X-Sender:
Date: Thu, 25 Mar 2004 17:03:41 -0500
To: "Ralf G. R. Bergs" <rabe AT RWTH-Aachen DOT DE>, ken DOT thompson AT gtri DOT gatech DOT edu
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: bash incorrectly determines HOME and HOMEDRIVE
Cc: cygwin AT cygwin DOT com
In-Reply-To: <40635584.3050208@RWTH-Aachen.DE>
References: <DFEHICGKJPBGEDPLIGKICENBFBAA DOT ken DOT thompson AT gtri DOT gatech DOT edu> <40635584 DOT 3050208 AT RWTH-Aachen DOT DE>
Mime-Version: 1.0

At 04:56 PM 3/25/2004, you wrote:
>Ken Thompson wrote:
>
>>I don't think this is really a bash issue.  I think HOMEDRIVE is actually
>>set by XP and bash is just importing it.  Cygwin has a default for NOME if
>
>No. On my system, HOMEDRIVE was NOT set (neither for me personally, nor for all users.)


HOMEDRIVE is set by Windows.  You don't have to set it.  And bash wouldn't
know HOMEDRIVE from a hole in the wall. ;-)


>>it is not set but it is unlikely to be what you desire.  Just set the
>>environment variable HOMEDRIVE to 'H:' and it will do exactly what you wish.
>>The correct procedure on Cygwin is to manually set the environment variables
>>to whatever you wish them to be
>
>As I've already written in my original message, if I change it in XP, bash overwrites it. I can't imagine that this is correct behavior?!


I'd agree.  But moving profiles like you did is not likely to be without
repercussions.  I'm assuming that MS wouldn't recommend this.  Nevertheless,
it's a Windows problem that you'll get better information about it on some
other list.  At this point, you've gone beyond the scope of this one.




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


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