]> code.delx.au - gnu-emacs/blobdiff - man/misc.texi
(Display Vars): Note that `mode-line-inverse-video' is deprecated.
[gnu-emacs] / man / misc.texi
index 4be159f8c41661c13d4f523f388ce32a9cb42583..b540cae5a6dd1315f746246a26ddf1ef26ceefa7 100644 (file)
@@ -306,8 +306,12 @@ Send an article to a newsgroup.@*
 @cindex shell commands
 
   Emacs has commands for passing single command lines to inferior shell
-processes; it can also run a shell interactively with input and output to
-an Emacs buffer named @samp{*shell*}.
+processes; it can also run a shell interactively with input and output
+to an Emacs buffer named @samp{*shell*} or run s shell inside a terminal
+emulator window.
+
+There is a shell implemented entirely in Emacs, documented in a separate
+manual.  @xref{, ,Eshell , eshell, Eshell: The Emacs Shell}.
 
 @table @kbd
 @item M-! @var{cmd} @key{RET}
@@ -324,6 +328,9 @@ You can then give commands interactively.
 Run a subshell with input and output through an Emacs buffer.
 You can then give commands interactively.
 Full terminal emulation is available.
+@item M-x eshell
+@findex eshell
+Start the Emacs shell.
 @end table
 
 @menu
@@ -580,10 +587,19 @@ pending in the shell buffer and not yet sent.
 
 @item C-c C-o
 @kindex C-c C-o @r{(Shell mode)}
-@findex comint-kill-output
-Kill the last batch of output from a shell command
-(@code{comint-kill-output}).  This is useful if a shell command spews
-out lots of output that just gets in the way.
+@findex comint-delete-output
+Delete the last batch of output from a shell command
+(@code{comint-delete-output}).  This is useful if a shell command spews
+out lots of output that just gets in the way.  This command used to be
+called @code{comint-kill-output}.
+
+@item C-c C-s
+@kindex C-c C-s @r{(Shell mode)}
+@findex comint-write-output
+Write the last batch of output from a shell command to a file
+(@code{comint-write-output}).  With a prefix argument, the file is
+appended to instead.  Any prompt at the end of the output is not
+written.
 
 @item C-c C-r
 @itemx C-M-l