Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject: Re: home directory.
Date: Thu, 17 Jun 2004 00:12:54 +0200
Lines: 26
Message-ID: <rcco6sjvz7s5$.dlg@thorstenkampe.de>
References: <40D08BF5.1010700@cox.net> <20040616191455.Q35039@unsane.co.uk> <40D095A0.8050605@cox.net> <6.1.0.6.0.20040616150816.0332b528@pop.prospeed.net> <40D0A9EA.9070503@cox.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.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/

