Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020415132457.057b2f30@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Mon, 15 Apr 2002 13:48:40 -0400 To: Marc Chantreux , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: load user preferences ? In-Reply-To: <3CBB07C2.7090806@wanadoo.fr> References: <4 DOT 3 DOT 1 DOT 2 DOT 20020415115921 DOT 0578b480 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:02 PM 4/15/2002, Marc Chantreux wrote: >>>mc AT MILLENIUM:~# pwd >>>/cygdrive/c/Documents and Settings/mc/_unix >>>mc AT MILLENIUM:~# ls -A >>>.Xdefaults .bashrc .gimp-1.2 .lftp Mail _viminfo >>>.bash_history .cpan .irssi .ssh Xdefaults >>> >>>but i was worked fine on an older install. Any idea to fix that ? >> >> >>Yes. >thanks > >>You want to look at the email archives, >done ... > >>user guide, >done ... > >>and FAQ >done ... > >the only problem noticed is that the $HOME is not set ... if you see my lines, you >you can see that it's done. I can see what's done? That HOME is set? You mean to "/cygdrive/c/Documents and Settings/mc/_unix"? I believe you're asking for a leap of faith on my part that isn't warranted based on the data you've provided. >> If you still have trouble for some reason, you'll >>need to provide the list with the specifics of what you've done and the >>process you follow that makes your problem occur. >hmm ... sorry for being ambigous : > >- i've installed cygwin with the setup.exe. the $HOME was still set with %USERPROFILE%/_unix. >- it does not work. >- i've tried to mount this $HOME on /home/$USERNAME without succes. To be honest, I'm still not real sure what your specific problem is. I'm guessing that you want to know why .bashrc isn't sourced. Am I right? That depends on how you invoke the shell. Adding it to one of the script files that get automatically sourced with "bash -l" (which is what is invoked by cygwin.bat) will solve that problem. There's discussions in the email archives about this. In particular, there were discussions about the fact that /etc/profile doesn't source this file by default anymore and what the alternatives are. You may want to review that discussion or even just look at the bash man page and/or user guide to see what files are sourced when and why. There are good recommendations in those documents that will resolve your issue for you. >BTW , i've seen that the /etc/passwd uses /home/$USER as $HOME. I've just tried : This is discussed in the email archives. >%HOME% = c:\_home\%USERNAME% >and >mount "c:\_home" /home > >failed too :( Sorry. I don't follow your logic here. I can't see how noticing that /etc/passwd uses /home/$USERNAME would suggest that you need to set your HOME variable to c:\_home\. You're free to do so but why you would want to or need to is beyond me. Ditto the mount. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/