| 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 sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| 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 <voins AT caravan DOT ru> |
| X-Mailer: | The Bat! (v1.043) S/N 79C3AC63 |
| Reply-To: | Alexey Voinov <voins AT caravan DOT ru> |
| Message-ID: | <13319.991223@caravan.ru> |
| To: | cygwin AT sourceware DOT cygnus DOT com, Rob Chansky <robc AT nosc DOT mil> |
| Subject: | Re: bash under emacs (NT) |
| References: | <38603626 DOT 3654E2CF AT nosc DOT mil> |
| Mime-Version: | 1.0 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |