This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
removing ^M from shell output not working
- To: "ntemacs-users at cs dot washington dot edu" <ntemacs-users at cs dot washington dot edu>, cygwin <cygwin at cygwin dot com>
- Subject: removing ^M from shell output not working
- From: Daniel Barclay <Daniel dot Barclay at digitalfocus dot com>
- Date: Mon, 07 May 2001 14:10:59 -0400
Would anyone have any idea why my .emacs configuration to strip ^M
characters from shell output isn't working?
Based on the Cygwin "Why can't I run bash as a shell under NT Emacs" page
at http://sources.redhat.com/cygwin/faq/faq_4.html#SEC54, I have this:
;;
;; This removes unsightly ^M characters that would otherwise
;; appear in the output of java applications.
;;
(add-hook 'comint-output-filter-functions
'comint-strip-ctrl-m)
in my .emacs file.
However, I'm still getting ^M characters, even from simple commands
(e.g. "echo hi ; echo there").
Thanks,
Daniel
--
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple