delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/14:15:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AF6E533.CC362B8@digitalfocus.com>
Date: Mon, 07 May 2001 14:10:59 -0400
From: Daniel Barclay <Daniel DOT Barclay AT digitalfocus DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
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

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 DOT Barclay AT digitalfocus DOT com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019