help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the differences b/t M-x eshell and M-x shell.


From: Pascal J. Bourguignon
Subject: Re: What's the differences b/t M-x eshell and M-x shell.
Date: Wed, 08 Dec 2010 15:31:18 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]