From owner-freebsd-current@FreeBSD.ORG Fri Jun 26 19:14:10 2009 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 E483E106564A for ; Fri, 26 Jun 2009 19:14:10 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 82F088FC15 for ; Fri, 26 Jun 2009 19:14:10 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id BDADA1CD00; Fri, 26 Jun 2009 21:14:09 +0200 (CEST) Date: Fri, 26 Jun 2009 21:14:09 +0200 From: Ed Schouten To: Alexey Shuvaev Message-ID: <20090626191409.GF48776@hoeg.nl> References: <20090626182440.GA86360@wep4035.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/5eLEyl+0R32iwm" Content-Disposition: inline In-Reply-To: <20090626182440.GA86360@wep4035.physik.uni-wuerzburg.de> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: FreeBSD Current Subject: Re: Monthly output (ac -p) with new tty? 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: Fri, 26 Jun 2009 19:14:11 -0000 --E/5eLEyl+0R32iwm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Alexey, I'm sending this to the list again, to make sure this information doesn't get lost. * Alexey Shuvaev wrote: > On Fri, Jun 26, 2009 at 07:41:30PM +0200, Ed Schouten wrote: > > Which terminal emulators (or applications that use pseudo-terminals) do > > you use? > >=20 > Stock x11/xterm WITH_WIDE_CHARS :) > And tcsh, if this matters. I've looked at it and it seems like xterm doesn't always terminate login sessions properly. It looks like last(1) then terminates the session when the pseudo-terminal is reused, but ac(1) does not. This means that the sessions were only terminated when you rebooted the system. I took a quick look at it. Maybe I can take care of it one of these days, but I have to mention ac(1) is a buggy piece of code. Various pieces of code look very suspicious. Because I already have some plans for the very far future to completely overhaul our utmp system, hopefully to support utmpx, it may be possible it will not be addressed until then... --=20 Ed Schouten WWW: http://80386.nl/ --E/5eLEyl+0R32iwm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpFHgEACgkQ52SDGA2eCwU7QgCffSI7iXOzg57ZlNBLuAKsN+DO 03oAn0AD8F75A9Q2XOz+KeiIgOsy5EdJ =FOjd -----END PGP SIGNATURE----- --E/5eLEyl+0R32iwm--