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 X-Info: This message was accepted for relay by smtp02.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVZWOtbDw5S7fLWaroeFGqa47LjD1hn+JAOYES8Sji5F5iAdmfes5rKM Message-ID: <3F281CE4.3050303@cygwin.com> Date: Wed, 30 Jul 2003 15:30:44 -0400 From: Larry Hall Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lucas Gonze CC: cygwin AT cygwin DOT com Subject: Re: no path set after installation on win2k References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lucas Gonze wrote: > Bug: > * Run a fresh install on Windows 2000 5.00.2195. > * Start a shell > * Do "ls" or any other standard command from /cygwin/bin. > * Command not found. > > It's probably relevant that the runtime environment hasn't been > initialized -- there's no ~/.bashrc and no /etc/.bash_profile. The > specific source of my download doesn't seem to be relevant, since I > tried a bunch of different ones. It doesn't seem to help to reinstall, > since the reinstall always says that there's nothing to install. > > Off the top of my head, my guess is that the post-install setup isn't > happening. Any suggestions for a fix or workaround? If the "shell" you mentioned above is not one that comes with Cygwin (sh, bash, tcsh, zsh), then that's likely the problem. You're assuming the Cygwin installation will modify your *Windows* path, which it will not. If you want access to the Cygwin tools without typing the full path from command/cmd windows that aren't running Cygwin shells, you need to to add Cygwin's bin directory to your Windows path. Unless you prefer to get the like named Windows versions of find and other utilities, put Cygwin's directory first in your path. If you're having trouble with Cygwin shells, then you probably didn't start the shell as a login shell. Cygwin.bat will do this for you using bash. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/