delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
From: | "David Christensen" <dpchrist AT holgerdanske DOT com> |
To: | <cygwin AT cygwin DOT com> |
Cc: | "'MattyTheG'" <bobjoe727 AT gmail DOT com> |
References: | <24225899 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <24225899.post@talk.nabble.com> |
Subject: | RE: Help with using Bash / GCC installed but command not found |
Date: | Fri, 26 Jun 2009 13:35:55 -0700 |
Message-ID: | <000601c9f69d$b5315fa0$1f941ee0$@com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
MattyTheG wrote: > Hello, I have been using Cygwin for about a year now, with no > problems. Until one day I loaded it up and instead of the usual > interface I had, it just said bash-3.2$, no username, or directory or > anything, and none of the unix commands work. My guess is that your Windows HOME environment variable was set, changed, or unset, either by you or by some program you ran (including setup.exe for some other application). (Vista: Start -> Control Panel -> System -> Advanced System Settings -> Environment Variables.) Over the years, I've found that Cygwin Bash works best when Windows HOME is not set. This is confirmed by Command Prompt: C:\Users\dpchrist>set ... FP_NO_HOST_CHECK=NO HOMEDRIVE=C: ... When I start Cygwin Bash Shell, Cygwin sets HOME: 2009-06-26 13:28:13 dpchrist AT p43400e ~ $ set | grep HOME= HOME=/cygdrive/p/userdocs/dpchrist/Documents Another possibility is that your home directory entry in Cygwin's /etc/passwd got clobbered somehow. Check that also. HTH, David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |