From owner-freebsd-current@FreeBSD.ORG Tue Feb 9 02:05:07 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 641F7106568B; Tue, 9 Feb 2010 02:05:07 +0000 (UTC) (envelope-from vincepoy@gmail.com) Received: from mail-yx0-f199.google.com (mail-yx0-f199.google.com [209.85.210.199]) by mx1.freebsd.org (Postfix) with ESMTP id EB2EC8FC15; Tue, 9 Feb 2010 02:05:06 +0000 (UTC) Received: by yxe37 with SMTP id 37so2684445yxe.27 for ; Mon, 08 Feb 2010 18:05:06 -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=LqmhJ+eoQo9Hi/tYdh+9/gHuZRRmlZ6zv529koANmz8=; b=ReqfRbY1HtSuv//bhVERh5jxjba+JedZmrqXt6dhibld1PzSkzu1rm9odPslNNMXdT qLXADrLjqfxESnWwljpk+6R6PPey5HXvzQfmL0mDlzReoNogCiEImQT0BryU/wz8udDW PwiNA78F+zJgXa7bm/phJ5+Qju0FAssiXfQGQ= 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=L2foeSG5rw+LVF1x6gTME8p6B/e7szF/x0XKfBxzykBCV4IG0e0Zs97P+vs8wSxuWB cAv57AHYhHAbO0DJ5JXf5PxvxKqTTZqxM7rkXT8gcgs+VqiSEAsu7mNRvv18GrYUGXMe X8p47Yk6wlPdfo0cup1wWWoca7ZJNXDKWwaFQ= MIME-Version: 1.0 Received: by 10.150.251.5 with SMTP id y5mr10140187ybh.48.1265681105775; Mon, 08 Feb 2010 18:05:05 -0800 (PST) In-Reply-To: <20100208080347.GS77705@hoeg.nl> References: <429af92e1002071626p56b44b54l530070e02348098f@mail.gmail.com> <20100208080347.GS77705@hoeg.nl> Date: Mon, 8 Feb 2010 18:05:05 -0800 Message-ID: <429af92e1002081805l629e04c6ub7b85b77a492e22c@mail.gmail.com> From: Vincent Poy To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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: Tue, 09 Feb 2010 02:05:07 -0000 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. Cheers, Vince Vincent Poy, Ph.D. - Astrophysics