Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

I'll burn my books. -- Christopher Marlowe


comp / comp.unix.shell / [OT] PIDs for Linux threads (was Re: pid ranges)

SubjectAuthor
* (bash) How (really!) does the "current job" get determined?Kenny McCormack
`* Re: (bash) How (really!) does the "current job" get determined?Kaz Kylheku
 `* Re: (bash) How (really!) does the "current job" get determined?Kenny McCormack
  `* Re: (bash) How (really!) does the "current job" get determined?Kaz Kylheku
   +* Expand your mind (Was: (bash) How (really!) does the "current job" get determineKenny McCormack
   |`- Re: Expand your mind (Was: (bash) How (really!) does the "current job" get deterKaz Kylheku
   `* Re: (bash) How (really!) does the "current job" get determined?Christian Weisgerber
    `* Re: (bash) How (really!) does the "current job" get determined?Janis Papanagnou
     `* Re: (bash) How (really!) does the "current job" get determined?Christian Weisgerber
      +* Re: (bash) How (really!) does the "current job" get determined?Kaz Kylheku
      |`- Re: (bash) How (really!) does the "current job" get determined?Kaz Kylheku
      +- Re: (bash) How (really!) does the "current job" get determined?Keith Thompson
      +* Re: (bash) How (really!) does the "current job" get determined?Kenny McCormack
      |+* Re: (bash) How (really!) does the "current job" get determined?Christian Weisgerber
      ||`* pid ranges (Was: (bash) How (really!) does the "current job" get determined?)Kenny McCormack
      || `* Re: pid ranges (Was: (bash) How (really!) does the "current job" get determined?Janis Papanagnou
      ||  +- Re: pid ranges (Was: (bash) How (really!) does the "current job" get determined?marrgol
      ||  `* Re: pid ranges (Was: (bash) How (really!) does the "current job" get determined?Kenny McCormack
      ||   `* Re: pid ranges (Was: (bash) How (really!) does the "current job" get determined?Janis Papanagnou
      ||    `* Re: pid rangesRichard Kettlewell
      ||     `* [OT] PIDs for Linux threads (was Re: pid ranges)Janis Papanagnou
      ||      +- Re: [OT] PIDs for Linux threads (was Re: pid ranges)Kenny McCormack
      ||      +- Re: [OT] PIDs for Linux threads (was Re: pid ranges)Lew Pitcher
      ||      `- Re: PIDs for Linux threads (was Re: pid ranges)Lawrence D'Oliveiro
      |`- Re: (bash) How (really!) does the "current job" get determined?Kaz Kylheku
      +* Re: (bash) How (really!) does the "current job" get determined?Janis Papanagnou
      |`* Re: (bash) How (really!) does the "current job" get determined?Kenny McCormack
      | `* Re: (bash) How (really!) does the "current job" get determined?Janis Papanagnou
      |  `* bash/ksh differences (fg and other job control commands) (Was: (bash) How (reallKenny McCormack
      |   `- Re: bash/ksh differences (fg and other job control commands) (Was: (bash) How (rJanis Papanagnou
      +- Re: (bash) How (really!) does the "current job" get determined?Helmut Waitzmann
      +- Re: (bash) How (really!) does the "current job" get determined?Richard Harnden
      `- Re: (bash) How (really!) does the "current job" get determined?Kaz Kylheku

Pages:12
Subject: [OT] PIDs for Linux threads (was Re: pid ranges)
From: Janis Papanagnou
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Mon, 7 Oct 2024 16:29 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: [OT] PIDs for Linux threads (was Re: pid ranges)
Date: Mon, 7 Oct 2024 18:29:00 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ve128d$1pf02$1@dont-email.me>
References: <vdn864$2p69n$1@news.xmission.com>
<slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de>
<vdrs2u$2rdb7$1@news.xmission.com> <vdviph$1io9a$1@dont-email.me>
<ve0i46$2tnuv$2@news.xmission.com> <ve0kva$1nhff$1@dont-email.me>
<wwv4j5ovy2g.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 07 Oct 2024 18:29:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f00d5b6e2ae7099040d0a40c8d585b3d";
logging-data="1883138"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VlhK3/pZWBJTciIBuZ1OB"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:hxp+0Qu2QFy3G8hzT5m31ZgchH4=
In-Reply-To: <wwv4j5ovy2g.fsf@LkoBDZeT.terraraq.uk>
X-Enigmail-Draft-Status: N1110
View all headers

[ This is getting off-topic, sorry. ]

On 07.10.2024 15:31, Richard Kettlewell wrote:
>
> _On Linux_ process IDs and thread IDs share the same number space which
> changes the picture quite a bit: [...]

This is interesting.
Since processes are handled by the OS kernel what does that imply...?
A common process/thread interface in Linux?
Is that defined by POSIX threads, or is it something specific?

Is there any good link to read more about that?

(My thread times have long passed; I used it from C++, and there were
a lot of things to consider when programming with threads back then.)

Janis

Subject: Re: [OT] PIDs for Linux threads (was Re: pid ranges)
From: Kenny McCormack
Newsgroups: comp.unix.shell
Organization: The official candy of the new Millennium
Date: Mon, 7 Oct 2024 16:41 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: Re: [OT] PIDs for Linux threads (was Re: pid ranges)
Date: Mon, 7 Oct 2024 16:41:49 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <ve130d$2tuv0$1@news.xmission.com>
References: <vdn864$2p69n$1@news.xmission.com> <ve0kva$1nhff$1@dont-email.me> <wwv4j5ovy2g.fsf@LkoBDZeT.terraraq.uk> <ve128d$1pf02$1@dont-email.me>
Injection-Date: Mon, 7 Oct 2024 16:41:49 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3079136"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
View all headers

In article <ve128d$1pf02$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>[ This is getting off-topic, sorry. ]
>
>On 07.10.2024 15:31, Richard Kettlewell wrote:
>>
>> _On Linux_ process IDs and thread IDs share the same number space which
>> changes the picture quite a bit: [...]
>
>This is interesting.
>Since processes are handled by the OS kernel what does that imply...?
>A common process/thread interface in Linux?
>Is that defined by POSIX threads, or is it something specific?
>
>Is there any good link to read more about that?

"man clone" is a good starting place.

In Linux, threads are almost the same thing as processes. Obviously, there
are differences, but basically, that is true. Both are created via clone(2).
(fork() is implemented on top of clone()).

--
> No, I haven't, that's why I'm asking questions. If you won't help me,
> why don't you just go find your lost manhood elsewhere.

CLC in a nutshell.

Subject: Re: [OT] PIDs for Linux threads (was Re: pid ranges)
From: Lew Pitcher
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Mon, 7 Oct 2024 16:47 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitcher@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.unix.shell
Subject: Re: [OT] PIDs for Linux threads (was Re: pid ranges)
Date: Mon, 7 Oct 2024 16:47:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <ve13au$1no07$1@dont-email.me>
References: <vdn864$2p69n$1@news.xmission.com>
<slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de>
<vdrs2u$2rdb7$1@news.xmission.com> <vdviph$1io9a$1@dont-email.me>
<ve0i46$2tnuv$2@news.xmission.com> <ve0kva$1nhff$1@dont-email.me>
<wwv4j5ovy2g.fsf@LkoBDZeT.terraraq.uk> <ve128d$1pf02$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 07 Oct 2024 18:47:26 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3e14acaea9ed6b0734ae9de423718147";
logging-data="1826823"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18s1u5P4s9OSvmJ3AFR919i8hGLt9aOJm8="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:eOq31Z/8boNfmN7gwK4VQgcDmLE=
View all headers

On Mon, 07 Oct 2024 18:29:00 +0200, Janis Papanagnou wrote:

> [ This is getting off-topic, sorry. ]
>
> On 07.10.2024 15:31, Richard Kettlewell wrote:
>>
>> _On Linux_ process IDs and thread IDs share the same number space which
>> changes the picture quite a bit: [...]
>
> This is interesting.
> Since processes are handled by the OS kernel what does that imply...?
> A common process/thread interface in Linux?

Exactly.
In the early 2000's, the Linux kernel moved to supporting 1:1 threads,
and provided the NPTL ("Native Posix Threading Library") to provide the
POSIX application-level API to this new kernel capability.

> Is that defined by POSIX threads, or is it something specific?

It is how Linux implements the kernel-level responsibilities of POSIX
threads.

> Is there any good link to read more about that?

Plenty. Google "NPTL and Linux"

> (My thread times have long passed; I used it from C++, and there were
> a lot of things to consider when programming with threads back then.)
>
> Janis

--
Lew Pitcher
"In Skills We Trust"

Subject: Re: (bash) How (really!) does the "current job" get determined?
From: Helmut Waitzmann
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Mon, 7 Oct 2024 17:26 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nn.throttle@xoxy.net (Helmut Waitzmann)
Newsgroups: comp.unix.shell
Subject: Re: (bash) How (really!) does the "current job" get determined?
Date: Mon, 07 Oct 2024 19:26:22 +0200
Organization: A noiseless patient Spider
Lines: 23
Sender: Helmut Waitzmann <12f7e638@mail.de>
Message-ID: <837cajx1s1.fsf@helmutwaitzmann.news.arcor.de>
References: <vdn864$2p69n$1@news.xmission.com>
<20241003170607.397@kylheku.com> <vdopmn$2ptf8$1@news.xmission.com>
<20241004070133.515@kylheku.com>
<slrnvg0alc.1le3.naddy@lorvorc.mips.inka.de>
<vdpgf0$bchi$1@dont-email.me>
<slrnvg0s5f.1qk1.naddy@lorvorc.mips.inka.de>
Reply-To: Helmut Waitzmann Anti-Spam-Ticket.b.qc3c <oe.throttle@xoxy.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Injection-Date: Mon, 07 Oct 2024 19:29:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="28b53b9b7692c972ca5696d9038b8db8";
logging-data="1901274"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PVwVyLLRRQ3K32G12SzAFEttWkmQ8THs="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:pkz9TQUTuj1RAhVVje1vNyyqBhs=
sha1:8ZFlR8nblEj6U7FPsEFZF0LZEo4=
Mail-Reply-To: Helmut Waitzmann Anti-Spam-Ticket.b.qc3c <oe.throttle@xoxy.net>
Mail-Copies-To: nobody
View all headers

Christian Weisgerber <naddy@mips.inka.de>:

> That said, here's something I stumbled across recently:
>
>
> background job &
> ...
> kill %1 # clean up
>
> What happens if the background job has already terminated on its
> own accord before we reach the kill(1)? Not much, because with job
> control, the shell knows that no such job exists. If you do this
> with "kill $!", you signal that PID, which no longer refers to the
> intended process and may in fact have been reused for a different
> process.
>

In order for the pid "$!" to have been reused for a different
process the shell would have needed call "wait()" (or
"waitpid()") beforehand.  (Otherwise the terminated process would
remain a zombie (i.e. an unwaited) process.)  Does the shell even
call "wait()" or "waitpid()" if given the "set" option "+b"?

Subject: Re: PIDs for Linux threads (was Re: pid ranges)
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Mon, 7 Oct 2024 20:23 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell
Subject: Re: PIDs for Linux threads (was Re: pid ranges)
Date: Mon, 7 Oct 2024 20:23:17 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <ve1fvl$1rd13$3@dont-email.me>
References: <vdn864$2p69n$1@news.xmission.com>
<slrnvg2nc2.2dut.naddy@lorvorc.mips.inka.de>
<vdrs2u$2rdb7$1@news.xmission.com> <vdviph$1io9a$1@dont-email.me>
<ve0i46$2tnuv$2@news.xmission.com> <ve0kva$1nhff$1@dont-email.me>
<wwv4j5ovy2g.fsf@LkoBDZeT.terraraq.uk> <ve128d$1pf02$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 07 Oct 2024 22:23:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7b8f76882c2a47de8eae1b7c16ac24d2";
logging-data="1946659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Vteh5ssX4vcoNEYv5SZuU"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:EAtYQtjgzVptwNZYuyj6cE6+ZzI=
View all headers

On Mon, 7 Oct 2024 18:29:00 +0200, Janis Papanagnou wrote:

> Since processes are handled by the OS kernel what does that imply...?
> A common process/thread interface in Linux?

Both fork(2) and POSIX thread creation are essentially wrappers around the
underlying Linux-specific clone(2) call.

<https://manpages.debian.org/2/clone.2.en.html>

You’ll notice there are a lot more options in there besides creating pure
POSIX-style processes and pure POSIX-style threads.

Subject: Re: (bash) How (really!) does the "current job" get determined?
From: Richard Harnden
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Mon, 7 Oct 2024 22:32 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: richard.nospam@gmail.invalid (Richard Harnden)
Newsgroups: comp.unix.shell
Subject: Re: (bash) How (really!) does the "current job" get determined?
Date: Mon, 7 Oct 2024 23:32:58 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <ve1niq$1rv6h$1@dont-email.me>
References: <vdn864$2p69n$1@news.xmission.com>
<20241003170607.397@kylheku.com> <vdopmn$2ptf8$1@news.xmission.com>
<20241004070133.515@kylheku.com> <slrnvg0alc.1le3.naddy@lorvorc.mips.inka.de>
<vdpgf0$bchi$1@dont-email.me> <slrnvg0s5f.1qk1.naddy@lorvorc.mips.inka.de>
Reply-To: nospam.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 08 Oct 2024 00:32:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8bb286fd09b0a599a6d4b791f7896b74";
logging-data="1965265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189ONMd52FCpUWRW32ccy13nauaRsJMoF0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1A2DLWQq+wmBo/YmaxBZjHo/fAM=
In-Reply-To: <slrnvg0s5f.1qk1.naddy@lorvorc.mips.inka.de>
Content-Language: en-GB
View all headers

On 04/10/2024 23:48, Christian Weisgerber wrote:
>
> I'm curious myself. That said, here's something I stumbled across
> recently:
>
> background job &
> ...
> kill %1 # clean up
>
> What happens if the background job has already terminated on its
> own accord before we reach the kill(1)? Not much, because with job
> control, the shell knows that no such job exists. If you do this
> with "kill $!", you signal that PID, which no longer refers to the
> intended process and may in fact have been reused for a different
> process.
>

There would have to be a very long time in your '...' part for a pid to
get reused. I guess you could ps | grep and check the command name is
what you expect.

You can 'kill -0 <pid>' (or %<job>) for 'could I signal <pid>', rather
that actually sending a signal - it returns non-zero if it can't.

If the job finishes before you wait then the process is gone, ie not
zombied, so ksh/bash must keep track of the wait status. The job is also
gone, so only wait <pid> will get you the correct exit status.

Subject: Re: (bash) How (really!) does the "current job" get determined?
From: Kaz Kylheku
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Tue, 8 Oct 2024 17:37 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.shell
Subject: Re: (bash) How (really!) does the "current job" get determined?
Date: Tue, 8 Oct 2024 17:37:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <20241008101759.180@kylheku.com>
References: <vdn864$2p69n$1@news.xmission.com>
<20241003170607.397@kylheku.com> <vdopmn$2ptf8$1@news.xmission.com>
<20241004070133.515@kylheku.com>
<slrnvg0alc.1le3.naddy@lorvorc.mips.inka.de> <vdpgf0$bchi$1@dont-email.me>
<slrnvg0s5f.1qk1.naddy@lorvorc.mips.inka.de>
Injection-Date: Tue, 08 Oct 2024 19:37:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="803b188bb69054d691f903fac8e36e85";
logging-data="2386758"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sFCKrE4eAVebgmQvfp2gFm7dUNsIxtDk="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:byPe0mD2kEantTRau4uZfhtyQuo=
View all headers

On 2024-10-04, Christian Weisgerber <naddy@mips.inka.de> wrote:
> What happens if the background job has already terminated on its
> own accord before we reach the kill(1)? Not much, because with job
> control, the shell knows that no such job exists.

In Unix, when a child process terminates, it does not go away. The parent
process has to call one of the wait functions like waitpid in order to "reap"
that process. It can be notified of children in this state asynchronously via
the SIGCHLD signal.

The problem of PIDs suddenly disappearing and being recycled behind the parent
process' back does not exist in the operating system.

We can imagine a shell which does nothing when a child coprocess launched with
& terminates spontaneously, so that the script /must/ use the wait command.

In that shell, the process ID of that child will remain reliably available
until that wait.

Only if the shell reaps terminated coprocesses behind the script's back, so to
speak, do you have the reuse problem.

What does POSIX say? Something between those two alternatives:

When an element of an asynchronous list (the portion of the list ended
by an <ampersand>, such as command1, above) is started by the shell, the
process ID of the last command in the asynchronous list element shall
become known in the current shell execution environment; see Shell
Execution Environment. This process ID shall remain known until:

The command terminates and the application waits for the process ID.

Another asynchronous list is invoked before "$!" (corresponding to
the previous asynchronous list) is expanded in the current execution
environment.

The implementation need not retain more than the {CHILD_MAX} most
recent entries in its list of known process IDs in the current shell
execution environment.

It's seems as if what POSIX is saying is that scripts which fire off
asynchronous jobs one after another receive automatic clean up.
A script which does not refer to the $! variable from one ampersand
job, before firing off more ampersand jobs, will not clog the system
with uncollected zombie processes. But a script which does reference $!
after launching an ampersand job (before launching another one) will not
have that process cleaned up behind its back: it takes on the responsibility
for doing the wait which recycles the PID.

Anyway, that's what I'd like to believe that the quoted passage means.

> If you do this
> with "kill $!", you signal that PID, which no longer refers to the
> intended process and may in fact have been reused for a different
> process.

At the system call level, that's not what kill means. It means to
pass a certain signal (fatal or not, catchable or not) to the process.
Even if the signal is uncatchable and fatal, kill deos not mean
"make the target process disappear, so that its PID may be reused".

The waitpid system call will do that (in the situation when the process
is a zombie, and so subsequently the returned status indicates that
it exited, and with what exit code or on what signal).

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: (bash) How (really!) does the "current job" get determined?
From: Kaz Kylheku
Newsgroups: comp.unix.shell
Organization: A noiseless patient Spider
Date: Thu, 10 Oct 2024 19:15 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.shell
Subject: Re: (bash) How (really!) does the "current job" get determined?
Date: Thu, 10 Oct 2024 19:15:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <20241010121454.762@kylheku.com>
References: <vdn864$2p69n$1@news.xmission.com>
<20241003170607.397@kylheku.com> <vdopmn$2ptf8$1@news.xmission.com>
<20241004070133.515@kylheku.com>
<slrnvg0alc.1le3.naddy@lorvorc.mips.inka.de> <vdpgf0$bchi$1@dont-email.me>
<slrnvg0s5f.1qk1.naddy@lorvorc.mips.inka.de>
<20241004191825.824@kylheku.com>
Injection-Date: Thu, 10 Oct 2024 21:15:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fd525c31a89e53d177e6d80cbe5a279b";
logging-data="3447717"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19J0FAuqhN2phyJVgTUvJqrpvnnkiUXjlE="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:1felE+XLTVxu1VF1mAtURuZjOuA=
View all headers

On 2024-10-05, Kaz Kylheku <643-408-1753@kylheku.com> wrote:
> On 2024-10-04, Christian Weisgerber <naddy@mips.inka.de> wrote:
>> On 2024-10-04, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>>
>>>>> What? Scripting should not go anywhere near POSIX job control, which is
>>>>> an interactive feature that requires a terminal session.
>>>>
>>>> Well, there _is_ set -m.
>>>
>>> And how will that devaluate what Kaz has said? Please elaborate.
>>
>> Job control does not require an interactive shell or a terminal
>> session.
>>
>> It can be used in scripting. That's the facts.
>
> An example of what you mean would help.

*crickets*

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Pages:12

rocksolid light 0.9.8
clearnet tor