public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* can't run cygwin emacs or XWin Server
@ 2016-12-25 12:55 mike
  2016-12-25 15:14 ` Marco Atzeri
  0 siblings, 1 reply; 8+ messages in thread
From: mike @ 2016-12-25 12:55 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-28 14:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-25 12:55 can't run cygwin emacs or XWin Server mike
2016-12-25 15:14 ` Marco Atzeri
2016-12-25 22:59   ` mike
2016-12-25 23:49     ` Ken Brown
2016-12-26 10:46       ` mike
2016-12-28 10:21       ` mike
2016-12-28 14:29         ` Jon Turney
     [not found]   ` <4d56587d-8b6d-ad01-8b8d-ad08408c2eb6@onetel.com>
     [not found]     ` <37973e96-6891-2500-5bb0-b8bb8fb8959b@gmail.com>
2016-12-26 13:09       ` mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).