/[emacs]/emacs/man/misc.texi
ViewVC logotype

Diff of /emacs/man/misc.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39 by eliz, Fri Feb 1 13:12:44 2002 UTC revision 1.40 by rms, Sun Jul 7 23:48:41 2002 UTC
# Line 743  Search backwards or forwards for old she Line 743  Search backwards or forwards for old she
743  @item C-c C-x @r{(Shell mode)}  @item C-c C-x @r{(Shell mode)}
744  @findex comint-get-next-from-history  @findex comint-get-next-from-history
745  Fetch the next subsequent command from the history.  Fetch the next subsequent command from the history.
746    
747    @item C-c . @r{(Shell mode)}
748    @findex comint-input-previous-argument
749    Fetch one argument from an old shell command.
750  @end table  @end table
751    
752    Shell buffers provide a history of previously entered shell commands.  To    Shell buffers provide a history of previously entered shell commands.  To
# Line 775  you just repeated.  Then type @key{RET} Line 779  you just repeated.  Then type @key{RET}
779  can reexecute several successive commands by typing @kbd{C-c C-x  can reexecute several successive commands by typing @kbd{C-c C-x
780  @key{RET}} over and over.  @key{RET}} over and over.
781    
782      The command @kbd{C-c .}@: (@code{comint-input-previous-argument})
783    copies an individual argument from a previous command, like @kbd{ESC
784    .} in Bash.  The simplest use copies the last argument from the
785    previous shell command.  With a prefix argument @var{n}, it copies the
786    @var{n}th argument instead.  Repeating @kbd{C-c .} copies from an
787    earlier shell command instead, always using the same value of @var{n}
788    (don't give a prefix argument when you repeat the @kbd{C-c .}
789    command).
790    
791    These commands get the text of previous shell commands from a special    These commands get the text of previous shell commands from a special
792  history list, not from the shell buffer itself.  Thus, editing the shell  history list, not from the shell buffer itself.  Thus, editing the shell
793  buffer, or even killing large parts of it, does not affect the history  buffer, or even killing large parts of it, does not affect the history
# Line 1018  subshell, except for the Term escape cha Line 1031  subshell, except for the Term escape cha
1031    To switch between line and char mode, use these commands:    To switch between line and char mode, use these commands:
1032    
1033  @table @kbd  @table @kbd
1034  @kindex C-c C-k @r{(Term mode)}  @kindex C-c C-j @r{(Term mode)}
1035  @findex term-char-mode  @findex term-char-mode
1036  @item C-c C-k  @item C-c C-j
1037  Switch to line mode.  Do nothing if already in line mode.  Switch to line mode.  Do nothing if already in line mode.
1038    
1039  @kindex C-c C-j @r{(Term mode)}  @kindex C-c C-k @r{(Term mode)}
1040  @findex term-line-mode  @findex term-line-mode
1041  @item C-c C-j  @item C-c C-k
1042  Switch to char mode.  Do nothing if already in char mode.  Switch to char mode.  Do nothing if already in char mode.
1043  @end table  @end table
1044    

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26