bash under emacs (NT)
Jari Aalto+mail.emacs
posting-list@MailAndNews.com
Fri Dec 31 13:28:00 GMT 1999
Rob Chansky <robc@nosc.mil> 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@sourceware.cygnus.com
More information about the Cygwin
mailing list