Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!olivea!orc!inews!esulzner From: esulzner@cadev6.intel.com (Eric Sulzner ~) Newsgroups: comp.emacs Subject: Re: tcsh vs shell-mode Message-ID: Date: 20 Sep 90 03:08:15 GMT References: <1990Aug31.171026.15996@murdoch.acc.Virginia.EDU> Sender: news@inews.intel.com Distribution: usa Organization: Design Technology, INTeL Corporation, Santa Clara, CA Lines: 28 In-reply-to: wrp@biochsn.acc.Virginia.EDU's message of 31 Aug 90 17:10:26 GMT In article <1990Aug31.171026.15996@murdoch.acc.Virginia.EDU> wrp@biochsn.acc.Virginia.EDU (William R. Pearson) writes: I have become addicted to the 'tcsh' c-shell replacement on my suns (3/50, sparcstation, running 4.0.3). Unfortunately, when start a sub-shell under GNUemacs, all of the lines are echoed, so that each line looks like: ls^M ls ... I believe that the tcsh is resetting the modes on the pty to enable echo, which it is supposed to do on a normal terminal line. This does not happen with GNUemacs and the tcsh on my mips M/120, however, I am running 18.52 on the mips and 18.55 on the sun. I have attempted to fix the problem by setting the variable "shell-file" to run the csh, but I have not succeeded in getting a different shell. Any suggestions? Bill Pearson 'stty -echo nl' works for me. I run csh and 18.55 on Ultrix and suns. The problem shows up after rlogins. I'm using cmushell now, but I recall the same happened under shell. There should be a more elegant solution.