Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!sarah!cs.albany.edu!crdgw1!uakari.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!odin!gold From: gold@sgi.com (Michael Gold) Newsgroups: comp.sys.sgi Subject: Re: staunching csh echoing under emacs on the Iris Message-ID: <1991Apr25.222126.16524@odin.corp.sgi.com> Date: 25 Apr 91 22:21:26 GMT References: <1991Apr24.235228.1140@news.arc.nasa.gov> Sender: news@odin.corp.sgi.com (Net News) Distribution: usa Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 22 In article <1991Apr24.235228.1140@news.arc.nasa.gov> ceb@krypton.arc.nasa.gov writes: >Running 3.3.2, when I run a subsidiary csh under GNUemacs, in contrast to >most every other Unix I've seen, the csh echoes input to it. In concert with >Emacs, this leads to a doubling of input lines. > Ahh, yes, I found this one too. It turns out that if you set filec it overrides "stty -echo". The workaround I use in my .cshrc follows: # Only set filec if not in emacs if (! $?EMACS) then set filec endif Since emacs is kind enough to set this variable for you. -- Michael I. Gold You go your way, I'll go mine, Silicon Graphics Inc. I don't care if we get there on time, Internet: gold@sgi.com Everybody's searching for something they say, Voice: (415) 335-1709 I'll get my kicks on the way...