Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!columbia!lexington.columbia.edu!agw
From: agw@lexington.columbia.edu (Art Werschulz)
Newsgroups: comp.emacs
Subject: Re: Annoying Command Line Echoing in GNUmacs shell
Message-ID: <4224@columbia.UUCP>
Date: Thu, 15-Jan-87 12:28:05 EST
Article-I.D.: columbia.4224
Posted: Thu Jan 15 12:28:05 1987
Date-Received: Fri, 16-Jan-87 01:29:34 EST
Sender: nobody@columbia.UUCP
Reply-To: agw@lexington.columbia.edu (Art Werschulz)
Organization: Columbia University Computer Science Department
Lines: 51

Hello again.

Let me rephrase my previous question, giving more precise info.

We are running 4.2 BSD on a SUN 2.  Our GNU Emacs version number is 17.64.1. 
My shell on that machine (lexington, abbreviated "lex") is /bin/csh.

I've noticed that when running M-x shell, each command line gets
repeated, e.g.,

	lex:agw% echo Hello
	echo Hello
	Hello
	lex:agw% 

When my shell is /bin/ksh, this doesn't happen:

	$ echo Hi
	Hi
	$ 

One more clue:  We are also running 4.3 BSD on VAXen 11/750.
My shell on one of those machines (tom) is also /bin/csh.  On tom, I
*don't* get the echoing of the command line when running a M-x shell
under GNU Emacs version 17.64.1, e.g.: 

	tom:agw% echo Hello
	Hello
	tom:agw% 

Now, does anybody running 4.2 BSD on SUN 2's have any idea how I can
get rid of this command line echoing?

One suggestion that did not work was to create a file ~/.emacs_csh
that had the line 

	stty -echo

It didn't work because the file didn't get read.
(Evidence?  I put echo statements before and after the stty.  Neither
echo appeared on my screen.)  I also tried source-ing this file
(which forced the file to be read), and issuing the command "by hand"
to my Emacs shell.  Neither approach got rid of the echoing of command lines.In addition, when I run GNU Emacs 17.
	Art Werschulz

 	ARPAnet:  agw%lexington@columbia.edu
	USEnet:   ... {seismo, topaz}!columbia!lexington!agw
	BITnet:   columbia.edu!lexington!agw@wiscvm
	CCNET:    werschulz@CUCS20
	ATTnet:   Columbia University (212) 280-3610 280-2736
		  Fordham University  (212) 841-5323 841-5396