🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Rich Salz Mon, 14 Aug 1989 18:32
Dead jobs not flushed?
#465
Author: Rich Salz
Date: Mon, 14 Aug 1989 18:32
28 lines
1325 bytes
It seems that BASH doesn't really free up an internal jobs slot until
I run the "jobs" command.  I have "notify=1" in my .profile.

For example:
    prune 1551: jobs
    [1]+  Stopped             Pnews 
    prune 1552: sleep 1&
    [2] 24842
    prune 1553: [2]-  Done                sleep 1 
##  Wait for first job to finish, then do another one; note the job
##  number assigned is 3, not 2.
    sleep 1&
    [3] 24843
    prune 1554: [3]-  Done                sleep 1 
##  Wait for the second sleep to finish, then see what's there; note
##  the "Done" for an already done job.
    jobs
    [1]+  Stopped             Pnews 
    [3]-  Done                sleep 1 
    prune 1555: sleep 1
    prune 1556: jobs
    [1]+  Stopped             Pnews 
    prune 1557: fg

	/r$
-- 
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.
Dead jobs not flushed?
#466
Author: Brian Fox
Date: Mon, 14 Aug 1989 21:17
39 lines
1679 bytes
   Date: 14 Aug 89 18:32:12 GMT
   From: rsalz@bbn.com  (Rich Salz)
   Organization: BBN Systems and Technologies Corporation
   Sender: bug-bash-request@prep.ai.mit.edu

   It seems that BASH doesn't really free up an internal jobs slot until
   I run the "jobs" command.  I have "notify=1" in my .profile.

   For example:
       prune 1551: jobs
       [1]+  Stopped             Pnews 
       prune 1552: sleep 1&
       [2] 24842
       prune 1553: [2]-  Done                sleep 1 
   ##  Wait for first job to finish, then do another one; note the job
   ##  number assigned is 3, not 2.
       sleep 1&
       [3] 24843
       prune 1554: [3]-  Done                sleep 1 
   ##  Wait for the second sleep to finish, then see what's there; note
   ##  the "Done" for an already done job.
       jobs
       [1]+  Stopped             Pnews 
       [3]-  Done                sleep 1 
       prune 1555: sleep 1
       prune 1556: jobs
       [1]+  Stopped             Pnews 
       prune 1557: fg

	   /r$
   -- 
   Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
   Use a domain-based address or give alternate paths, or you may lose out.

Thanks for the bug report.
Fixed.

Brian
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads