26.7 Running Shell Commands from SXEmacs
SXEmacs has commands for passing single command lines to inferior shell
processes; it can also run a shell interactively with input and output to
an SXEmacs buffer ‘*shell*’.
- M-!
- Run a specified shell command line and display the output
(
shell-command).
- M-|
- Run a specified shell command line 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 SXEmacs buffer.
You can then give commands interactively.
- M-x term
- Run a subshell with input and output through an SXEmacs buffer.
You can then give commands interactively.
Full terminal emulation is available.