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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Ag+ 0aTxiSe9JXh+JQagtRwHgxvUTz2Yl7+5aa1C6ly4yXLEX/iTi8ufRNuIJrWNdtWh WkwcnRhDc770f3+PQPxZ1irXz0dw+ibhUjyF7LvG9214gAWEjiPCqO8A059xNFOI pcslzhzbMWN9NwLhCQJOpuAi9hFlfQeBtsMYWF6k= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=RpLL4hWi4 bLnpPoT7OkRShAnCvU=; b=Fp+hfGRVsMXLKF72bb911NzNfil4pPL80qNGg69kx LELHX3ZhkkgWSrAssh5dg1rZVvcYmiH3oBZQ3qo5VrBwQTXgpBpz0LOWpGdr5ksm rPyyLhEPLu5i1kGbyTnKbe4VzM0gpLtFaVFOe6UN2wYeBJIz2fJl8aW+Zzk2Slx3 8E= 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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:ip*192.168.1.100, Christmas, christmas, downloads X-HELO: smtp-out-3.talktalk.net X-Spam: 0 X-OAuthority: v=2.2 cv=JNN5iICb c=1 sm=1 tr=0 a=dHvrRG0tPyWZVY3ihLdgmA==:117 a=dHvrRG0tPyWZVY3ihLdgmA==:17 a=IkcTkHD0fZMA:10 a=epTmVMiNAAAA:8 a=TSbVqHtbAAAA:8 a=KhDzEK3KYUPx5cDdCg8A:9 a=QEXdDO2ut3YA:10 a=ndEWmUVY6Yapc0oHF_P4:22 a=NJcUIoPEKLAEIzHnl83t:22 To: cygwin AT cygwin DOT com From: mike Subject: can't run cygwin emacs or XWin Server Message-ID: <914c7a91-da0d-5102-f884-3fe0deba5bf3@onetel.com> Date: Sun, 25 Dec 2016 12:55:03 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfEZyNiNubZz4lGxqN+UcMX7oiMHWC276wgO4zoBk96sMM690Q78rt0iyZN0dhlxhnF5mhllbp+viXmwNgk9q3aE/7HzVwyNA2Qof4AmDXI+/9CFUTHOo 0qoiA46zB24Kwg2qle7CO1wc5vlBBmpPyu+00QcmQo3nxsoLXufyMSBr X-IsSubscribed: yes I run 32 bit cygwin on a 64 bit machine running Windows 7. I used to get an XWin Server terminal running bash at startup (logging into Windows) from which I could run the emacs packaged in cygwin. After a round of updates I don't get the terminal window at startup and if I try to manually launch it it fails to launch and AFAICT if I try to run emacs from a command prompt I get the native version of emacs that I also have installed and not the cygwin one. The shortcut for XWin Server is C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe This seems to me to be the "phantom /usr/bin issue" mentioned at www.postgresql.org/message-id/blngoc%24nrr%241%40sea.gmane.org because I get the same behaviour described there and in related posts. I have verified that "/usr/bin" and "/bin" are the same as far as ls is concerned. The relevant part of the path as shown in System Properties > Advanced > Environment Variables is "C:\cygwin\usr\bin;C:\cygwin\bin" which precedes "C:\Users\Mike\Downloads\emacs-25.1-2-i686-w64-mingw32\bin" in the path which is what ends up running. However if I run the MS shell in emacs or use command prompt then "which ls", "which bash", "which emacs", "which printenv", "which startxwin" and "which which" all come back with "/usr/bin/..." so those are recognised by which at least. I hope I'm just missing the obvious. Thanks for any help Merry Christmas Mike -- 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