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: Undesirable command line echoing in GNUmacs shells
Message-ID: <4218@columbia.UUCP>
Date: Wed, 14-Jan-87 13:52:42 EST
Article-I.D.: columbia.4218
Posted: Wed Jan 14 13:52:42 1987
Date-Received: Thu, 15-Jan-87 00:44:58 EST
Sender: nobody@columbia.UUCP
Reply-To: agw@lexington.columbia.edu ()
Organization: Columbia University Computer Science Department
Lines: 46

Hello.

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

	% echo Hello
	echo Hello
	Hello
	% 

From the prompt, you can probably quess that the environment variable
SHELL has been set to /bin/csh.  

Now watch what happens when I change SHELL to be /bin/ksh.

	$ echo Hi
	Hi
	$ 

Voila!  The echoing of the command line disappears.

Plausible conclusion:  This has something to do with csh.

Additional clue:  When firing up a new shell (with SHELL set to be
/bin/ksh), I first get the message

	Switching to new tty driver...

at the top of the *shell* buffer.  Maybe this is of importance?

Questions:

(1.) Has anybody else noticed this?

(2.) Has anybody come up with a way of getting rid of this annoying
     behavior when /bin/csh is used?

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