Compile beat.so as above, then add it to any program with LD_PRELOAD=<absolute-path-to-so-file>
, like:
LD_PRELOAD=/home/insom/beat.so irc
(And in irssi
just issue /SET TIMESTAMP_FORMAT {BEAT}
to switch your status bar and timestamp entries to the
One True Internet Time).