diff options
| author | John Wiegley | 2001-04-09 23:42:19 +0000 |
|---|---|---|
| committer | John Wiegley | 2001-04-09 23:42:19 +0000 |
| commit | 248ac71c7f57b75a5413f3a6d07d2cd2fc753193 (patch) | |
| tree | 46acd8058e4506feebf084781be2b64ac0d53100 | |
| parent | 40e7276a9b6f7d2e402aadef260988123ac17f70 (diff) | |
| download | emacs-248ac71c7f57b75a5413f3a6d07d2cd2fc753193.tar.gz emacs-248ac71c7f57b75a5413f3a6d07d2cd2fc753193.zip | |
A few additions.
| -rw-r--r-- | man/eshell.texi | 22 |
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 | ||
| 532 | Essentially, a command shell is all about invoking commands---and | ||
| 533 | everything that entails. So understanding how Eshell invokes commands | ||
| 534 | is 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 | ||
| 539 | Unlike regular system shells, Eshell never invokes kernel functions | ||
| 540 | directly, such as @code{exec(3)}. Instead, it uses the Lisp functions | ||
| 541 | available in the Emacs Lisp library. It does this by transforming the | ||
| 542 | command you specify into a callable Lisp form.@footnote{To see the Lisp | ||
| 543 | form that will be invoked, type: @samp{eshell-parse-command "echo | ||
| 544 | hello"}} | ||
| 545 | |||
| 546 | This transformation, from the string of text typed at the command | ||
| 547 | prompt, to the ultimate invocation of either a Lisp function or external | ||
| 548 | command, 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 | ||