A module for the Irssi IRC client that adds a statusbar item displaying the length of the command sendqueue for the current IRC server.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
item_sendqueue assumes that you compiled Irssi using GLib version 2.0 or greater.
Compile and install like this, replacing /usr/local/src/irssi
with the
path to the Irssi source on your system:
export IRSSI=/usr/local/src/irssi
gcc item_sendqueue.c -Wall -g -o ~/.irssi/modules/libitem_sendqueue.so -shared -I$IRSSI -I$IRSSI/src -I$IRSSI/src/core -I$IRSSI/src/irc/core -I$IRSSI/src/fe-common/core -I$IRSSI/src/fe-text -DHAVE_CONFIG_H `pkg-config --cflags glib-2.0`
In Irssi then do:
/LOAD item_sendqueue
To make Irssi automatically load it
on startup, add the above line to ~/.irssi/startup
.
Use the /STATUSBAR
command to add the sendqueue
item to your statusbar, for example doing:
/STATUSBAR window ADD -after lag sendqueue
The integer setting sendqueue_min_show allows you to specify the mininum queue length to be reahed, before the sendqueue item shows in the statusbar.
Download Irssi item_sendqueue (GnuPG signature)
item_sendqueue is maintained with the GNU arch revision control system, the archive is signed with my GnuPG key.
tla register-archive http://arch.elho.net/pub/elho@elho.net--irssi-item-sendqueue
tla get elho@elho.net--irssi-item-sendqueue/dists--irssi-item-sendqueue irssi-item_sendqueue
cd irssi-item_sendqueue
tla build-config head
tla build-config release-X.Y
Please report any bugs to irssi-item_sendqueue@elho.net.