delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/08/15:51:03

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: <7866238A04D10045A304CF7E71F488D1106245@utoexc01.emea.cpqcorp.net>
From: "Sprenger, Karel" <Karel DOT Sprenger AT Compaq DOT com>
To: "'Sagar R. Shah'" <Sagar DOT Shah AT sid DOT cam DOT ac DOT uk>, Sam Steingold <sds AT gnu DOT org>
Cc: Daniel Barclay <Daniel DOT Barclay AT digitalfocus DOT com>,
ntemacs-users AT cs DOT washington DOT edu, cygwin <cygwin AT cygwin DOT com>
Subject: RE: removing ^M from shell output not working
Date: Tue, 8 May 2001 21:50:21 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Hi,

All I have is the following lines in my .emacs file:

;; Add proc-filter-shell-output-filter to get rid of ^M in shells
(require 'proc-filters)
(add-hook 'comint-output-filter-functions 'proc-filter-shell-output-filter)

I used to have lots of other code that supposedly got rid of ^M's but
didn't.  Only recently I discovered that the above does the trick for me
when I use Cygwin's bash as shell program.

Cheers,
Karel
-- 
Karel Sprenger, senior solution specialist 
COMPAQ, Professional Services 
Phone:  +31 (30) 283 4542           Home: +31 (20) 670 0942 
E-mail: karel DOT sprenger AT compaq DOT com   Home: cjas AT xs4all DOT nl 
"A behaviorist is someone who pulls habits out of rats." -- Anonymous 

-----Original Message-----
From: Sagar R. Shah [mailto:Sagar DOT Shah AT sid DOT cam DOT ac DOT uk]
Sent: Tuesday, May 08, 2001 12:36
To: Sam Steingold
Cc: Daniel Barclay; ntemacs-users AT cs DOT washington DOT edu; cygwin
Subject: Re: removing ^M from shell output not working


On 7 May 2001, Sam Steingold wrote: 
> (modify-coding-system-alist 'process "" 'unix) 
> 
> works for me like a charm on e21 (CVS version - the latest pretest). 
> 
> whoever maintains the FAQs might want to update it. 
Has anyone got it to work on emacs 20.7? (or anything pre-21?) 
When i try it i get: 
"Invalid coding system: unix" 
any ideas on what's missing? 
Thanks 
Sagar 
--------------------------------- 
Sagar R. Shah 
http://www.netnexus.co.uk/ 
http://www.netnexus.uklinux.net/ 
--------------------------------- 

--
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