delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/18/08:21:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <earnie_boyd AT yahoo DOT com>
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

--- 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: <mailto:earnie_boyd AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019