delorie.com/archives/browse.cgi | search |
Rob Chansky <robc AT nosc DOT 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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |