delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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: | Andrew DeFaria <adefaria AT lnxw DOT com> |
Subject: | Re: Setting $HOME for Windows |
Date: | Thu, 23 Dec 2004 11:19:51 -0800 |
Lines: | 24 |
Message-ID: | <cqf5jg$2m2$1@sea.gmane.org> |
References: | <20041223173744 DOT GA752 AT home> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | farscape.lynx.com |
User-Agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
In-Reply-To: | <20041223173744.GA752@home> |
X-IsSubscribed: | yes |
George wrote: > I remember reading some time ago a vague admonition against manually > setting $HOME as a Windows environment variable. > > I can't seem to find the message, so if someone can elaborate on why > this is A Bad Thing, I'd appreciate it. This is for those of us > pursuing the Holy Grail of integrating Cygwin with Windows (or, > depending on one's view, Windows with Cygwin), and doing our best to > ignore the less-than-holy %USERPROFILE% construct. Personally I believe I arranged for Cygwin's bash shell to utilize the actual home field in /etc/passwd (by changing /etc/profile). Next I mount <wherever Windows has my home> to /home. In the corporate environment where home directories are often stored on a server this would be a mount -bsf //server/homeshare /home. Then ls /home lists all user's home directories and /etc/passwd says home = /home/$USER. At home I don't even use that silly C:\Documents and Settings\$USER crap and have successfully (though not easily) hacked the registry into using C:\Home\<username> and storing all configuration type data into C:\Home\<username>\Configuration - but that's me... -- Why don't they just make mouse-flavored cat food? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |