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: | <39ECF2DB.A6E59CB8@veritas.com> |
Date: | Tue, 17 Oct 2000 17:46:19 -0700 |
From: | Bob McGowan <rmcgowan AT veritas DOT com> |
Organization: | VERITAS Software |
X-Mailer: | Mozilla 4.73 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Miten Mehta <miten_s_mehta AT yahoo DOT com> |
CC: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: sh |
References: | <20001018001325 DOT 91161 DOT qmail AT web10004 DOT mail DOT yahoo DOT com> |
I don't believe that sh.exe can be made to work as a login shell. I just tried to copy it to '-sh.exe' on the chance that it might run profiles, but that did not work, for some reason. bash has the '--login' option which can be used to make it read profiles. If you really don't like bash and want sh instead, you could add the following to the end of your .profile (be sure HOME is set somewhere "outside", ie before bash starts, for instance in cygwin.bat, and that all the stuff you want in the environment is exported): exec /bin/sh Miten Mehta wrote: > > Hello, > > I have cygwin installed. I see sh which is bourne > shell and I login to nt as administrator. where > should I put .profile? I tried c:/ and d:/ and > c:/winnt/profiles/administrator/ but did not work. > > does sh work or do we have to start using bash for > good. > > C:\WINNT\system32>uname -a > CYGWIN_NT-4.0 MITEN 1.1.2(0.21/3/2) 2000-06-06 22:20 > i686 unknown > > C:\WINNT\system32> > > __________________________________________________ > 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 -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT 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 |