Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 23:35:54 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        FreeBSD current users <current@FreeBSD.ORG>
Cc:        Bakul Shah <bakul@bitblocks.com>
Subject:   Re: suspend bug
Message-ID:  <Pine.BSF.4.21.0207202312100.95019-100000@InterJet.elischer.org>
In-Reply-To: <20020721141841.H18880-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 21 Jul 2002, Bruce Evans wrote:

> 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.

umm.. you do?
julian@jules:csh
julian@jules:su 
Password:
jules# stop $$

Suspended (signal)
julian@jules:fg
su
jules# exit
julian@jules: ps
[...]
 760  p6  Ss     0:00.04 csh
 762  p6  S      0:00.03 csh
julian@jules:exit
julian@jules:


where would you expect to see something different from what I'm seeing?

(obviously a POST KSE-III kernel.. upto and including peter's 
proc/UMA additions)

> >
> > 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.

or csh on my system for that matter

> - 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.

probably some breakage in your local systemm
doesn't happen here. Unless it's jhb's ktrace changes (I don;t know if I
have them.. probably do.

> 
> > 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
> 


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?Pine.BSF.4.21.0207202312100.95019-100000>