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

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

Re: not good proposal: "C-z <letter>" reserved for users


From: Robert Thorpe
Subject: Re: not good proposal: "C-z <letter>" reserved for users
Date: Mon, 15 Feb 2021 04:12:55 +0000

Jean Louis <bugs@gnu.support> writes:

> * Emanuel Berg via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org> [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



reply via email to

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