delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/19/17:30:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20041119172258.044837d0@pop.prospeed.net>
X-Sender:
Date: Fri, 19 Nov 2004 17:25:11 -0500
To: "Brown, Charles" <charles DOT brown AT sensis DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: cygwin using wrong sh.exe
In-Reply-To: <ADF6087CA978A4418AF7F76DDCF2F7210437A1EA@europa.ats.sensis .com>
References: <ADF6087CA978A4418AF7F76DDCF2F7210437A1EA AT europa DOT ats DOT sensis DOT com>
Mime-Version: 1.0

At 05:20 PM 11/19/2004, you wrote:
>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?


Your environment.  From your cygcheck file:

SHELL = `C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe'

You need to find where this is being set to MKS's sh.exe and remove it.
If you cannot or will not do that, you can unset it in startxwin.bat as
an alternative.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/

- Raw text -


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