aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Wiegley2001-04-09 23:42:19 +0000
committerJohn Wiegley2001-04-09 23:42:19 +0000
commit248ac71c7f57b75a5413f3a6d07d2cd2fc753193 (patch)
tree46acd8058e4506feebf084781be2b64ac0d53100
parent40e7276a9b6f7d2e402aadef260988123ac17f70 (diff)
downloademacs-248ac71c7f57b75a5413f3a6d07d2cd2fc753193.tar.gz
emacs-248ac71c7f57b75a5413f3a6d07d2cd2fc753193.zip
A few additions.
-rw-r--r--man/eshell.texi22
1 files changed, 21 insertions, 1 deletions
diff --git a/man/eshell.texi b/man/eshell.texi
index af56d765c09..a760ac35ee2 100644
--- a/man/eshell.texi
+++ b/man/eshell.texi
@@ -1,6 +1,6 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2 2
3@c "@(#)$Name: $:$Id: eshell.texi,v 1.9 2001/01/28 18:48:45 eliz Exp $" 3@c "@(#)$Name: $:$Id: eshell.texi,v 1.10 2001/03/04 07:07:00 rms Exp $"
4 4
5@c Documentation for Eshell: The Emacs Shell. 5@c Documentation for Eshell: The Emacs Shell.
6@c Copyright (C) 1999, 2000 Free Software Foundation, Inc. 6@c Copyright (C) 1999, 2000 Free Software Foundation, Inc.
@@ -529,9 +529,29 @@ on your mind. Have fun!
529* Scripts:: 529* Scripts::
530@end menu 530@end menu
531 531
532Essentially, a command shell is all about invoking commands---and
533everything that entails. So understanding how Eshell invokes commands
534is the key to comprehending how it all works.
535
532@node Invocation, Completion, Commands, Commands 536@node Invocation, Completion, Commands, Commands
533@section Invocation 537@section Invocation
534 538
539Unlike regular system shells, Eshell never invokes kernel functions
540directly, such as @code{exec(3)}. Instead, it uses the Lisp functions
541available in the Emacs Lisp library. It does this by transforming the
542command you specify into a callable Lisp form.@footnote{To see the Lisp
543form that will be invoked, type: @samp{eshell-parse-command "echo
544hello"}}
545
546This transformation, from the string of text typed at the command
547prompt, to the ultimate invocation of either a Lisp function or external
548command, follows these steps:
549
550@enumerate
551@item Parse the command string into separate arguments.
552@item
553@end enumerate
554
535@node Completion, Aliases, Invocation, Commands 555@node Completion, Aliases, Invocation, Commands
536@section Completion 556@section Completion
537 557