unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* what's much better in eshell than eg tcsh?
@ 2008-04-04  1:44 David Combs
  2008-04-04 13:13 ` Chris McMahan
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Combs @ 2008-04-04  1:44 UTC (permalink / raw)
  To: help-gnu-emacs

I tried it once, a few years ago, and found it difficult,
maybe even unpleasant, to use.  Also never learned how
to do things I was used to do with tcsh.

And why better (for programming) than bourne?

What I do depends on what you guys say.


THANKS

David




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what's much better in eshell than eg tcsh?
  2008-04-04  1:44 what's much better in eshell than eg tcsh? David Combs
@ 2008-04-04 13:13 ` Chris McMahan
  2008-04-04 14:57 ` Joel J. Adamson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Chris McMahan @ 2008-04-04 13:13 UTC (permalink / raw)
  To: help-gnu-emacs


The advantage of eshell is in it's automatic inclusion with emacs, and
its portability across platforms. 

You also have the advantage of access to emacs functions and lisp
programming.

I wouldn't go so far as to say one is better than the other. Just use
the one that's appropriate for a given situation.

- Chris

dkcombs@panix.com (David Combs) writes:

> I tried it once, a few years ago, and found it difficult,
> maybe even unpleasant, to use.  Also never learned how
> to do things I was used to do with tcsh.
>
> And why better (for programming) than bourne?
>
> What I do depends on what you guys say.
>
>
> THANKS
>
> David
>
>

-- 
     (.   .)
  =ooO=(_)=Ooo=====================================
  Chris McMahan | first_initiallastname@one.dot.net
  =================================================


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what's much better in eshell than eg tcsh?
  2008-04-04  1:44 what's much better in eshell than eg tcsh? David Combs
  2008-04-04 13:13 ` Chris McMahan
@ 2008-04-04 14:57 ` Joel J. Adamson
  2008-04-06  0:00   ` Xavier Maillard
  2008-04-04 15:36 ` Ted Zlatanov
  2008-04-05  3:21 ` Tim X
  3 siblings, 1 reply; 6+ messages in thread
From: Joel J. Adamson @ 2008-04-04 14:57 UTC (permalink / raw)
  To: David Combs; +Cc: help-gnu-emacs

Although this sounds like bait, I'll try to help you.

dkcombs@panix.com (David Combs) writes:

> I tried it once, a few years ago, and found it difficult,
> maybe even unpleasant, to use.  Also never learned how
> to do things I was used to do with tcsh.

Eshell is for interactive use in Emacs.  It's more portable than say
bash, if you don't want to install Cygwin.

> And why better (for programming) than bourne?

It's not.  Scripting in Eshell doesn't make any sense.  For that you'd
simply use Lisp.

Eshell, IMO, is nice because you can use familiar Emacs commands as
shell commands, however, I get a lot more mileage out of just using
dired and Emacs in command mode (as an editor) than in Eshell.  Eshell
also mixes up parentheses and brackets, which I find slightly confusing.

Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what's much better in eshell than eg tcsh?
  2008-04-04  1:44 what's much better in eshell than eg tcsh? David Combs
  2008-04-04 13:13 ` Chris McMahan
  2008-04-04 14:57 ` Joel J. Adamson
@ 2008-04-04 15:36 ` Ted Zlatanov
  2008-04-05  3:21 ` Tim X
  3 siblings, 0 replies; 6+ messages in thread
From: Ted Zlatanov @ 2008-04-04 15:36 UTC (permalink / raw)
  To: help-gnu-emacs

On 3 Apr 2008 21:44:37 -0400 dkcombs@panix.com (David Combs) wrote: 

DC> I tried it once, a few years ago, and found it difficult,
DC> maybe even unpleasant, to use.  Also never learned how
DC> to do things I was used to do with tcsh.

DC> And why better (for programming) than bourne?

Stick with tcsh if it's what you like.

Look at the eshell manual, that's the best way to learn what it can do.

DC> What I do depends on what you guys say.

Send us all your money! :)

Ted


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what's much better in eshell than eg tcsh?
  2008-04-04  1:44 what's much better in eshell than eg tcsh? David Combs
                   ` (2 preceding siblings ...)
  2008-04-04 15:36 ` Ted Zlatanov
@ 2008-04-05  3:21 ` Tim X
  3 siblings, 0 replies; 6+ messages in thread
From: Tim X @ 2008-04-05  3:21 UTC (permalink / raw)
  To: help-gnu-emacs

dkcombs@panix.com (David Combs) writes:

> I tried it once, a few years ago, and found it difficult,
> maybe even unpleasant, to use.  Also never learned how
> to do things I was used to do with tcsh.
>
> And why better (for programming) than bourne?
>
> What I do depends on what you guys say.
>

For shell programming, use /bin/sh if you want portability or /bin/bash
if you want higher level functionality in bash and don't care as much
about portability. 

Avoid csh/tcsh for programming as they don't have some problems with
things like redirection and other 'inconsistencies' in some areas
(though these are mainly fairly advanced scripting techniques that many
won't encounter in basic scripting). Tcsh/csh used to be great for
interactive shells (well they still are), but most if not all the
advantages they offer are now also found in shells like bash. 

eshell is a good little interactive shell within emacs that is very
handy whenyou need to pke around in the filesystem.  However, it has
limitations with respect to redirection and handling ncurses etc, so be
careful using su/sudo or running scripts that use recirection and I
don't think its good at job control e.g. background/foreground jobs etc.

Tim


-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what's much better in eshell than eg tcsh?
  2008-04-04 14:57 ` Joel J. Adamson
@ 2008-04-06  0:00   ` Xavier Maillard
  0 siblings, 0 replies; 6+ messages in thread
From: Xavier Maillard @ 2008-04-06  0:00 UTC (permalink / raw)
  To: Joel J. Adamson; +Cc: dkcombs, help-gnu-emacs


   Although this sounds like bait, I'll try to help you.

   dkcombs@panix.com (David Combs) writes:

   > I tried it once, a few years ago, and found it difficult,
   > maybe even unpleasant, to use.  Also never learned how
   > to do things I was used to do with tcsh.

   Eshell is for interactive use in Emacs.  It's more portable than say
   bash, if you don't want to install Cygwin.

   > And why better (for programming) than bourne?

   It's not.  Scripting in Eshell doesn't make any sense.  For that you'd
   simply use Lisp.

   Eshell, IMO, is nice because you can use familiar Emacs commands as
   shell commands, however, I get a lot more mileage out of just using
   dired and Emacs in command mode (as an editor) than in Eshell.  Eshell
   also mixes up parentheses and brackets, which I find slightly confusing.

I also tried several times to use eshell but I really prefer
eev-mode + M-x shell.

I highly recommend anybody to try eev-mode to see what it can do.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-06  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04  1:44 what's much better in eshell than eg tcsh? David Combs
2008-04-04 13:13 ` Chris McMahan
2008-04-04 14:57 ` Joel J. Adamson
2008-04-06  0:00   ` Xavier Maillard
2008-04-04 15:36 ` Ted Zlatanov
2008-04-05  3:21 ` Tim X

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).