| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Jeff Rancier" <jeff DOT rancier AT softechnics DOT com> |
| To: | "Eric Hanchrow" <offby1 AT blarg DOT net> |
| Cc: | "Emacs Help \(Windows\)" <help-emacs-windows AT gnu DOT org>, |
| "Cygwin" <cygwin AT cygwin DOT 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 |
| 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 AT offby1 DOT atm01 DOT sea DOT blarg DOT net
[mailto:offby1 AT offby1 DOT atm01 DOT sea DOT blarg DOT 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 DOT rancier AT softechnics DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |