From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: leaving comint.el for a better emacs shell Date: Sun, 15 May 2011 11:48:37 +1000 Organization: Unlimited download news at news.astraweb.com Message-ID: <87aaeolone.fsf@puma.rapttech.com.au> References: <87liyap6v9.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306270295 29299 80.91.229.12 (24 May 2011 20:51:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:51:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:51:32 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyZe-0000bt-IO for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:51:30 +0200 Original-Received: from localhost ([::1]:47547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyL1-000382-7Q for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:36:23 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:IEUrLYqw40Xy9wJRQRmIYeGyaoY= Original-Lines: 43 Original-NNTP-Posting-Host: 2c5fd539.news.astraweb.com Original-X-Trace: DXC=7?4]@nY3^ZL0UO2<>T]L; AL?0kYOcDh@J7^o:UA4R?cEel::[kgGj3B]G; 2>V^?kWC48NP]Hm4n:IZQg4X08; HU@NjX>S6PLH\E Original-Xref: usenet.stanford.edu gnu.emacs.help:186855 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81231 Archived-At: Ted Zlatanov writes: > On Fri, 13 May 2011 14:46:41 -0700 (PDT) Terrence Brannon > wrote: > > TB> I would like to have a shell which > TB> 1. allows me to have multiple shells, with descriptive names, based > TB> on the current working directory of the buffer I am in > TB> 2. opens shells on remote machines, should the current working > TB> directory be on a machine I have accessed via tramp > > eshell does 1 and 2. > > TB> Eshell sounds neat, but I dont think it sources .bashrc files, does > TB> it? > > Why do you need to source bashrc files? Do you need aliases, functions, > prompts? > eshell is good EXCEPT when you need I/O redirection. I have found eshell is only good as an interactive shell and can be quite dangerous or misleading if used to execute other shell scripts that rely on I/O redirection. My use for comint has been as the underlying part of some other mode/task and not as a general 'shell' (as in the sense of term et. al.). However, it probably wouldn't be too hard to setup the sort of functionality you are after. For example, there are other modes that use comint for communicaitons with external/remote systems that allow multiple instances with different names. This would indicate there is nothing inherent to comint that prevents multiple instances. I also have comint based modes that will connect remotely if I execute the mode while viewing a remote directory/file. So that aspect also does not seem to be related to comint per se. Tim -- tcross (at) rapttech dot com dot au