Mail Archives: cygwin/2004/06/16/15:17:57
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 -