Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 12:26:41 -0800
From:      Vincent Poy <vincepoy@gmail.com>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        Ed Schouten <ed@80386.nl>, freebsd-current@freebsd.org, freebsd-ports@freebsd.org, cy@freebsd.org
Subject:   Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>. -  ports/sysutils/screen and ports/sysutils/tmux not showing sessions
Message-ID:  <429af92e1002131226p438faaauf56bf14af797a111@mail.gmail.com>
In-Reply-To: <201002090708.o1978sfW089038@cwsys.cwsent.com>
References:  <vincepoy@gmail.com> <429af92e1002081805l629e04c6ub7b85b77a492e22c@mail.gmail.com> <201002090708.o1978sfW089038@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 8, 2010 at 11:08 PM, Cy Schubert <Cy.Schubert@komquats.com>wrote:

> In message <429af92e1002081805l629e04c6ub7b85b77a492e22c@mail.gmail.com>,
> Vince
> nt Poy writes:
> > --000e0cd64914b56e6a047f215889
> > Content-Type: text/plain; charset=ISO-8859-1
>  >
> > Hi Ed:
> >
> > On Mon, Feb 8, 2010 at 12:03 AM, Ed Schouten <ed@80386.nl> wrote:
> >
> > >
> > > * Vincent Poy <vincepoy@gmail.com> wrote:
> > > > It appears that after utmpx.h gone into effect, ports/sysutils/screen
> and
> > > > ports/sysutils/tmux are not working correctly after a updated ports
> tree
> > > and
> > > > building/installing the ports.  What basically happens is the
> screen/tmux
> > > > sessions which basically use tty's don't show up on the system in w,
> who,
> > > > finger.
> > >
> > > I just rebuilt screen and doesn't seem to work indeed. The point is
> that
> > > I wrote a perfectly fine patch for it and sent it to cy@, but he
> > > committed a completely different version to the ports tree. You'd
> better
> > > discuss this regression with him.
> > >
> > > My version did work:
> > >
> > > | (ed@dull) ~ $ tty
> > > | /dev/pts/0
> > > | (ed@dull) ~ $ w
> > > |  9:02AM  up 5 days, 11:02, 1 user, load averages: 0.08, 0.08, 0.03
> > > | USER       TTY      FROM                      LOGIN@  IDLE WHAT
> > > | ed         pts/0    mekker.80386.nl           9:02AM     - w
> > > | (ed@dull) ~ $ screen
> > > | (ed@dull) ~ $ tty
> > > | /dev/pts/2
> > > | (ed@dull) ~ $ w
> > > |  9:03AM  up 5 days, 11:02, 1 user, load averages: 0.05, 0.08, 0.03
> > > | USER       TTY      FROM                      LOGIN@  IDLE WHAT
> > > | ed         pts/2    mekker:S.0                9:03AM     - w
> >
> >
> > Interesting, what's different between the patch you wrote vs the one
> > cy@committed that's currently in the tree?  Sorry about the false tmux
> > alarm, I
> > thought tmux would still show logins on the pty's for the sessions as
> it's
> > supposed to be similar to screen.
>
> Sorry, I managed to lose the patch. Thank goodness for ZFS snapshots. It
> should be working now. Tested on 7, 8, and 9.
>
Thanks Cy for fixing it as it works fine now!

Cheers,
Vince
Vincent Poy, Ph.D. - Astrophysics



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