🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189414

Using shell-mode...

#189414
From: Steven Preston
Date: Fri, 15 Feb 1991 19:28
29 lines
1370 bytes
>>>>> In article <JAE.91Feb13095711@pv031e.iastate.edu>,
      jae@pv031e.iastate.edu (Edwards John Andrew) writes:


> Whenever I enter a command in the interactive shell (running
> csh), the command is always echoed and then executed.  Even if I
> simply hit the return key, an extra line is inserted.

> Why is this?  Can this be fixed, or should I get used to it?

Yes, it can be fixed.  Try saying 
   stty -echo
in the *shell* buffer.  If you are using the c shell, you can
put this into your .cshrc

# for "shell" buffer inside emacs
if (${?term}) then
  if ($term == emacs) then
   stty nl -echo rows 10000
  endif
endif


I say give nl to suppress the ^M that some *shell*'s have, and
I set rows 10000, so that things like 'man ...' don't try to
do paging in the *shell* buffer.
--
Steve
Technical Details
Message-ID: <9102151428.AA16591@LL.MIT.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ucsd!ucbvax!LL.MIT.EDU!preston
References: <JAE.91Feb13095711@pv031e.iastate.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,1c9d715b252c7edb,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-02-15 13:12:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ucsd!ucbvax!LL.MIT.EDU!preston
From: preston@LL.MIT.EDU (Steven Preston)
Newsgroups: gnu.emacs.help
Subject: Using shell-mode...
Message-ID: <9102151428.AA16591@LL.MIT.EDU>
Date: 15 Feb 91 19:28:01 GMT
References: <JAE.91Feb13095711@pv031e.iastate.edu>
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 29