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 From: posting-list AT MailAndNews DOT com (Jari Aalto+mail.emacs) To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: bash under emacs (NT) X-Sender-Info: Emacs tiny tools: http://poboxes.com/jari.aalto/emacs-elisp.html http://home.eu.org/~jari/homepage.html PGP 2.6.x keyid 47141D35 http://www.pgp.net/pgpnet/ References: <38603626 DOT 3654E2CF AT nosc DOT mil> Date: 30 Dec 1999 01:00:49 +0200 In-Reply-To: Rob Chansky's message of "Tue, 21 Dec 1999 18:23:34 -0800" Message-ID: User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 28 Rob Chansky writes: > All, > > I have a problem running bash under emacs-20.3.6.1.1. I managed to get > it to call bash correctly, but once I have the prompt I can't seem to > get it to remove ^M's that are mucking it up somehow. this is what I > get: > > bash.exe-2.02$ > bash.exe: ^M: command not found > bash.exe-2.02$ ls > bash.exe: ls^M: command not found > bash.exe-2.02$ > > I have looked and looked through cygwin's docs, faq's and mailing list > archives and haven't found anything relevant. > I fighted with this several months and after M-x apropos "coding" and comparing several emacs shell buffers, I found that this does it: This is for NT-EMACS: (setq default-process-coding-system '(undecided-dos . undecided-unix)) jari -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com