Re: (Buglet) job numbers do not get re-used (sometimes)

Greg Wooledge <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <[email protected]>
On Sat, Aug 15, 2026 at 15:55:44 +0200, Andreas Schwab wrote:
> On Aug 15 2026, Stan Marsh wrote:
> 
> > is that when you then create a new job, it may not get the lowest available job number.
> 
> Why is that a problem?

His workflow involves typing "fg %1" and expecting that to bring him
back to the specific job that he had as %1, which might now be %4.

I really do recommend that he look into migrating his workflow to a
terminal multiplexer.  The screen equivalent (without rebinding keys)
of fg %1 would be Ctrl-A 0.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.