1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
1. Connection:
==============
1.1 How can I automatically load irssi-xmpp at irssi startup ?
Simply put "load xmpp" in your startup file (~/.irssi/startup):
echo "load xmpp" >> ~/.irssi/startup
1.2 How can I automatically connect to my account at irssi startup ?
You can put these things in your config file (The config file can be
found here : "~/.irssi/config"):
To create a XMPP network, add to chatnets section:
<network> = {
type = "XMPP";
nick = "<jid>";
};
Then you can add this at the end of the servers section:
{
address = "<address>";
port="<port>";
use_ssl = "{yes|no}";
chatnet = "<network>";
password = "<password>";
autoconnect = "{yes|no}";
};
Or in irssi, you can type this:
/SERVER ADD -xmppnet <network> <address> <port> <password> <jid>
If 0 is specified as port, the default port will be used (5222 for a
regular connection or 5223 for SSL).
Now you can connect to your jabber account by typing:
/CONNECT <network>
Or just restart irssi if you have set autoconnect to yes.
1.3 How can I use my gmail/gtalk account ?
You have to use the server "talk.google.com", so the command is:
/XMPPCONNECT -host talk.google.com <jid> <password>
You don't need to specify the -ssl switch because STARTTLS will be
used automatically.
2. General:
===========
2.1 Why the lagmeter is not working ?
The server need to support the XEP-0199 (XMPP Ping). If it doesn't
support it, the lagmeter won't work.
If your server support the XMPP Ping, maybe you didn't add the
composing item in the statusbar. Take a look at the file GENERAL
(section "Composing in the statusbar:).
2.2 How can I be away on all servers (both IRC servers and XMPP
servers) ?
Simply use this command:
/foreach server /away -one <reason>
Or set up an alias like this
/alias aaway /foreach server /away -one
3. Scripting:
=============
3.1 How can I use or write scripts with irssi-xmpp ?
...
3.2 My script seems to be incompatible with irssi-xmpp and throws warnings
such as: Can't locate object method "xxx" via package "Irssi::Xmpp::Server".
How can I get rid of that ?
Basically, it's because the script is IRC-specific and won't work with
an XMPP server. Try to add a condition in the functions of your script
to verify if the server is an IRC server and simply return if it is
not.
4. Themes:
==========
4.1 How can I change the theme of the messages of irssi-xmpp ?
In the same way you can change the theme of the messages of irssi.
Take a look at the source file src/fe-common/module-formats.c to see
the whole list of irssi-xmpp messages.
|