From owner-freebsd-current@FreeBSD.ORG Tue Feb 9 07:23:57 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 006681065670; Tue, 9 Feb 2010 07:23:57 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id B779A8FC17; Tue, 9 Feb 2010 07:23:56 +0000 (UTC) Received: from pd7ml3no-ssvc.prod.shaw.ca ([10.0.153.150]) by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 09 Feb 2010 00:08:55 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=zv1l23T2QaMA:10 a=wAGQQ9Az6v0A:10 a=+J+gTUrb/Bhkr9chPx4Sww==:17 a=pGLkceISAAAA:8 a=BWvPGDcYAAAA:8 a=nwgexdLFHP1bnJCojOMA:9 a=wE-wG8kyCv1h4b1pFbIA:7 a=Xct8wGis-piGp3DDnCR085mXfsoA:4 a=MSl-tDqOz04A:10 a=V7tsTZBp22UA:10 Received: from unknown (HELO spqr.komquats.com) ([24.68.75.245]) by pd7ml3no-dmz.prod.shaw.ca with ESMTP; 09 Feb 2010 00:08:55 -0700 Received: from cwsys.cwsent.com (cwsys [10.1.1.1]) by spqr.komquats.com (Postfix) with ESMTP id EB073410F8; Mon, 8 Feb 2010 23:08:54 -0800 (PST) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.14.3/8.14.3) with ESMTP id o1978sfW089038; Mon, 8 Feb 2010 23:08:54 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201002090708.o1978sfW089038@cwsys.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Vincent Poy In-Reply-To: Message from Vincent Poy of "Mon, 08 Feb 2010 18:05:05 PST." <429af92e1002081805l629e04c6ub7b85b77a492e22c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 08 Feb 2010 23:08:54 -0800 Sender: Cy.Schubert@komquats.com Cc: Ed Schouten , freebsd-current@freebsd.org, freebsd-ports@freebsd.org, cy@freebsd.org Subject: Re: HEADS UP: gone. All welcome . - ports/sysutils/screen and ports/sysutils/tmux not showing sessions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 07:23:57 -0000 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 wrote: > > > > > * Vincent Poy 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. -- Cheers, Cy Schubert