Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20000818122102.24537.qmail@web115.yahoomail.com> Date: Fri, 18 Aug 2000 05:21:02 -0700 (PDT) From: Earnie Boyd Subject: Re: Getting Past 'command not found' To: Gordon DOT Baillie AT citicorp DOT com, cygwin AT sourceware DOT cygnus DOT com Cc: Stephen DOT Barrett AT citicorp DOT com, Khalid DOT Ishaq AT citicorp DOT com, Simon DOT Walker AT citicorp DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Gordon DOT Baillie AT citicorp DOT com wrote: > > My directories look like this:- > > D:/cygwin > /bin > /etc > /setup > /home > /gbaillie > /lib > /ld/scripts > /tmp > /usr > /many sub directories > /var > /tmp > /run > > cygwin.bat looks like this:- > @echo off > d: > chdir \cygwin\bin > set CYGHOME=//d/cygwin Due to other changes below you can delete this line. > set HOME=%CYGHOME%/home/gbaillie Change this to `set HOME=/home/gbaillie'. > set SHELL=//d/cygwin/bin/bash If you want your batch shell to be bash this should be `set SHELL=/bin/bash' but I suggest removing this. > set LIBRARY_PATH=//d/cygwin/lib If you need this variable, which I doubt that you do, the change this line to `set LIBRARY_PATH=/lib' > SET MAKE_MODE=unix > SET PATH=D:\cygwin\bin;D:\cygwin\usr\local\bin;%PATH% > > bash --login -i > > My .profile shows confusion about whether to use SET or EXPORT for PATH and > what does cygdrive mean?:- > $ cat .profile > set PATH=//d/cygwin/bin:. This won't do anything. Delete it. > export PATH=/usr/bin:/bin:/cygdrive/c/windows:. Since you've set it in the batch file above you could remove this. > unset MAILCHECK > set SHELL=//d/cygwin/bin/bash The syntax is wrong. You could delete this line or change it to `export SHELL=/bin/bash'. > > output from mount looks like this:- > $ mount > Device Directory Type Flags > d:\cygwin\bin /bin user textmode > d:\cygwin\bin /usr/bin user textmode > d:\cygwin\lib /usr/lib user textmode > d:\cygwin / user textmode > You need to `umount /bin'. > So currently I can do cd, pwd, mount, echo and cat, but NOT mkdir, ls, bash > info, awk and cron. Help with "command not found" would be gratefully > received. > You're environment settings have most likely confused Cygwin. Cheers, ===== --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com