www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/16/15:17:57

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040616150816.0332b528@pop.prospeed.net>
X-Sender:
Date: Wed, 16 Jun 2004 15:09:55 -0400
To: Chris W <1qazse4 AT cox DOT net>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: home directory.
In-Reply-To: <40D095A0.8050605@cox.net>
References: <40D08BF5 DOT 1010700 AT cox DOT net> <20040616191455 DOT Q35039 AT unsane DOT co DOT uk> <40D095A0 DOT 8050605 AT cox DOT net>
Mime-Version: 1.0

At 02:46 PM 6/16/2004, you wrote:
>Vince Hoffman wrote:
>
>>On Wed, 16 Jun 2004, Chris W wrote:
>>
>> 
>>
>>>It seems that somewhere $HOME is getting set to /cygdrive/c.  I want it
>>>to be /home/$USER like the /etc/profile would set it to if it wasn't
>>>already set to /cygdrive/c.  So where do I change that?
>>>
>>>   
>>Have a look at your windows environment variables. (type set from a
>>windows command prompt) or to see and change them (if on 2k/xp not sure
>>for 9x its been too long,) right click "my computer", select
>>properties, then select the "advanced' tab, then select environment
>>variables.
>> 
>
>I run set|grep HOME and sure enough HOME is set to cygdrive/c.  So I go to the environment vars from the my computer properties dialog but I can't find an entry for HOME in fact when I type set I get a MUCH longer list of environment vars than I see in the dialog box.  I also looked in the cygwin.bat file and all that is in there is this...
>@echo off
>
>C:
>chdir \cygwin\bin
>
>bash --login -i
>
>so where might that HOME var be getting set?  BTW I am runing win2k


Look at 'etc/defaults/etc/profile'.  It explains how Cygwin looks for
and determines what to set HOME to.  You should be able to track what's
going on from there.



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