bash under emacs (NT)
Alexey Voinov
voins@caravan.ru
Fri Dec 31 13:28:00 GMT 1999
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
More information about the Cygwin
mailing list