From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh users <zsh-users@sunsite.dk>
Subject: Re: the watch variable
Date: Mon, 15 Dec 2003 18:24:45 +0000 [thread overview]
Message-ID: <1031215182445.ZM13075@candle.brasslantern.com> (raw)
In-Reply-To: <20031214000438.GA3374@atoom.net>
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.
next prev parent reply other threads:[~2003-12-15 18:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-14 0:04 Miek Gieben
2003-12-15 18:24 ` Bart Schaefer [this message]
2003-12-15 18:35 ` Miek Gieben
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1031215182445.ZM13075@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).