Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <001d01c4ce87$34b301f0$5709a443@c40624a>
From: "Raye Raskin" <rayer@pobox.com>
To: "Brown, Charles" <charles.brown@sensis.com>, <cygwin@cygwin.com>
References: <ADF6087CA978A4418AF7F76DDCF2F7210437A1EA@europa.ats.sensis.com>
Subject: Re: cygwin using wrong sh.exe
Date: Fri, 19 Nov 2004 14:29:16 -0800
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

----- Original Message ----- 
From: "Brown, Charles" <charles.brown@sensis.com>
To: <cygwin@cygwin.com>
Sent: Friday, November 19, 2004 2:20 PM
Subject: cygwin using wrong sh.exe


> After installing Cygwin/X, I can launch a cygwin bash shell, and I can
> launch the xwin server using the startxwin.bat file - which also launches
> one xterm.  However, I can't run any of the X tools from the windows Start
> menu, or from a bash prompt.  I get an error saying "xterm:
> c:\progra~1\rational\ration~1\NUTCROOT\mksnt\sh.exe no such file".  
> 
> I asked a buddy for help, and we tried changing the PATH variable so
> cygwin/bin is first, and edited some of the cygwin .BAT files, to try to fix
> the PATH, but with no success.  Somehow, cygwin keeps picking that SHELL.
> 
> I've google'd some terms, and tried the mail list archive without success as
> well.
> 
> I've appended the output of cygcheck, which is interesting because it shows
> that cygwin does find sh.exe in cygwin/bin.
> 
> What do I have to tweak to fix this?
> 
> Thanks.
> 
> --CB

Try setting your $SHELL variable to something other than sh.exe, i.e.,
bash.exe.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

