From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86697 invoked by alias); 26 Nov 2015 01:28:01 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 86685 invoked by uid 89); 26 Nov 2015 01:28:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f43.google.com Received: from mail-wm0-f43.google.com (HELO mail-wm0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 26 Nov 2015 01:27:59 +0000 Received: by wmec201 with SMTP id c201so3642449wme.1 for ; Wed, 25 Nov 2015 17:27:56 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.202.163 with SMTP id kj3mr43991132wjc.93.1448501276859; Wed, 25 Nov 2015 17:27:56 -0800 (PST) Received: by 10.28.64.11 with HTTP; Wed, 25 Nov 2015 17:27:56 -0800 (PST) Date: Thu, 26 Nov 2015 08:26:00 -0000 Message-ID: Subject: mksnt sh is invoked when executing cygwin icon; From: Kenneth Wolcott To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00416.txt.bz2 Hi; It seems that a 32bit Windows server with a pre-existing MKS Toolkit installation prevents an interactive Cygwin window (mintty) from starting properly. If the c:\mksnt directory (where MKS Tookkit is installed) is renamed to c:\NOTmksnt, then double-clicking the Cygwin icon results in: "Failed to run C:/mksnt/sh.exe: No such file or directory" But if the c:\NOTmksnt directory is renamed back to what it was, then the window opens up with sh.exe from mksnt instead of bash and seems to hang for a very long time. Why is this? Part of me thinks that Cygwin and MKS Toolkit should just coexist just fine, each not knowing about the other (c:\cygwin and c:\mksnt). Part of me thinks that I'd like to have Cygwin come first in the path rather than having c:\mksnt first in the path. Is there a way to force the Cygwin install process (or fix it afterward) to put Cygwin first? I tried to change /etc/profile so that the PATH variable was set to exclusively Cygwin stuff, but that had no effect. How to fix this outside Cygwin? (The Windows side) How to fix this inside Cygwin? Thanks, Ken Wolcott -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple