🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188894

Re: shell without ^Ms, etc.

#188894
From: Charles Robert Yount
Date: Mon, 10 Jun 1991 17:50
20 lines
1451 bytes
In article <YOUNT.91Jun8171727@fox.ece.cmu.edu> I wrote:


   Does someone know how to run a shell under emacs without it echoing
   the characters I type (especially the ^Ms)?

The answer involves two things: 

1) Set emacs to run the standard csh.  I was using a fancy csh with
history editing, etc.  Do this by putting 
	(setq explicit-shell-file-name "csh")
in .emacs or by setting the environment var ESHELL to csh.  Some other
shells will probably work too, but csh is fine with me.

2) Issue the command "stty -onlcr -echo" to turn off the ^Ms and
echoing.  This will be done automatically if you put the command in
the file .emacs_csh.

Thanks to Andy Norman, Rich Cloutier, and Steven Nicoud,
Chuck
Technical Details
Message-ID: <YOUNT.91Jun10135005@fox.ece.cmu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!fs7!yount
References: <YOUNT.91Jun8171727@fox.ece.cmu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,6a36c65348c58437
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-10 13:45:07 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!fs7!yount
From: yount@fox.ece.cmu.edu (Charles Robert Yount)
Newsgroups: gnu.emacs.help
Subject: Re: shell without ^Ms, etc.
Message-ID: <YOUNT.91Jun10135005@fox.ece.cmu.edu>
Date: 10 Jun 91 17:50:05 GMT
References: <YOUNT.91Jun8171727@fox.ece.cmu.edu>
Sender: news@fs7.ece.cmu.edu (USENET News System)
Distribution: gnu
Organization: Electrical and Computer Engineering, Carnegie Mellon
Lines: 20
In-Reply-To: yount@fox.ece.cmu.edu's message of 8 Jun 91 17:17:27