[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode to allow eg vi or vim WITHIN *SHELL* -- forgot its name
From: |
Kevin Rodgers |
Subject: |
Re: mode to allow eg vi or vim WITHIN *SHELL* -- forgot its name |
Date: |
Wed, 07 Dec 2005 11:44:31 -0700 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
David Combs wrote:
> What was the name of it? (And where to find it, too?)
The Emacs Manual, of course. From the Shell node:
,----
| Running Shell Commands from Emacs
| =================================
|
| 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 `*shell*' or run a shell inside a terminal
| emulator window.
|
| There is a shell implemented entirely in Emacs, documented in a
| separate manual. *Note Eshell: (eshell)Top.
|
| `M-! CMD <RET>'
| Run the shell command line CMD and display the output
| (`shell-command').
|
| `M-| CMD <RET>'
| Run the shell command line CMD with region contents as input;
| optionally replace the region with the output
| (`shell-command-on-region').
|
| `M-x shell'
| Run a subshell with input and output through an Emacs buffer. You
| can then give commands interactively.
|
| `M-x term'
| Run a subshell with input and output through an Emacs buffer. You
| can then give commands interactively. Full terminal emulation is
| available.
|
| `M-x eshell'
| Start the Emacs shell.
`----
That node's menu has a link to the Terminal Emulator and Term Mode
subnodes, which document M-x term more fully.
--
Kevin Rodgers