Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2006 17:09:42 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, Brian Somers <brian@freebsd.org>, cvs-all@freebsd.org, Slawa Olhovchenkov <slw@zxy.spb.ru>
Subject:   Re: cvs commit: src/usr.bin/su su.c
Message-ID:  <20060905170942.GA71920@FreeBSD.org>
In-Reply-To: <200609051225.36053.jhb@freebsd.org>
References:  <200601030917.k039H4pC060911@repoman.freebsd.org> <20060903184227.GA6453%slw@zxy.spb.ru> <200609051225.36053.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 05, 2006 at 12:25:35PM -0400, John Baldwin wrote:
> On Sunday 03 September 2006 14:42, Slawa Olhovchenkov wrote:
> > On Tue, Jan 03, 2006 at 09:17:04AM +0000, Brian Somers wrote:
> > 
> > > brian       2006-01-03 09:17:04 UTC
> > > 
> > >   FreeBSD src repository
> > > 
> > >   Modified files:
> > >     usr.bin/su           su.c 
> > >   Log:
> > >   Fix the other su bug reintroduced two commits ago, namely
> > >   
> > >       $ su
> > >       % kill -STOP $$
> > >   
> > >   where su is executing (t)csh.  csh's job handling is a little more
> > >   special than that of (a)sh, bash and even zsh and blows up a little
> > >   more spectacularly.  This modification restores the original mucking
> > >   about with the tty pgrp, but is careful to only do it when su (or
> > >   su's child) is the foreground process.
> > >   
> > >   While I'm here, fix a STDERR_FILENO spelling as suggested by bde.
> > 
> > This is break 'make config' in ports tree:
> > 
> > > make config
> > ===>  Switching to root credentials to create /var/db/ports/glib20
> > ===>  Returning to user credentials
> > 
> > Suspended (tty output)
> 
> I've noticed weirdness where the tty seems to get into a funk where every su
> goes into suspended mode, such that I have to 'fg' and then enter the root
> password.  Then it will keep chugging along until the next su.  This seems
> to imply that the tty state is hosed somehow.

I can say that this "Suspended (tty output)" and requirement to do "fg"
annoys me for several months already (I'm using tcsh(1)).  I've also
noticed that I have to press Enter after every command in ispell(1), but
this fact might not be related (though I'm kinda under impression that
these two situations started to occur after one make kernel/world).

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060905170942.GA71920>