Subject: File::Tail is broken on NetBSD -current FFS
To: current-users <current-users@netbsd.org>
From: Charlie Allom <charlie@eatyourpets.com>
List: current-users
Date: 05/05/2002 00:21:01
--aLoBmnU9yDA5+fs1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've come across this a while back on -release. Thought I'd just let
people know in case they are interested in fixing it, or at least
explaining to me why it may do this:

Install Time-HiRes-01.20.tar.gz as it is a dependency for File::Tail.
  http://www.cpan.org/authors/id/D/DE/DEWEG/Time-HiRes-01.20.tar.gz

Install File-Tail-0.98.tar.gz
  http://www.cpan.org/authors/id/M/MG/MGRABNAR/File-Tail-0.98.tar.gz

Run the ./logwatch file in that directory.

Or even something this simple:

  use File::Tail;
  $file=3DFile::Tail->new("/var/log/messages");
  while (defined($line=3D$file->read)) {
      print "$line";
  }


Watch your top usage. Here's mine:

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
 4760 yeled     57    0  2256K 3264K RUN        0:09 95.58% 34.67% perl

Annoying isn't it.

For the record:
247 yeled@vulcanised[~/File-Tail-0.98]% uname -a
NetBSD vulcanised.adc.rmit.edu.au 1.5ZC NetBSD 1.5ZC (VULCANISED) #2:
Thu Apr 18 20:10:22 EST 2002
root@vulcanised.adc.rmit.edu.au:/usr/src/current/src/sys/arch/macppc/compil=
e/VULCANISED
macppc


  C.
--=20
 charlie@eatyourpets.com
 http://eatyourpets.com/yeled/pgp.txt
 FC8B 8727 8E82 5242 358C  8FC0 AA26 43C2 14AA 7941

--aLoBmnU9yDA5+fs1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE80+5NqiZDwhSqeUERAk1wAJ9FRBiy1T8lYTTkqMkmkyKf16WXzACfWo5c
PAlSk/KCwvc9tAm6+9Norw4=
=hZ72
-----END PGP SIGNATURE-----

--aLoBmnU9yDA5+fs1--