This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash under emacs (NT)
- To: cygwin at sourceware dot cygnus dot com, Rob Chansky <robc at nosc dot mil>
- Subject: Re: bash under emacs (NT)
- From: Alexey Voinov <voins at caravan dot ru>
- Date: Thu, 23 Dec 1999 07:39:31 +0300
- References: <38603626.3654E2CF@nosc.mil>
- Reply-To: Alexey Voinov <voins at caravan dot ru>
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@sourceware.cygnus.com