The good news is that there is some hook to do filtering. It is used by M-x ansi-color-for-comint-mode-on which looks fine. Has someone written a filter that does the right thing with ^M. It should be easy to write for a elisp master but I am just a elisp hater. Help!
A second look shows that to be perfect one should implement one of the ANSI cursor move.
-- stefp
In reply to problem: emacs interactive shell and cpan by stefp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |