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
- Subject: Re: bash under emacs (NT)
- From: posting-list at MailAndNews dot com (Jari Aalto+mail.emacs)
- Date: 30 Dec 1999 01:00:49 +0200
- References: <38603626.3654E2CF@nosc.mil>
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