This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: home directory.
* 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/