delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/20/22:39:36

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: <20001221033842.25619.qmail@web118.yahoomail.com>
Date: Wed, 20 Dec 2000 19:38:42 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: new install of cygwin with pdksh doesn't work
To: Chris Abbey <cabbey AT bresnanlink DOT net>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Chris Abbey <cabbey AT bresnanlink DOT net> wrote:
> As Earnie suggested, comparing the outputs, with attention to the mount
> point information will show that /cygdrive/? is mounted differently between
> the two machines, popcorn (I'll guess is the working one) mount with the
> flags as 0x0020 while nachos (I'll guess doesn't work) mounts with 0x0022.
> I'll venture a guess that you're accessing the scripts from /cygdrive/?/...
> right? (because the other mounts are the same for both.
> 

Yep, that be it.  The HOME directory is /cygdrive/d/dmk on both.

> a solution, as Christopher suggested, is to remove the ^M from the files.
> the easiest way I know of to do this is to pipe the script through "tr -d
> '\r'"
> so for example:
> 
> tr -d '\r' < /cygdrive/c/myscript > /tmp/myscript
> mv -f /tmp/myscript /cygdrive/c/myscript
> 
> the other would be to mount the location of the script in an explictly
> controlled mount point (text mode), or to change the default mount
> mode.
> 

And the other would be to rerun setup and choose the DOS radio button.  Just
rerun setup, no need to redownload anything.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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