public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Earnie Boyd <earnie_boyd@yahoo.com>
To: Gordon.Baillie@citicorp.com, cygwin@sourceware.cygnus.com
Cc: Stephen.Barrett@citicorp.com, Khalid.Ishaq@citicorp.com,
	Simon.Walker@citicorp.com
Subject: Re: Getting Past 'command not found'
Date: Fri, 18 Aug 2000 05:21:00 -0000	[thread overview]
Message-ID: <20000818122102.24537.qmail@web115.yahoomail.com> (raw)

--- Gordon.Baillie@citicorp.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: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://gw32.freeyellow.com/ >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
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@sourceware.cygnus.com

             reply	other threads:[~2000-08-18  5:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-18  5:21 Earnie Boyd [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-18  4:27 Earnie Boyd
2000-08-18  3:00 Gordon.Baillie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000818122102.24537.qmail@web115.yahoomail.com \
    --to=earnie_boyd@yahoo.com \
    --cc=Gordon.Baillie@citicorp.com \
    --cc=Khalid.Ishaq@citicorp.com \
    --cc=Simon.Walker@citicorp.com \
    --cc=Stephen.Barrett@citicorp.com \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).