Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 14:33:15 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: suspend bug
Message-ID:  <20020721141841.H18880-100000@gamplex.bde.org>
In-Reply-To: <200207181933.PAA05510@thunderer.cnchost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Jul 2002, Bakul Shah wrote:

> Try this:
>
> $ csh
> % su
> Password:
> % stop $$
>
> Suspended (signal)
> %fg
>
> At which point you will lose you login shell.
>
> Prior to KSE one could switch between an su'ed shell and a
> normal shell at will by using stop $$ and fg.

Some more details:
- this happens for csh but not for bash-1.
- ktracing everything shows further strange behaviour.  ktrace causes a
  kernel printf "Out of ktrace request objects.".  The login shell is
  not lost immediately.  You get a shell prompt, but at least tty echo is
  broken, and hitting return a few times causes all the shells to exit.

> Is this breakage considered a bug or a feature?

Bug.

Bruce


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?20020721141841.H18880-100000>