all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: What's the differences b/t M-x eshell and M-x shell.
Date: Sat, 09 Oct 2010 14:49:16 +0200	[thread overview]
Message-ID: <87mxqnr0oj.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 54065fc0-bb58-46d7-bcb8-08fbc5e71286@y12g2000prb.googlegroups.com

Donghyun Cho <bigeyeguy@gmail.com> writes:

> I'm using eshell instead of shell.
>
> But I can't bring environmental variables to eshell.

The syntax is different.  eshell is a lisp shell:


Welcome to the Emacs shell

~ $ (getenv "HOME")
/home/pjb
~ $ 


> so I'm going to using original shell( M-x shell )
>
> Please let me know the differences between M-x eshell and M-x shell.

C-h f shell RET
C-h f eshell RET


shell runs bash (or whatever shell you configured).  

eshell is implemented in emacs lisp, and gives you direct access to
emacs lisp, which is a much better language than any shell language (but
scsh of course).

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


       reply	other threads:[~2010-10-09 12:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54065fc0-bb58-46d7-bcb8-08fbc5e71286@y12g2000prb.googlegroups.com>
2010-10-09 12:49 ` Pascal J. Bourguignon [this message]
2010-10-09 21:27   ` What's the differences b/t M-x eshell and M-x shell Sean McAfee
2010-10-10  8:39     ` Xah Lee
2010-10-10 19:45       ` despen
2010-10-10 19:53         ` Richard Riley
2010-10-10 20:20           ` despen
2010-10-10 20:35             ` Richard Riley
2010-10-10 21:13               ` despen
2010-10-10  1:03 ` Xah Lee

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=87mxqnr0oj.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --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.