Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Thu, 23 Dec 1999 07:39:31 +0300 From: Alexey Voinov X-Mailer: The Bat! (v1.043) S/N 79C3AC63 Reply-To: Alexey Voinov Message-ID: <13319.991223@caravan.ru> To: cygwin AT sourceware DOT cygnus DOT com, Rob Chansky Subject: Re: bash under emacs (NT) References: <38603626 DOT 3654E2CF AT nosc DOT mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit RC> I have a problem running bash under emacs-20.3.6.1.1. I managed to get RC> it to call bash correctly, but once I have the prompt I can't seem to RC> get it to remove ^M's that are mucking it up somehow. this is what I RC> get: RC> bash.exe-2.02$ RC> bash.exe: ^M: command not found RC> bash.exe-2.02$ ls RC> bash.exe: ls^M: command not found RC> bash.exe-2.02$ RC> I have looked and looked through cygwin's docs, faq's and mailing list RC> archives and haven't found anything relevant. RC> Hopefully, RC> Rob put that in your .emacs file ---------------- (require 'shell ) (let ((coding-system-for-write 'no-conversion) (coding-system-for-read 'iso-latin-1-unix) (original-shell (getenv "SHELL")) (ori-sfn shell-file-name) (explicit-bash-args '("-i")) ) (setenv "SHELL" (expand-file-name "c:/cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe" )) (setq-default shell-file-name (getenv "SHELL"))) ---------------- Best regards! Alexey Voinov -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com