delorie.com/archives/browse.cgi | search |
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: | <5.0.2.1.0.20001220201217.02997a30@pop.bresnanlink.net> |
X-Sender: | cabbey AT pop DOT bresnanlink DOT net |
X-Mailer: | QUALCOMM Windows Eudora Version 5.0.2 |
Date: | Wed, 20 Dec 2000 20:18:12 -0600 |
To: | cygwin AT sourceware DOT cygnus DOT com |
From: | Chris Abbey <cabbey AT bresnanlink DOT net> |
Subject: | Re: new install of cygwin with pdksh doesn't work |
In-Reply-To: | <uyr932a75y.fsf@tcsi.com> |
References: | <Earnie Boyd's message of "Wed, 20 Dec 2000 16:39:43 -0800 (PST)"> |
<20001221003943 DOT 11480 DOT qmail AT web123 DOT yahoomail DOT com> | |
Mime-Version: | 1.0 |
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. 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. now the forces of openness have a powerful and unexpected new ally http://ibm.com/linux/ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |