From owner-freebsd-current Sun Jan 12 23:51:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA26379 for current-outgoing; Sun, 12 Jan 1997 23:51:23 -0800 (PST) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA26372; Sun, 12 Jan 1997 23:51:19 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id IAA25087; Mon, 13 Jan 1997 08:53:36 +0100 (MET) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.8.3/8.6.9) id IAA05553; Mon, 13 Jan 1997 08:51:53 +0100 (MET) From: Christoph Kukulies Message-Id: <199701130751.IAA05553@gilberto.physik.rwth-aachen.de> Subject: Re: a last word on last In-Reply-To: <199701122118.OAA22215@rocky.mt.sri.com> from Nate Williams at "Jan 12, 97 02:18:14 pm" To: nate@mt.sri.com (Nate Williams) Date: Mon, 13 Jan 1997 08:51:53 +0100 (MET) Cc: kuku@gilberto.physik.rwth-aachen.de, mpp@freefall.freebsd.org, joerg_wunsch@uriah.heep.sax.de, freebsd-current@freefall.freebsd.org Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > > But piping the last command to anything, be it 'more' or 'head' > > > > > gives totally garbled output. Fields contain garbage and seem to be > > > > > shifted by one postition. > > > > I would suggest zeroing out wtmp and seeing what happens. > > > > Well, I zeroed wtmp/utmp several times in the past and the problem > > came back. This may because of the various changes to the wtmp/utmp thing. > > Are you using an older version of xdm or xterm. If they haven't been > recompiled they will create (now bogus) entries. Besides that I think it is a very bad idea that the wtmp/utmp changes affect the X applications (this makes running NFSed/NIS/YP clusters with shared areas for X11 and differing kernels a pain and nearly impossible - and I hope, that there will be a solution for this (libutil) soon ), in my case the effect showed already at the vty level. > > > Nate > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de