This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bash under emacs (NT)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]