Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!mit-eddie!PREP.AI.MIT.EDU!mly From: mly@PREP.AI.MIT.EDU (Richard Mlynarik) Newsgroups: comp.emacs Subject: Undesirable command line echoing in GNUmacs shells Message-ID: <8701142109.AA21111@EDDIE.MIT.EDU> Date: Wed, 14-Jan-87 16:11:41 EST Article-I.D.: EDDIE.8701142109.AA21111 Posted: Wed Jan 14 16:11:41 1987 Date-Received: Thu, 15-Jan-87 02:48:40 EST Sender: nessus@mit-eddie.MIT.EDU Reply-To: mly-prep@prep.ai.mit.edu Lines: 36 Path: mit-eddie!rutgers!seismo!columbia!lexington.columbia.edu!agw From: agw@lexington.columbia.edu (Art Werschulz) Newsgroups: comp.emacs Date: 14 Jan 87 18:52:42 GMT Reply-To: agw@lexington.columbia.edu () I've noticed that when running M-x shell under GNU Emacs, each command line gets repeated, e.g., You don't mention which version of emacs you are running, nor which operating system/version you are running on. % 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. This is supposed to be a feature of the shell you are using -- it notices that it is running under a pty and assumes that it should do interactive stuff (usually, in effect, "stty -nl echo") To turn it off, try doing "stty -echo" -- you could put this in your ~/.emacs_csh file to have this happen automatically.