(xemacs.info)Shell


Next: Narrowing Prev: Sorting Up: Top
Enter node , (file) or (file)node

26.7 Running Shell Commands from XEmacs
=======================================

XEmacs has commands for passing single command lines to inferior shell
processes; it can also run a shell interactively with input and output
to an XEmacs 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 XEmacs buffer.
     You can then give commands interactively.

`M-x term'
     Run a subshell with input and output through an XEmacs buffer.
     You can then give commands interactively.  Full terminal emulation
     is available.

Single Shell
How to run one shell command and return.
Interactive Shell
Permanent shell taking input via XEmacs.
Shell Mode
Special XEmacs commands used with permanent shell.
Terminal emulator
An XEmacs window as a terminal emulator.
Term Mode
Special XEmacs commands used in Term mode.
Paging in Term
Paging in the terminal emulator.

automatically generated by info2www version 1.2.2.9