From: lhall AT rfk DOT com (Larry Hall) Subject: Re: b19 bash/sh ^M input problem with NTEmacs 19.34.6 27 Feb 1998 14:38:08 -0800 Message-ID: <3.0.5.32.19980227172339.00992100.cygnus.gnu-win32@pop.ma.ultranet.com> References: <199802271535 DOT PAA28990 AT cuckoo DOT hpl DOT hp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Andy Norman , gnu-win32 AT cygnus DOT com At 03:35 PM 2/27/98 +0000, Andy Norman wrote: >Folks, > >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). > >I use b19 with NT Emacs 19.34.6 under NT 4.0sp3. > >When I type: > > M-x shell > >and get an interactive shell buffer, I find that each command sent _to_ the >shell from NT Emacs has ^M appended to it, causing the command to fail unless >I append a shell comment character (#) at the end of the line. (Note that I'm >not talking about output from the shells, just the input to them.) > >This fails with both bash.exe and sh.exe that come with b19. > >Under b18, this worked just fine. The only change was to uninstall b18 and >install b19 today. > >Any hints _very_ welcome. Thanks! > > -- ange -- <>< > >http://www-uk.hpl.hp.com/people/ange ange AT hplb DOT hpl DOT hp DOT com We need to get this into the FAQ or something to direct people to the Emacs FAQ for NT, if its in there. This comes up far too often... > (defun bash () > (interactive) > (let ((binary-process-input t) > (binary-process-ouput nil)) > (shell))) > > > from Stefan Svenberg . > Larry Hall lhall AT rfk DOT com RFK Partners, Inc. (781) 239-1053 8 Grove Street (781) 239-1655 - FAX Wellesley, MA 02181 http://www.rfk.com - 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".