From owner-freebsd-current Sat Dec 7 13:49:37 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA11812 for current-outgoing; Sat, 7 Dec 1996 13:49:37 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA11807 for ; Sat, 7 Dec 1996 13:49:34 -0800 (PST) Received: by sovcom.kiae.su id AA25036 (5.65.kiae-1 ); Sun, 8 Dec 1996 00:24:46 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Sun, 8 Dec 96 00:24:46 +0300 Received: from localhost (ache@nagual.ru [127.0.0.1]) by nagual.ru (8.8.4/8.8.4) with SMTP id AAA00312; Sun, 8 Dec 1996 00:12:25 +0300 (MSK) Date: Sun, 8 Dec 1996 00:12:24 +0300 (MSK) From: =?KOI8-R?Q?Andrey_Chernov=2C_=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= To: Vincent Poy Cc: Joerg Wunsch , FreeBSD-current users Subject: Re: last in -current In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 7 Dec 1996, Vincent Poy wrote: > On Sat, 7 Dec 1996, J Wunsch wrote: > > > As Veggy Vinny wrote: > > > > > Also, another problem with -current is last doesn't work > > > correctly... > > > > > > 34.98.181 erin207. $^*t^ttyp2 Wed Dec 31 16:00 still logged > > > in > > > > Have you rebuilt last(1) after the recent utmp.h changes? > > Yes I did and the problem was top, screen also had to be rebuilt > and the /var/tmp/wtmp file had to be deleted for everything to work > correctly. adduser still handles up to 8 characters max for usernames. > So I would agree with you about the last should be backwards compatible. You can't determine new or old format you parse. There is no version field in utmp record. So, you can't do anything in the 'last'. -- Andrey A. Chernov http://www.nagual.ru/~ache/