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 To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: home directory. Date: Thu, 17 Jun 2004 00:12:54 +0200 Lines: 26 Message-ID: References: <40D08BF5 DOT 1010700 AT cox DOT net> <20040616191455 DOT Q35039 AT unsane DOT co DOT uk> <40D095A0 DOT 8050605 AT cox DOT net> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040616150816 DOT 0332b528 AT pop DOT prospeed DOT net> <40D0A9EA DOT 9070503 AT cox DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: isi-dial-142-31.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.12.1de * Chris W (2004-06-16 22:13 +0100) > Larry Hall wrote: >>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. >> > From what I read there it seems it is setting home based on the values > of HOMEDRIVE/HOMEPATH but before it does that it first checks the > /etc/passwd file for a path entry for the user and by default there > isn't one, By default there is one (generated by 'mkpasswd'). > and now I can't find where HOMEDRIVE and HOMEPATH get set [...] These are Windows defaults. > Now if I could just figure out why, when I hit the [Delete] key in > bash, I get a '~' character instead of deleting the character the > cursor is at, I would be set. At least as far as cygwin goes > anyway. Just read the beginning of /etc/profile again. There you get answer and also to your "bashrc" question. Thorsten -- 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/