From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21854 invoked from network); 15 Dec 2003 18:25:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Dec 2003 18:25:00 -0000 Received: (qmail 4385 invoked by alias); 15 Dec 2003 18:24:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6895 Received: (qmail 4337 invoked from network); 15 Dec 2003 18:24:47 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 15 Dec 2003 18:24:47 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [4.11.8.53] by sunsite.dk (MessageWall 1.0.8) with SMTP; 15 Dec 2003 18:24:47 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id hBFIOjK13076 for zsh-users@sunsite.dk; Mon, 15 Dec 2003 10:24:45 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1031215182445.ZM13075@candle.brasslantern.com> Date: Mon, 15 Dec 2003 18:24:45 +0000 In-Reply-To: <20031214000438.GA3374@atoom.net> Comments: In reply to Miek Gieben "the watch variable" (Dec 14, 1:04am) References: <20031214000438.GA3374@atoom.net> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh users Subject: Re: the watch variable MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 14, 1:04am, Miek Gieben wrote: } } WATCHFMT='At %T %n has %a from %M.' } watch=( notme ) } } And I notice that the login times are correct, i.e. it is the time } that the person actually logged in. But the log off times are wrong. } I'm seeing the current time in stead of the actual time someone logged } off. } } Is this a bug? No, though I suppose you could call it a misfeature. Zsh only examines the most recent 50 records when determining login/out times, because searching the entire wtmp file would take far too long. So if there's a lot of activity on the system, the record for the person in question may have been pushed beyond 50-record region, and zsh falls back to the current time. If that doesn't seem to explain what you're seeing, let zsh-workers know.