From owner-freebsd-stable Sat Apr 4 23:18:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA05879 for freebsd-stable-outgoing; Sat, 4 Apr 1998 23:18:51 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ns.frihet.com (root@frihet.bayarea.net [205.219.92.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA05814; Sat, 4 Apr 1998 23:17:51 -0800 (PST) (envelope-from tweten@ns.frihet.com) Received: from ns.frihet.com (tweten@localhost.frihet.com [127.0.0.1]) by ns.frihet.com (8.8.8/8.8.8) with ESMTP id XAA01331; Sat, 4 Apr 1998 23:17:49 -0800 (PST) (envelope-from tweten@ns.frihet.com) Message-Id: <199804050717.XAA01331@ns.frihet.com> X-Mailer: exmh version 2.0.2 2/24/98 To: ports@FreeBSD.ORG, stable@FreeBSD.ORG Subject: 2.2.6, utmp, wtmp, and xterm From: "David E. Tweten" Date: Sat, 04 Apr 1998 23:17:48 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk I first noticed this in 2.2.6-BETA, unfortunately not until after the release. I've since confirmed it with -stable from just a few days ago. The problem's most likely in XFree86 3.3.2, but I can't be sure since I no longer have any machines that run anything before XFree86 3.3.2 and post-2.2.6 FreeBSD. I'm hoping this question will save me having to debug xterm. The presenting symptom is who(1) lists pseudo-terminals as active that are long since gone. I populate most xterms with a login shell. It only happens with ptys that have been used by xterm. Rlogind ptys are okay; so are vtys. Both /var/run/utmp and /var/log/wtmp claim any pty that ever supported an xterm is still logged in. Run a last(1) on my machine, and you'll see the only way an xterm ever gets terminated is by "shutdown". Of course, that's not true. They terminate quite nicely, requiring only that "logout" be typed at csh. Explicitly setting xterm*utmpInhibit: false in my .Xresources file changed nothing, so it doesn't seem to be a problem external to xterm. Does this look familiar to anyone, or should I start debugging xterm? I couldn't find anything about this at the FreeBSD archives (particularly in the gnats search). Any help would be appreciated. -- David E. Tweten | 2047-bit PGP fingerprint: | tweten@frihet.com 12141 Atrium Drive | E9 59 E7 5C 6B 88 B8 90 | tweten@and.com Saratoga, CA 95070-3162 | 65 30 2A A4 A0 BC 49 AE | (408) 446-4131 Those who make good products sell products; those who don't, sell solutions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message