From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: not good proposal: "C-z " reserved for users Date: Mon, 15 Feb 2021 04:12:55 +0000 Message-ID: <877dna6kag.fsf@robertthorpeconsulting.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40110"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, Jean Louis To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 15 05:14:03 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 1lBVGt-000A75-Cg for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 15 Feb 2021 05:14:03 +0100 Original-Received: from localhost ([::1]:52498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBVGs-0005P2-Dt for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 23:14:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBVGX-0005Of-0S for help-gnu-emacs@gnu.org; Sun, 14 Feb 2021 23:13:41 -0500 Original-Received: from outbound-smtp54.blacknight.com ([46.22.136.238]:58035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBVGQ-0000Y9-60 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2021 23:13:39 -0500 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp54.blacknight.com (Postfix) with ESMTPS id A1EEDFA7C0 for ; Mon, 15 Feb 2021 04:13:29 +0000 (GMT) Original-Received: (qmail 24943 invoked from network); 15 Feb 2021 04:13:29 -0000 Original-Received: from unknown (HELO rt-inspiron-3480) (rt@robertthorpeconsulting.com@[51.37.90.145]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 15 Feb 2021 04:13:29 -0000 In-Reply-To: (message from Jean Louis on Sun, 14 Feb 2021 17:29:07 +0300) Received-SPF: pass client-ip=46.22.136.238; envelope-from=rt@robertthorpeconsulting.com; helo=outbound-smtp54.blacknight.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:128070 Archived-At: Jean Louis writes: > * Emanuel Berg via Users list for the GNU Emacs text editor [2021-02-14 16:36]: >> Jean Louis wrote: >> >> >> Of course a terminal multiplexer (read tmux) it is not the >> >> same as job control. It is better, that's why it has >> >> superseded the C-z/fg practice. >> > >> > Does it do job control? >> >> If "it" equals tmux and "do job control" equals invoke the >> shell built-in commands fg and bg - then yes. > > OK so how do you suspend a process in Tmux and unsuspend it? > > What is the equivalent to SIGTSTP or SIGSTOP and what is the > equivalent to SIGCONT? Emmanuel, I agree with Jean Louis about this. A tool that can't stop and restart jobs does not provide all the facilities of shell job control. Tmux and GNU Screen are not full replacements for job control. Having a job in another tab is not the same as stopping it. Job control is very useful in some cases and I expect you'll start using it once you've learned about it. For jobs that consume lots of CPU time those commands are very useful. As are the associated utilities such as kill, top, nice and renice. I suspect that your zsh is capable of job control. I expect one of two things have happened. Either (1) you have accidentally disabled it in your zsh config. Or, (2) it's because you have launched zsh in such a way that it thinks that it's a non-interactive shell. BR, Robert Thorpe