From: Jean Louis <bugs@gnu.support>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs help from terminal
Date: Thu, 16 Jun 2022 18:08:10 +0300 [thread overview]
Message-ID: <YqtHWu0VAos0dCIt@protected.localdomain> (raw)
In-Reply-To: <87zgidozil.fsf@dataswamp.org>
* Emanuel Berg <incal@dataswamp.org> [2022-06-16 10:12]:
> Jean Louis wrote:
>
> > When process is suspended, it is paused. Emacs does nothing
> > in background, it has stopped. Its execution has stopped.
> > If there are processes in Emacs they have been paused.
>
> But I don't see why one would want to do that. It's not how
> anything works these days, or for quite some time actually ...
That somehow gives me impression that in this case of shell job
suspension, you start thinking from your habits and assume that every
computer user does the same.
And I have given you quite a real example, that is what I am doing. I
have continous running Emacs processes processing PostgreSQL database
based information and doing marketing for me. It generates queues of
messages in the system. What is my SMS or Internet bundle is exhausted
due to neglect? Maybe I do not want to terminate the process, I wish
to put it on hold, pay for the SMS bundle or Internet and then
continue with the process, that way I avoid some otherwise not yet
programmed but programmatically avoidable events. That is a real world
example. I have such Emacs process running right now. Back in time it
was running all day long and it was invoked by cron. Sometimes I
suspend process from M-x proced, but again, that one is separate from
the used Emacs and it is in GUI. In console I may suspend process
because I want it to pause, until I finish something else.
Same question could be made like why do you suspend watching a movie
or listening to music.
> > This is totally different to invoking a program from within
> > Emacs or from shell within Emacs. I also do not see how
> > suspending process is related to invoking shell in Emacs.
>
> But no one is really doing that manually _at all_ anymore is
> what I'm saying.
Because you think from your own habits in this case. Just because you
did not find use of it, does not mean other users have no use of it.
https://duckduckgo.com/?q=job+control+unix&t=h_&ia=web
I have 4-5 remote servers to manage on my own, when accessing such I
use shell job control. Sometimes clients pay me to enter their remote
server, so I use SSH but do not have option to install any better
tools and sometimes job control is used.
Don't mix halting or pausing of a process with screen or tmux, as they
are just a viewer to process.
They are not related to pausing a process.
Screen for example changes little bit how C-z is invoked, so user has
to do C-a z or C-a C-z in screen to halt a process. You may use screen
and still want to pause the process, I do not see how is screen or
tmux related to halting.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2022-06-16 15:08 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 22:43 Emacs help from terminal carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-14 4:51 ` tomas
2022-06-14 10:11 ` Emanuel Berg
2022-06-14 13:38 ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-14 13:56 ` Samuel Banya
2022-06-14 14:03 ` Emanuel Berg
2022-06-14 13:57 ` tomas
2022-06-14 14:05 ` Emanuel Berg
2022-06-14 14:00 ` Emanuel Berg
2022-06-14 14:13 ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-14 14:37 ` Michael Heerdegen
2022-06-14 21:52 ` Jean Louis
2022-06-14 22:47 ` Emanuel Berg
2022-06-15 5:29 ` Jean Louis
2022-06-15 8:52 ` Emanuel Berg
2022-06-15 17:00 ` Tomas Hlavaty
2022-06-15 17:16 ` Emanuel Berg
2022-06-15 19:55 ` Emanuel Berg
2022-06-15 23:40 ` Tomas Hlavaty
2022-06-15 23:52 ` Emanuel Berg
2022-06-16 5:52 ` Tomas Hlavaty
2022-06-16 7:12 ` Emanuel Berg
2022-06-15 10:22 ` Michael Heerdegen
2022-06-15 10:26 ` Emanuel Berg
2022-06-15 14:06 ` Samuel Banya
2022-06-15 14:15 ` Robert Pluim
2022-06-15 15:16 ` Emanuel Berg
2022-06-15 15:52 ` Samuel Banya
2022-06-15 15:59 ` Emanuel Berg
2022-06-16 7:48 ` Robert Pluim
2022-06-16 14:45 ` Samuel Banya
2022-06-16 5:34 ` Jean Louis
2022-06-16 7:09 ` Emanuel Berg
2022-06-16 15:08 ` Jean Louis [this message]
2022-06-16 17:31 ` Emanuel Berg
2022-06-16 17:36 ` Jean Louis
2022-06-17 18:36 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YqtHWu0VAos0dCIt@protected.localdomain \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).