delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/06/01:58:33

From: ggp AT informix DOT com (Guy Gascoigne - Piggford)
Subject: Re: b19 bash/sh ^M input problem with NTEmacs 19.34.6
6 Mar 1998 01:58:33 -0800 :
Message-ID: <3.0.3.32.19980227101912.0186f680.cygnus.gnu-win32@pop.pdx.informix.com>
References: <199802271535 DOT PAA28990 AT cuckoo DOT hpl DOT hp DOT com>
Mime-Version: 1.0
To: Andy Norman <ange AT hplb DOT hpl DOT hp DOT com>, gnu-win32 AT cygnus DOT com

At 03:35 PM 2/27/98 +0000, Andy Norman wrote:
>I apologise in advance if this is a FAQ.  I couldn't find it in the web
>version of the mail archives (which only go up to December 1997, btw).

Well if it isn't a FAQ now, it soon will be.  The same thing happened with
coolview.  Instead of running M-x shell add this to your .emacs file:

(defun bash ()
  (interactive)
  (let ((binary-process-input t)
        (binary-process-ouput nil))
    (shell)))

and then run M-x bash

There is probably a tidier way to do this, but I'm not enough of a lisp
hacker to ort it out.

BTW the answer originally came from this list a while ago, so kudos to the
original author, he helped me immensly.


-- 
Guy Gascoigne - Piggford (ggp AT informix DOT com)
Software Engineer, Informix Software, Inc. (Portland, Oregon)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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