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 Reply-To: From: "Ken Thompson" To: "Ralf G. R. Bergs" , Subject: RE: bash incorrectly determines HOME and HOMEDRIVE Date: Thu, 25 Mar 2004 16:23:06 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <40634415.1090507@RWTH-Aachen.DE> X-IsSubscribed: yes I don't think this is really a bash issue. I think HOMEDRIVE is actually set by XP and bash is just importing it. Cygwin has a default for NOME if it is not set but it is unlikely to be what you desire. Just set the environment variable HOMEDRIVE to 'H:' and it will do exactly what you wish. The correct procedure on Cygwin is to manually set the environment variables to whatever you wish them to be Ken > -----Original Message----- > > Ralf G. R. Bergs > Sent: Thursday, March 25, 2004 3:42 PM > > Subject: bash incorrectly determines HOME and HOMEDRIVE > > > [Please CC: me in your replies, since I'm not subscribed to this list. I > will post a summary if I receive enough response.] > > > Hi there, > > I've a quite unusual setup on my XP box since my profile directory is > NOT on the XP system drive. I moved it from there onto a separate > partition. > > ALL Windoze apps are happy and succeed to determine the correct profile > path when storing application data, but Cygwin fails. :-( > > My system drive is E:, and Cygwin incorrectly sets HOMEDRIVE to E: and > HOME to "E:\Documents and Settings\rabe". The correct location of HOME > is "H:\Documents and Settings\rabe", so HOMEDRIVE should be set to H:. > > I've manually set the correct values in XP's "System Properties -> > Environment Variables". That makes HOME appear correctly in a bash, but > HOMEDRIVE is still incorrect (E:). I suspect it's a bug in bash. > > Can anyone check whether my assumption is correct? > > Thanks, > > Ralf > > > -- > 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/ > > -- 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/