Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Jeff Rancier" <jeff.rancier@softechnics.com>
To: "Eric Hanchrow" <offby1@blarg.net>
Cc: "Emacs Help \(Windows\)" <help-emacs-windows@gnu.org>,
   "Cygwin" <cygwin@cygwin.com>
Subject: RE: Can't seem to get bash to work in NTEmacs
Date: Mon, 15 Oct 2001 14:13:55 -0400
Message-ID: <AHEBJIFNCIGOLPDBHOBKMEIIDCAA.jeff.rancier@softechnics.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
In-Reply-To: <87vghkimyd.fsf@offby1.atm01.sea.blarg.net>

I tried the following in emacs -q, and it does work.

(setq exec-path (cons "C:/cygwin/bin" exec-path))
(setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH")))
(setq process-coding-system-alist '(("bash" . undecided-unix)))
(setq w32-quote-process-args ?\")
(setq shell-file-name "c:/cygwin/bin/bash.exe")
(setenv "SHELL" shell-file-name)
(setq explicit-shell-file-name shell-file-name)
(add-hook 'comint-output-filter-functions
          'comint-strip-ctrl-m)

So I just need to somehow figure out what's stepping on what?

Jeff

-----Original Message-----
From: offby1@offby1.atm01.sea.blarg.net
[mailto:offby1@offby1.atm01.sea.blarg.net]On Behalf Of Eric Hanchrow
Sent: Friday, October 12, 2001 5:11 PM
To: Jeff Rancier
Subject: Re: Can't seem to get bash to work in NTEmacs


>>>>> "Jeff" == Jeff Rancier <jeff.rancier@softechnics.com> writes:

    Jeff> It doesn't find explicit-shell-filename?  Do I need to
    Jeff> minimally load a shell package?

You probably need to evaluate `(setq explicit-shell-filename
"c/cygwin/bin/bash.exe")' in the *scratch* buffer; now that you
mention it, I wouldn't expect `M-x set-variable' to work.

-- 
PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5  C8BD 6337 0041 C01C 5276

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

