public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin-x <cygwin-xfree@cygwin.com>
Subject: Re: Resizing problem
Date: Thu, 15 Jul 2010 21:20:00 -0000	[thread overview]
Message-ID: <4C3F7B8B.1090704@cornell.edu> (raw)
In-Reply-To: <AANLkTilA1wvU3yWsnT0tSAU1VKuzOcJUqSzaz_hp-Hn0@mail.gmail.com>

On 7/15/2010 3:51 PM, Olwe Melwasul wrote:
> Yes, I am using the emacs-X11 and yes, I started it (after starting
> the X server to get multiwindowed mode) with ">emacs&" at the cygwin
> command. Emacs-X11 comes up fine, looking good. Then I do "M-x shell"
> to get a shell environment inside of Emacs. But what comes up is not
> bash. I'm not sure what it is, but it sees no cygwin apps: It doesn't
> know what "ls" or "which diff" or any other GNU/cygwin stuff is. I
> assume it is the DOS shell. Oddly, if I start emacs-X11 inside the
> windowed mode (startx) and do emacs shell mode, it does see bash and
> the rest of the GNU/cygwin apps.

[Please don't top-post.]

I think the problem is that your PATH isn't set correctly inside emacs. 
  How are you starting the X server?  If you use the start menu shortcut 
(with target C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c 
/usr/bin/startxwin.exe) you shouldn't have that problem.  Notice that it 
uses 'bash -l' precisely so that the environment, including PATH, is set 
up in the normal way.

Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


  reply	other threads:[~2010-07-15 21:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15 17:02 Olwe Melwasul
2010-07-15 18:12 ` Ken Brown
2010-07-15 19:51   ` Olwe Melwasul
2010-07-15 21:20     ` Ken Brown [this message]
2010-07-16  1:27       ` Olwe Melwasul
2010-07-16  2:04         ` Ken Brown
2010-07-16  2:20           ` Ken Brown
2010-07-16  4:10             ` Olwe Melwasul
2010-07-16  8:52               ` Csaba Raduly
2010-07-16 12:24               ` Ken Brown
2010-07-16 13:50 ` Jon TURNEY
2010-07-16 14:39   ` Olwe Melwasul
2010-07-16 15:40     ` Andy Koppe
2010-07-16 16:00       ` Christopher Faylor
2010-07-16 20:03         ` Olwe Melwasul
2010-07-16 21:19           ` Christopher Faylor
2010-07-16 21:40             ` Olwe Melwasul
2010-07-16 22:08               ` DePriest, Jason R.
2010-07-16 22:23                 ` Olwe Melwasul
2010-07-16 22:46                   ` Christopher Faylor
2010-07-16 22:34         ` Timares, Brian (EDS/HP)
2010-07-16 22:56           ` Christopher Faylor
2010-07-16 15:55     ` Larry Hall (Cygwin X)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3F7B8B.1090704@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).