Mercurial > emacs
comparison man/eshell.texi @ 33030:867e27924dcd
Some markup fixes. Don't call Windows a ``win''.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 29 Oct 2000 16:52:33 +0000 |
parents | 4c98dfd09341 |
children | dd613770eb0f |
comparison
equal
deleted
inserted
replaced
33029:3529e28b918c | 33030:867e27924dcd |
---|---|
1 \input texinfo @c -*-texinfo-*- | 1 \input texinfo @c -*-texinfo-*- |
2 | 2 |
3 @c "@(#)$Name: $:$Id: eshell.texi,v 1.4 2000/10/29 05:13:09 johnw Exp $" | 3 @c "@(#)$Name: $:$Id: eshell.texi,v 1.5 2000/10/29 05:46:42 johnw 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. |
7 | 7 |
8 @c This file is part of GNU Emacs | 8 @c This file is part of GNU Emacs |
599 (presumably this holds the output of @command{less}). | 599 (presumably this holds the output of @command{less}). |
600 | 600 |
601 If @command{less.exe} is invoked from the Eshell command line, the | 601 If @command{less.exe} is invoked from the Eshell command line, the |
602 expected output is written to the buffer. | 602 expected output is written to the buffer. |
603 | 603 |
604 Note that this happens on NT-Emacs 20.6.1 on Win2000. The term.el | 604 Note that this happens on NT-Emacs 20.6.1 on Windows 2000. The term.el |
605 package and the supplied shell both use the @command{cmdproxy} for | 605 package and the supplied shell both use the @command{cmdproxy} program |
606 running shells. | 606 for running shells. |
607 | 607 |
608 @item Implement @samp{-r}, @samp{-n} and @samp{-s} switches for @command{cp} | 608 @item Implement @samp{-r}, @samp{-n} and @samp{-s} switches for @command{cp} |
609 | 609 |
610 @item Make @kbd{M-5 M-x eshell} switch to ``*eshell<5>*'', creating if need be | 610 @item Make @kbd{M-5 M-x eshell} switch to ``*eshell<5>*'', creating if need be |
611 | 611 |
612 @item @samp{mv DIR FILE.tar} does not remove directories | 612 @item @samp{mv @var{dir} @var{file}.tar} does not remove directories |
613 | 613 |
614 This is because the tar option --remove-files doesn't do so. Should it | 614 This is because the tar option --remove-files doesn't do so. Should it |
615 be Eshell's job? | 615 be Eshell's job? |
616 | 616 |
617 @item Bind @code{standard-output} and @code{standard-error} | 617 @item Bind @code{standard-output} and @code{standard-error} |
658 ``(list of filenames)/bin'', which is never valuable. Thus, one could | 658 ``(list of filenames)/bin'', which is never valuable. Thus, one could |
659 @command{cat} only C backup files by using @samp{ls $@{identity *.c@}~}. | 659 @command{cat} only C backup files by using @samp{ls $@{identity *.c@}~}. |
660 In that case, having an alias command name @command{glob} for | 660 In that case, having an alias command name @command{glob} for |
661 @command{identity} would be useful. | 661 @command{identity} would be useful. |
662 | 662 |
663 @item Fix `file-name-all-completions' for XEmacs on Win32 | 663 @item Fix `file-name-all-completions' for XEmacs on MS-Windows |
664 | 664 |
665 Make sure it returns directory names terminated by | 665 Make sure it returns directory names terminated by |
666 @code{directory-sep-char} (which is initialized to be @samp{?/}), rather | 666 @code{directory-sep-char} (which is initialized to be @samp{?/}), rather |
667 than backslash. | 667 than backslash. |
668 | 668 |
749 @samp{$=[REGEXP]}. It indexes into the directory ring. | 749 @samp{$=[REGEXP]}. It indexes into the directory ring. |
750 @end table | 750 @end table |
751 | 751 |
752 @item Eshell scripts can't execute in the background | 752 @item Eshell scripts can't execute in the background |
753 | 753 |
754 @item Support zsh's ``Parameter Expansion'' syntax, i.e. @samp{$@{NAME:-VAL@}} | 754 @item Support zsh's ``Parameter Expansion'' syntax, i.e. @samp{$@{@var{name}:-@var{val}@}} |
755 | 755 |
756 @item Write an @command{info} alias that can take arguments | 756 @item Write an @command{info} alias that can take arguments |
757 | 757 |
758 So that the user can enter @samp{info chmod}, for example. | 758 So that the user can enter @samp{info chmod}, for example. |
759 | 759 |
775 | 775 |
776 If it's a Lisp function, input redirection implies @command{xargs} (in a | 776 If it's a Lisp function, input redirection implies @command{xargs} (in a |
777 way@dots{}). If input redirection is added, also update the | 777 way@dots{}). If input redirection is added, also update the |
778 @code{file-name-quote-list}, and the delimiter list. | 778 @code{file-name-quote-list}, and the delimiter list. |
779 | 779 |
780 @item Allow @samp{#<WORD ARG>} as a generic syntax | 780 @item Allow @samp{#<@var{word} @var{arg}>} as a generic syntax |
781 | 781 |
782 With the handling of @emph{word} specified by an | 782 With the handling of @emph{word} specified by an |
783 @code{eshell-special-alist}. | 783 @code{eshell-special-alist}. |
784 | 784 |
785 @item In @code{eshell-eval-using-options}, allow a @code{:complete} tag | 785 @item In @code{eshell-eval-using-options}, allow a @code{:complete} tag |
816 | 816 |
817 @item Implement @command{fc} in Lisp | 817 @item Implement @command{fc} in Lisp |
818 | 818 |
819 @item Specifying a frame as a redirection target should imply the currently active window's buffer | 819 @item Specifying a frame as a redirection target should imply the currently active window's buffer |
820 | 820 |
821 @item Implement @samp{>FUNC-OR-FUNC-LIST} | 821 @item Implement @samp{>@var{func-or-func-list}} |
822 | 822 |
823 This would allow for an ``output translators'', that take a function to | 823 This would allow for an ``output translators'', that take a function to |
824 modify output with, and a target. Devise a syntax that works well with | 824 modify output with, and a target. Devise a syntax that works well with |
825 pipes, and can accomodate multiple functions (i.e., @samp{>'(upcase | 825 pipes, and can accomodate multiple functions (i.e., @samp{>'(upcase |
826 regexp-quote)} or @samp{>'upcase}). | 826 regexp-quote)} or @samp{>'upcase}). |
830 This would be optional, rather than always using the Eshell buffer. | 830 This would be optional, rather than always using the Eshell buffer. |
831 This would allow it to be run from the command line (perhaps). | 831 This would allow it to be run from the command line (perhaps). |
832 | 832 |
833 @item Write a @command{help} command | 833 @item Write a @command{help} command |
834 | 834 |
835 It would call subcommands with ``--help'', or ``-h'' or ``/?'', as | 835 It would call subcommands with @option{--help}, or @option{-h} or |
836 appropriate. | 836 @option{/?}, as appropriate. |
837 | 837 |
838 @item Implement @command{stty} in Lisp | 838 @item Implement @command{stty} in Lisp |
839 | 839 |
840 @item Support @command{rc}'s matching operator, e.g. @samp{~ (list) regexp} | 840 @item Support @command{rc}'s matching operator, e.g. @samp{~ (@var{list}) @var{regexp}} |
841 | 841 |
842 @item Implement @command{bg} and @command{fg} as editors of @code{eshell-process-list} | 842 @item Implement @command{bg} and @command{fg} as editors of @code{eshell-process-list} |
843 | 843 |
844 Using @command{bg} on a process that is already in the background does | 844 Using @command{bg} on a process that is already in the background does |
845 nothing. Specifying redirection targets replaces (or adds) to the list | 845 nothing. Specifying redirection targets replaces (or adds) to the list |
864 @item Copy ANSI code handling from @file{term.el} into @file{em-term.el} | 864 @item Copy ANSI code handling from @file{term.el} into @file{em-term.el} |
865 | 865 |
866 Make it possible for the user to send char-by-char to the underlying | 866 Make it possible for the user to send char-by-char to the underlying |
867 process. Ultimately, I should be able to move away from using term.el | 867 process. Ultimately, I should be able to move away from using term.el |
868 altogether, since everything but the ANSI code handling is already part | 868 altogether, since everything but the ANSI code handling is already part |
869 of Eshell. Then, things would work correctly on Win32 as well (which | 869 of Eshell. Then, things would work correctly on MS-Windows as well |
870 doesn't have @file{/bin/sh}, although @file{term.el} tries to use it) | 870 (which doesn't have @file{/bin/sh}, although @file{term.el} tries to use |
871 it). | |
871 | 872 |
872 @item Make the shell spawning commands be visual | 873 @item Make the shell spawning commands be visual |
873 | 874 |
874 That is, make (@command{su}, @command{bash}, @command{telnet}, | 875 That is, make (@command{su}, @command{bash}, @command{telnet}, |
875 @command{rlogin}, @command{rsh}, etc.) be part of | 876 @command{rlogin}, @command{rsh}, etc.) be part of |
876 @code{eshell-visual-commands}. The only exception is if the shell is | 877 @code{eshell-visual-commands}. The only exception is if the shell is |
877 being used to invoke a single command. Then, the behavior should be | 878 being used to invoke a single command. Then, the behavior should be |
878 based on what that command is. | 879 based on what that command is. |
879 | 880 |
880 @item Create an smart viewing command named @command{open} | 881 @item Create a smart viewing command named @command{open} |
881 | 882 |
882 This would search for some way to open its argument (similar to opening | 883 This would search for some way to open its argument (similar to opening |
883 a file in the Windows Explorer). | 884 a file in the Windows Explorer). |
884 | 885 |
885 @item Alias @command{read} to be the same as @command{open}, only read-only | 886 @item Alias @command{read} to be the same as @command{open}, only read-only |
937 $@{find X@}}. Maybe @code{eshell-do-pipelines} could be changed to | 938 $@{find X@}}. Maybe @code{eshell-do-pipelines} could be changed to |
938 perform this on-thy-fly rewriting. | 939 perform this on-thy-fly rewriting. |
939 | 940 |
940 @item Write an alias for @command{less} that brings up a @code{view-mode} buffer | 941 @item Write an alias for @command{less} that brings up a @code{view-mode} buffer |
941 | 942 |
942 Such that the user can press @kbd{SPC} and @kbd{DEL}, and then @kbd{q} | 943 Such that the user can press @key{SPC} and @key{DEL}, and then @key{q} |
943 to return to Eshell. It would be equivalent to: | 944 to return to Eshell. It would be equivalent to: |
944 @samp{X > #<buffer Y>; view-buffer #<buffer Y>}. | 945 @samp{X > #<buffer Y>; view-buffer #<buffer Y>}. |
945 | 946 |
946 @item Make @code{eshell-mode} as much a full citizen as @code{shell-mode} | 947 @item Make @code{eshell-mode} as much a full citizen as @code{shell-mode} |
947 | 948 |