Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?

Liste des GroupesRevenir à cu shell 
Sujet : Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell
Date : 12. May 2024, 01:14:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v1p1kf$2ake7$1@dont-email.me>
References : 1 2
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Sat, 11 May 2024 22:44:03 -0000 (UTC), Christian Weisgerber wrote:

If no job is running, a new job gets 1, otherwise new jobs are numbered
consecutively.

Job numbers are reused after it has notified you of termination of the
previous job. At least in Bash.

I’ve often wondered why shells don’t use poll/select-based event loops.
Then they can notify you of job termination immediately, instead of
waiting for you to press return.

I offer no opinion on this, nor on the Plan 9 assertion that job control
is a poor hack and you should just open another window.

I use job control, I use both tabs and windows in my favourite terminal
emulator (Konsole), and I use screen when SSH’ing to a client’s remote
test server. I have a bunch of containers running on the latter to try out
various things, and each one has its own session within screen.

Date Sujet#  Auteur
11 May 24 * When/why does the shell (bash) (sometimes) not re-cycle job IDs?15Kenny McCormack
12 May 24 `* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?14Christian Weisgerber
12 May 24  +* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?12Lawrence D'Oliveiro
12 May 24  i+- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1vallor
12 May 24  i+* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?6Janis Papanagnou
12 May 24  ii+* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?4Kenny McCormack
12 May 24  iii`* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?3Janis Papanagnou
12 May 24  iii `* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?2Kenny McCormack
13 May 24  iii  `- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Janis Papanagnou
12 May 24  ii`- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Lawrence D'Oliveiro
12 May 24  i+- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Kenny McCormack
12 May 24  i`* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?3Christian Weisgerber
12 May 24  i `* Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?2Lawrence D'Oliveiro
13 May 24  i  `- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Christian Weisgerber
12 May 24  `- Re: When/why does the shell (bash) (sometimes) not re-cycle job IDs?1Kenny McCormack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal