| www.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 |
| Date: | Mon, 15 Oct 2001 16:09:28 +0100 |
| Message-ID: | <2866-Mon15Oct2001160928+0100-starksb@ebi.ac.uk> |
| X-Mailer: | emacs 20.7.1 (via feedmail 9-beta-7 I); |
| VM 6.92 under Emacs 20.7.1 | |
| From: | David Starks-Browning <starksb AT ebi DOT ac DOT uk> |
| MIME-Version: | 1.0 |
| To: | "Jeff Rancier" <jeff DOT rancier AT softechnics DOT com> |
| Cc: | cygwin AT cygwin DOT com |
| Subject: | Can't seem to get bash to work in NTEmacs |
| In-Reply-To: | <AHEBJIFNCIGOLPDBHOBKKEEHDCAA.jeff.rancier@softechnics.com> |
| References: | <AHEBJIFNCIGOLPDBHOBKKEEHDCAA DOT jeff DOT rancier AT softechnics DOT com> |
On Friday 12 Oct 01, Jeff Rancier writes:
> I've read through the FAQ and inserted the *minimal* stuff in my .emacs:
>
> (setenv "PID" nil)
> (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 "bash")
> (setenv "SHELL" shell-file-name)
> (setq explicit-shell-file-name shell-file-name)
> (add-hook 'comint-output-filter-functions
> 'comint-strip-ctrl-m)
>
>
> But still get the following error(s):
>
> : : No such file or directory
>
> Process shell exited abnormally with code 127
*When* do you get this error message? When you type 'M-x shell'?
What version of Emacs? Have you installed *all* of Cygwin from
setup.exe or did you pick-and-choose (thus possibly missing
something)?
Where did you get the advice for this:
(setenv "PID" nil)
and what is it supposed to achieve? I've never seen it before. I'd
like to know, as I maintain the FAQ entry "How do I run bash as a
shell under NT Emacs?"
Except for that line, these are the same settings I have in my .emacs,
and I have no difficulty with 'M-x shell'. Mine is emacs-20.7.1, on
WinNT 4.0.
Thanks for your help.
Regards,
David
(Cygwin FAQ maintainer)
--
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 |