🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1873

SHELL vs ESHELL, a workaround

#1873
From: Francois Pinard
Date: Mon, 12 Feb 1990 13:07
21 lines
1335 bytes
In GNU Emacs 18.54.2 of Sat Feb 10 1990 on icule (usg-unix-v)

For my previous message about SHELL vs ESHELL with suspend-emacs where
there is no job control, I have a satisfactory workaround.

suspend-emacs looks directly at the SHELL environment variable, while
shell-command and shell-command-on-region looks only indirectly to it
through the elisp variable shell-file-name, which itself gets
initialized after the SHELL environment variable.

It is sufficient to change the value of shell-file-name in the .emacs
file.  So, the selected shells will be:

	suspend-emacs		from SHELL (set in .bash_login)
	shell			from ESHELL (set in .bash_login)
	shell-command		from shell-file-name (set in .emacs)

-- 
Franc,ois Pinard                                    pinard@iro.umontreal.ca
(514) 588-4656            ``Vivement GNU!''          ...!uunet!iros1!pinard
Technical Details
Message-ID: <9002121307.AA00274@icule.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!snorkelwacker!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!mcgill-vision!icule!pinard

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!snorkelwacker!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!mcgill-vision!icule!pinard
From: mcgill-vision!icule!pinard@EDDIE.MIT.EDU (Francois Pinard)
Newsgroups: gnu.emacs.bug
Subject: SHELL vs ESHELL, a workaround
Message-ID: <9002121307.AA00274@icule.UUCP>
Date: 12 Feb 90 13:07:23 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: pinard@iro.umontreal.ca
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21