comparison man/misc.texi @ 33382:fe183c1fbf56

xref eshell
author Dave Love <fx@gnu.org>
date Fri, 10 Nov 2000 18:57:30 +0000
parents 6fcf803fe8c5
children fd06a4e20d87
comparison
equal deleted inserted replaced
33381:026d2f64b0c3 33382:fe183c1fbf56
304 @section Running Shell Commands from Emacs 304 @section Running Shell Commands from Emacs
305 @cindex subshell 305 @cindex subshell
306 @cindex shell commands 306 @cindex shell commands
307 307
308 Emacs has commands for passing single command lines to inferior shell 308 Emacs has commands for passing single command lines to inferior shell
309 processes; it can also run a shell interactively with input and output to 309 processes; it can also run a shell interactively with input and output
310 an Emacs buffer named @samp{*shell*}. 310 to an Emacs buffer named @samp{*shell*} or run s shell inside a terminal
311 emulator window.
312
313 There is a shell implemented entirely in Emacs, documented in a separate
314 manual. @xref{, ,Eshell , eshell, Eshell: The Emacs Shell}.
311 315
312 @table @kbd 316 @table @kbd
313 @item M-! @var{cmd} @key{RET} 317 @item M-! @var{cmd} @key{RET}
314 Run the shell command line @var{cmd} and display the output 318 Run the shell command line @var{cmd} and display the output
315 (@code{shell-command}). 319 (@code{shell-command}).
322 You can then give commands interactively. 326 You can then give commands interactively.
323 @item M-x term 327 @item M-x term
324 Run a subshell with input and output through an Emacs buffer. 328 Run a subshell with input and output through an Emacs buffer.
325 You can then give commands interactively. 329 You can then give commands interactively.
326 Full terminal emulation is available. 330 Full terminal emulation is available.
331 @item M-x eshell
332 @findex eshell
333 Start the Emacs shell.
327 @end table 334 @end table
328 335
329 @menu 336 @menu
330 * Single Shell:: How to run one shell command and return. 337 * Single Shell:: How to run one shell command and return.
331 * Interactive Shell:: Permanent shell taking input via Emacs. 338 * Interactive Shell:: Permanent shell taking input via Emacs.