From owner-freebsd-current Sat Jul 20 21:29:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 013EC37B400 for ; Sat, 20 Jul 2002 21:29:20 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E08FF43E3B for ; Sat, 20 Jul 2002 21:29:18 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id OAA08228; Sun, 21 Jul 2002 14:29:13 +1000 Date: Sun, 21 Jul 2002 14:33:15 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Bakul Shah Cc: current@FreeBSD.ORG Subject: Re: suspend bug In-Reply-To: <200207181933.PAA05510@thunderer.cnchost.com> Message-ID: <20020721141841.H18880-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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