X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=Il9R6tEsFlEmHIiaQbtqtAvxRBKTh Ua6OTV9/7FkiTqyEcKASwfsM9lwJLVljqI2QrnXHZP3o46w7+ZnUXiVArygzRYJX pnaR/jPKvTScb0jLlvggZi7yalfVSwZ+lw7jDefnHxmiMA34a1k3eHGjznb+HOcG /uvkv2PGsRyJb4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=kiIEJ2SXiY0bVGj4GILYehdhorg=; b=WsB jAqrnjMBS+zlVN73Q+v7QLnJAT5/OyCgXuTHrbjhNJn70/J58B+8GRRgYb57i5PF qvynCRE8p9CLujuPvCIYsQ4a/XUXImi+GIWlG2Msh7uXN3gu/Vc8uYVrzzNK3jr3 UEA22S1GowzInOTSamwTa2CTqdwu/e/NyXHsSmEQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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) Date: Wed, 25 Nov 2015 17:27:56 -0800 Message-ID: Subject: mksnt sh is invoked when executing cygwin icon; From: Kenneth Wolcott To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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