This version of the page http://gonzo.kiev.ua/?page_id=138 (0.0.0.0) stored by archive.org.ua. It represents a snapshot of the page as of 2011-01-12. The original page over time could change.
Irssi jabber plugin - Oleksandr Tymoshenko’s blog

Irssi jabber plugin

Simple Irssi plugin which gives groupchat functionality for Irssi
Latest version: 0.1.3
Download: here, sources: here
See README for more info

It took almost 5 years :)
12 Apr 2009, v0.1.3 released:
– Style reworked and major cleanup
– Add -ssl and -port parameters to jjoin command
– Use Encode module instead of Unicode/Utf8

1 Comment so far

  1. Kelt on November 14th, 2008

    Thanks for this script! I was going to have to hunt down a crapload of dependencies for the irssi-xmpp plugin (CVS checkout version supports MUC) and after 30 minutes of installing loudmouth crap on my etch Debian box I decided to give your script a try.

    Hey, I had to add a CHARSET=”latin1″; in sub convertFromUTF8. I also added a “ssl” => 1 for the Jabber::Net and changed the port to 5223 instead of 5222.

    Once I did those three things every worked for me.
    ……..
    my $ucs2_string = $u->ucs2;
    $CHARSET=”latin1″;
    my $map = Unicode::Map8->new(“$CHARSET”);
    if (! defined $map) {
    die “Failed to create Unicode::Map8 object with ‘$CHARSET’ charset”;
    ……..

    Here is a diff if you’re interested:
    kdocki@kagome ~ $ diff irssi-plugin/gc-0.1.2/gc.pl .irssi/scripts/gc.pl
    172c172
    5222; # Port to connect to

    > use constant PORT => 5223; # Port to connect to
    184c184,185
    new();

    > print $server;
    > $connection = Net::Jabber::Client->new();
    186c187,188
    PORT )

    > “port” => 5223,
    > “ssl” => 1)
    391c393
    $CHARSET=”latin1″;

Leave a Reply