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: | <20001018205231.10237.qmail@web115.yahoomail.com> |
Date: | Wed, 18 Oct 2000 13:52:31 -0700 (PDT) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Subject: | Re: sh |
To: | cygwin <cygwin AT sources DOT redhat DOT com> |
MIME-Version: | 1.0 |
--- Corinna Vinschen <vinschen AT redhat DOT com> wrote: > Earnie Boyd wrote: > > > > --- Bob McGowan <rmcgowan AT veritas DOT com> wrote: > > > Using a soft link doesn't work from within a shortcut or bat file. So I > need > > > (I think) to make a complete copy of of sh.exe to '-sh', but without the > > > .exe, the Windows > > > environment won't execute it. > > > > > > Any other ideas? I'm fresh out.( > > > > > > > Get the ash source and fix it so that your copy to -sh.exe works. > > I don't understand the problem here. ash only checks for the first > character of argv[0] being a '-' character to read the profiles. > I copied sh.exe to -sh.exe as well to run ash as login shell on a > NT 3.51 system on which bash crashed for some reason. > Ok. I was basing my opinions on what Bob stated he experienced and previous versions of other shells that check for sh in argv[0]. Are you saying that copying sh.exe to -sh.exe and then executing -sh works to trigger login conditions in ash? 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! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |