[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: bash under emacs (NT)
From:       posting-list () MailAndNews ! com (Jari Aalto+mail ! emacs)
Date:       1999-12-29 23:00:49
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic