From owner-freebsd-current@FreeBSD.ORG Sat Feb 13 20:26:42 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 B4B931065696; Sat, 13 Feb 2010 20:26:42 +0000 (UTC) (envelope-from vincepoy@gmail.com) Received: from mail-yx0-f191.google.com (mail-yx0-f191.google.com [209.85.210.191]) by mx1.freebsd.org (Postfix) with ESMTP id 43F798FC26; Sat, 13 Feb 2010 20:26:41 +0000 (UTC) Received: by yxe29 with SMTP id 29so3062784yxe.14 for ; Sat, 13 Feb 2010 12:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/Avu/ZzJ+Sj+wXbNpNe8aCAa8D8GH3jDLrl1NpIv4vI=; b=vvcrPUnf38n6JzCEZJiloW9zu60fDJg/71JVSItmcTK84qbM68QufD9PPeqg6wyCuA 6M9rmUeECnyRAxR6yc8MoRN6ngV0lOITv2j2uD2cU92Av4RYZoJ7mVTcFbnuIY3q342T 7bZ02aS7xjGCw5xEGb91eQcWGfA1xTsLX1+9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WqOVzA9cSfXLBmzklTLcnieYVUEuCmMhtnd8NyT+Jb+so0O5WhYUow1kJB8MO6MJm+ MerLzpkLOIKTyFfjFV5VThHE2n6sBQXMJ9QOj06jC3Y0j5FLqkXJcQ28OsQQuP5JIUHY 2SrZ1WLS70frtzkWZgrGNKp9jJN8mR6Hgfdx8= MIME-Version: 1.0 Received: by 10.150.48.33 with SMTP id v33mr5691192ybv.16.1266092801490; Sat, 13 Feb 2010 12:26:41 -0800 (PST) In-Reply-To: <201002090708.o1978sfW089038@cwsys.cwsent.com> References: <429af92e1002081805l629e04c6ub7b85b77a492e22c@mail.gmail.com> <201002090708.o1978sfW089038@cwsys.cwsent.com> Date: Sat, 13 Feb 2010 12:26:41 -0800 Message-ID: <429af92e1002131226p438faaauf56bf14af797a111@mail.gmail.com> From: Vincent Poy To: Cy Schubert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2010 20:26:42 -0000 On Mon, Feb 8, 2010 at 11:08 PM, Cy Schubert 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 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. > Thanks Cy for fixing it as it works fine now! Cheers, Vince Vincent Poy, Ph.D. - Astrophysics