Go to the first, previous, next, last section, table of contents.

18. Shell mode

18.1. How do I start up a second shell buffer?

In the *shell* buffer:

M-x rename-buffer RET *shell-1* RET
M-x shell RET

This will then start a second shell. The key is that no buffer named *shell* can exist. It might be preferable to use M-x rename-uniquely to rename the *shell* buffer instead of M-x rename-buffer.

18.2. I'm using the Emacs M-x shell function, and I would like to invoke and use a telnet session within it. Everything works fine except that now all ^M's are filtered out by Emacs. Fixes?

Use M-x rsh or M-x telnet to open remote sessions rather than doing rsh or telnet within the local shell buffer.


Go to the first, previous, next, last section, table of contents.