Subject: Re: Can't seem to get bash to work in NTEmacs
From: Pavel Tsekov <[email-masked]>
To: Jeff Rancier <[email-masked]>
Cc: Cygwin <[email-masked]>
Date: Mon, 15 Oct 2001 13:04:41 +0200

Hey, Jeff :)

Jeff Rancier wrote:
> 
> 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 ?\")

Perhaps you should set the bottom line to bash.exe instead just bash...

> (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
> 
> Can anyone solve this?

--
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/