all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: leaving comint.el for a better emacs shell
Date: Sun, 15 May 2011 11:48:37 +1000	[thread overview]
Message-ID: <87aaeolone.fsf@puma.rapttech.com.au> (raw)
In-Reply-To: 87liyap6v9.fsf@lifelogs.com

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Fri, 13 May 2011 14:46:41 -0700 (PDT) Terrence Brannon
> <thequietcenter@gmail.com> 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


  reply	other threads:[~2011-05-15  1:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-13 21:46 leaving comint.el for a better emacs shell Terrence Brannon
2011-05-13 22:34 ` Ted Zlatanov
2011-05-15  1:48   ` Tim X [this message]
2011-05-16 15:38     ` Terrence Brannon
2011-05-16 15:36   ` Terrence Brannon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aaeolone.fsf@puma.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.