From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117495 invoked by alias); 25 Dec 2016 12:55:19 -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 117486 invoked by uid 89); 25 Dec 2016 12:55:18 -0000 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 Received: from smtp-out-3.talktalk.net (HELO smtp-out-3.talktalk.net) (62.24.135.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Dec 2016 12:55:08 +0000 Received: from [192.168.1.100] ([92.20.147.99]) by smtp.talktalk.net with SMTP id L8KPcOX98xR4bL8KPcIrja; Sun, 25 Dec 2016 12:55:06 +0000 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@cygwin.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:00 -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 X-SW-Source: 2016-12/txt/msg00261.txt.bz2 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