Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 10:38:27 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-current@freebsd.org
Subject:   Re: Signals/jobs weirdness?
Message-ID:  <aiqtb3$m8q$1@kemoauc.mips.inka.de>
References:  <aipjlf$51b$1@kemoauc.mips.inka.de> <Pine.BSF.4.21.0208061828020.65715-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@elischer.org> wrote:

> > ktracing bash shows that no SIGCONT is ever sent to the foreground
> > job.
> 
> are you tracing the shell or the child?

Both, i.e. ktrace -i.

It's a bash problem.

$ less IrcLog
...
^Z
[1]+  Stopped                 less IrcLog
$ jobs
[1]+  Running                 less IrcLog &

Somehow, stopped jobs are marked as running in bash's bookkeeping.
I'm currently digging around in bash (jobs.c) to figure out where
and why this happens.

It doesn't happen on ref5 with a bash built there.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aiqtb3$m8q$1>