help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run multiple shells in Emacs.


From: Hongyi Zhao
Subject: Run multiple shells in Emacs.
Date: Tue, 1 Jun 2021 07:13:30 +0800

What's the preferable way to open multiple shell windows at the same
time in Emacs?

After searching with Google, I find the discussion here:

<https://stackoverflow.com/questions/6532998/how-to-run-multiple-shells-on-emacs>

Basically, there are two types of methods to accomplish this:

1. Write a simple function, just as the one suggested on the above website:

(defun create-shell ()
    "creates a shell with a given name"
    (interactive);; "Prompt\n shell name:")
    (let ((shell-name (read-string "shell name: " nil)))
    (shell (concat "*" shell-name "*"))))

2. Use an Emacs plugin/package, and I've found the following one:
<https://github.com/manateelazycat/aweshell>.

What are the recommended ways to use Emacs based on this kind of technique?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

[Prev in Thread] Current Thread [Next in Thread]