From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Run multiple shells in Emacs. Date: Wed, 2 Jun 2021 08:52:53 +0800 Message-ID: References: <87pmx6cws0.fsf@telefonica.net> <8735u2gten.fsf@disroot.org> <86mts9u8yf.fsf@x201.reltub.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38483"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , help-gnu-emacs , Abhiseck Paira To: Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 02:53:43 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loF8h-0009mo-Ku for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 02:53:43 +0200 Original-Received: from localhost ([::1]:40950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loF8g-0001go-KX for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Jun 2021 20:53:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loF8B-0001fI-2a for help-gnu-emacs@gnu.org; Tue, 01 Jun 2021 20:53:11 -0400 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:46934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loF88-0004zt-3w for help-gnu-emacs@gnu.org; Tue, 01 Jun 2021 20:53:10 -0400 Original-Received: by mail-lf1-x12a.google.com with SMTP id i9so562111lfe.13 for ; Tue, 01 Jun 2021 17:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=snhZonnDd0XiifNEjImZRNLP3OtCg85gMbecDkQrqEo=; b=laxEdngLOzbojLs71iFeu7rvGswAMogB+U/8kEKpujWDtqrWgvNAr5/yMEn8MGPylx APziJzICMosxBmBU/dzCWHLfaZPs7Llhq5r9u5HHWpgEUz4yQyvTwc2RuEf1EfN31v1G 85/zoNecfQ64rRKsTqk7W52ZVrOnl7tU7P3GE7f3Uw5rbFSLILzZKu75SV+FdZlhGqpx yJjkikZPvyeeKqB9aNdmArxFAt0k47U5CqJ+NOOpI3+EuLMomPWeYeDRapbPlS4QZgLs tiXw8xU9agFXxwbMJBVaY5s1PWQEtRplRgWLInlwU06Fn9cnsYuHLFvV89fyH96KRR5L 2vCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=snhZonnDd0XiifNEjImZRNLP3OtCg85gMbecDkQrqEo=; b=iJJ2fH0MwqmNVPvBEn+Wm2iagGzL3a5pfiI+8sIv3C8lV/kYTRb1YQ9O1bb3l+vjXO Iff1+7u3NShIkbBuewX4IayEXkRAgOl+gy3m/EIz3By9h4MGIam61DuuBrEtXQtQshjq 6KfVP9sJ7ZWWRyJceCvNaBYA943MgehM8AmXfZFjpliiZbdjU482oQ0YD5+yWWSXRt38 NZx/AS2VByJyq9M/ty0h4shLGXSI32n39VPwOKxP1lqRVTpvnexLj+pmI6MxktTQeewh AK3Ag8lS/zXir4hRZsWvK75qG0+mnAc73QmXbeZ/koHJwrVCiBGzSnm3oqYYZsdi1bD1 QnMw== X-Gm-Message-State: AOAM530U/HoHxwq8of+RGzpZ+yEDPbc3JMn/CdZc2ny5jOkFHq3Ix8ro ypjjpXJXhkyTklx/gFxQa22XF7vB01nKaKYjV18= X-Google-Smtp-Source: ABdhPJxMF5lqjek7OC53tGQXcAr/smyiFhzbrQoES+7mxZKMWYgH325RVv1T4BTNMQrpvA+Ib7Afnnp3Gdm4/VsatKk= X-Received: by 2002:a05:6512:3f9a:: with SMTP id x26mr21780065lfa.75.1622595185448; Tue, 01 Jun 2021 17:53:05 -0700 (PDT) In-Reply-To: <86mts9u8yf.fsf@x201.reltub.ca> Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x12a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130481 Archived-At: On Tue, Jun 1, 2021 at 7:21 PM Leo Butler wrote: > > Abhiseck Paira writes: > > >> I want to use Emacs as an advanced terminal multiplexer similar to > >> tmux. Now, I find the method described here: > >> . > >> Any hints/comments/suggestions will be highly appreciated. > > > > When I first started using Emacs, I wanted to recreate tmux+terminal > > workflow with Emacs. So I tried to use *shell* and found it inadequate > > because I tried to run TUI (not CLI) applications and it would complain > > that terminal wasn't fully operational. Also if I use *term* then I > > don't get to use the Emacs keybindings. > > Not quite. In *term*, one can switch `modes' between char and line entry. One lets > you interact with the terminal as if in a *shell* buffer. This is super > handy. This is exactly one of the wonderful features I pursue. HY > > Leo -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China