https://wiki.archlinux.org/api.php?action=feedcontributions&user=Quantax&feedformat=atomArchWiki - User contributions [en]2024-03-29T08:53:17ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62962Irssi/irssi-otr2009-02-24T10:25:57Z<p>Quantax: Deleted /ALIAS quit section.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Stripping HTML=<br />
<br />
If you are using irssi-otr with [[Bitlbee | BitlBee]] you will notice<br />
that some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that <tt>trigger.pl</tt> is not in<br />
<tt>~/.irssi/scripts/autorun</tt> since the files from this directory<br />
are loaded after <tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
You can <tt>/TRIGGER add</tt> the following lines or copy them to<br />
<tt>~/.irssi/triggers</tt>.<br />
<br />
<pre><br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
</pre><br />
<br />
You can even make HTML line breaks look like multiple messages:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '(\s*&lt;br&gt;\s*)+' -replace '\n�8/<�g�</$N�8/>�g �e' <br />
<br />
Where <tt>�</tt> is the non-printable character <tt>^D</tt>. In vi(m)<br />
you can get it by pressing <tt>Ctrl-v Ctrl-d</tt> in insert mode.<br />
If your are using a theme different than the default one you probably<br />
have to adapt the replacing string to match color and indentation.<br />
<br />
And finally we convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
These are just some basic replaces, just extend them if you need more.<br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62942Irssi/irssi-otr2009-02-23T22:45:15Z<p>Quantax: Added closing sentence :)</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Finishing OTR conversations on /QUIT=<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your<br />
OTR conversations when the module is unloaded. However when you<br />
<tt>/QUIT</tt>, Irssi disconnects from the IRC networks first and<br />
unloads its modules afterwards. Of course this will prevent your OTR<br />
conversations form being finished correctly. To circumvent this you<br />
can define the following alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you are using irssi-otr with [[Bitlbee | BitlBee]] you will notice<br />
that some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that <tt>trigger.pl</tt> is not in<br />
<tt>~/.irssi/scripts/autorun</tt> since the files from this directory<br />
are loaded after <tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
You can <tt>/TRIGGER add</tt> the following lines or copy them to<br />
<tt>~/.irssi/triggers</tt>.<br />
<br />
<pre><br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
</pre><br />
<br />
You can even make HTML line breaks look like multiple messages:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '( *&lt;br&gt; *)+' -replace '\n�8/<�g�</$N�8/>�g �e' <br />
<br />
Where <tt>�</tt> is the non-printable character <tt>^D</tt>. In vi(m)<br />
you can get it by pressing <tt>Ctrl-v Ctrl-d</tt> in insert mode.<br />
If your are using a theme different than the default one you probably<br />
have to adapt the replacing string to match color and indentation.<br />
<br />
And finally we convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
These are just some basic replaces, just extend them if you need more.<br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62941Irssi/irssi-otr2009-02-23T22:38:20Z<p>Quantax: Minor formatting.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Finishing OTR conversations on /QUIT=<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your<br />
OTR conversations when the module is unloaded. However when you<br />
<tt>/QUIT</tt>, Irssi disconnects from the IRC networks first and<br />
unloads its modules afterwards. Of course this will prevent your OTR<br />
conversations form being finished correctly. To circumvent this you<br />
can define the following alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you are using irssi-otr with [[Bitlbee | BitlBee]] you will notice<br />
that some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that <tt>trigger.pl</tt> is not in<br />
<tt>~/.irssi/scripts/autorun</tt> since the files from this directory<br />
are loaded after <tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
You can <tt>/TRIGGER add</tt> the following lines or copy them to<br />
<tt>~/.irssi/triggers</tt>.<br />
<br />
<pre><br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
</pre><br />
<br />
You can even make HTML line breaks look like multiple messages:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '( *&lt;br&gt; *)+' -replace '\n�8/<�g�</$N�8/>�g �e' <br />
<br />
Where <tt>�</tt> is the non-printable character <tt>^D</tt>. In vi(m)<br />
you can get it by pressing <tt>Ctrl-v Ctrl-d</tt> in insert mode.<br />
If your are using a theme different than the default one you probably<br />
have to adapt the replacing string to match color and indentation.<br />
<br />
And finally we convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62806Irssi/irssi-otr2009-02-21T21:10:12Z<p>Quantax: Language.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Finishing OTR conversations on /QUIT=<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your<br />
OTR conversations when the module is unloaded. However when you<br />
<tt>/QUIT</tt>, Irssi disconnects from the IRC networks first and<br />
unloads its modules afterwards. Of course this will prevent your OTR<br />
conversations form being finished correctly. To circumvent this you<br />
can define the following alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you are using irssi-otr with [[Bitlbee | BitlBee]] you will notice<br />
that some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that trigger.pl is not in <tt>~/.irssi/scripts/autorun</tt><br />
since the files from this directory are loaded after<br />
<tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
You can <tt>/TRIGGER add</tt> the following lines or copy them to<br />
<tt>~/.irssi/triggers</tt>.<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
You can even make HTML line breaks look like multiple messages:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '( *&lt;br&gt; *)+' -replace '\n�8/<�g�</$N�8/>�g �e' <br />
<br />
Where <tt>�</tt> is the non-printable character <tt>^D</tt>. In vi(m)<br />
you can get it by pressing <tt>Ctrl-v Ctrl-d</tt> in insert mode.<br />
If your are using a theme different than the default one you probably<br />
have to adapt the replacing string to match color and indentation.<br />
<br />
And finally we convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62805Irssi/irssi-otr2009-02-21T21:00:20Z<p>Quantax: Spelling.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Finishing OTR conversations on /QUIT=<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your<br />
OTR conversations when the module is unloaded. However when you<br />
<tt>/QUIT</tt>, Irssi disconnects from the IRC networks first and<br />
unloads its modules afterwards. Of course this will prevent your OTR<br />
conversations form being finished correctly. To circumvent this you<br />
can define the following alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you use irssi-otr with [[Bitlbee | BitlBee]] you will notice that<br />
some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that trigger.pl is not in <tt>~/.irssi/scripts/autorun</tt><br />
since the files from this directory are loaded after<br />
<tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
You can <tt>/TRIGGER add</tt> the following lines or copy them to<br />
<tt>~/.irssi/triggers</tt>.<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
You can even make HTML line breaks look like multiple messages:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '( *&lt;br&gt; *)+' -replace '\n�8/<�g�</$N�8/>�g �e' <br />
<br />
Where <tt>�</tt> is the non-printable character <tt>^D</tt>. In vi(m)<br />
you can get it by pressing <tt>Ctrl-v Ctrl-d</tt> in insert mode.<br />
If your are using a theme different than the default one you probably<br />
have to adapt the replacing string to match color and indentation.<br />
<br />
And finally we convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62804Irssi/irssi-otr2009-02-21T20:58:22Z<p>Quantax: Extended HTML section.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Finishing OTR conversations on /QUIT=<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your<br />
OTR conversations when the module is unloaded. However when you<br />
<tt>/QUIT</tt>, Irssi disconnects from the IRC networks first and<br />
unloads its modules afterwards. Of course this will prevent your OTR<br />
conversations form being finished correctly. To circumvent this you<br />
can define the following alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you use irssi-otr with [[Bitlbee | BitlBee]] you will notice that<br />
some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that trigger.pl is not in <tt>~/.irssi/scripts/autorun</tt><br />
since the files from this directory are loaded after<br />
<tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
You can <tt>/TRIGGER add</tt> the following lines or copy them to<br />
<tt>~/.irssi/triggers</tt>.<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
You can even make HTML line breaks look like multiple messages:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '( *&lt;br&gt; *)+' -replace '\n�8/<�g�</$N�8/>�g �e' <br />
<br />
Where <tt>�</tt> is the non-printable character <tt>^D</tt>. In vi(m)<br />
you can get it by pressing <tt>Ctrl-v Ctrl-d</tt> in insert mode.<br />
If your are using a theme different from the default one you probably<br />
have to adapt the replacing string to match color and indentation.<br />
<br />
And finally we convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62802Irssi/irssi-otr2009-02-21T20:37:43Z<p>Quantax: A few additions.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Loading the module on startup=<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
=Finishing OTR conversations on /QUIT=<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your<br />
OTR conversations when the module is unloaded. However when you<br />
<tt>/QUIT</tt>, Irssi disconnects from the IRC networks first and<br />
unloads its modules afterwards. Of course this will prevent your OTR<br />
conversations form being finished correctly. To circumvent this you<br />
can define the following alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you use irssi-otr with [[Bitlbee | BitlBee]] you will notice that<br />
some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that trigger.pl is not in <tt>~/.irssi/scripts/autorun</tt><br />
since the files from this directory are loaded after<br />
<tt>~/.irssi/startup</tt>.<br />
<br />
Since it is not possible to perfectly match HTML code with regular<br />
expressions we will take a somewhat conservative approach. We will only<br />
strip HTML tags we explicitly specified from PRIVMSGS from the BitlBee<br />
network, where we assume you added you server.<br />
<br />
/TRIGGER ADD -privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
And finally convert some escaped HTML characters:<br />
<br />
/TRIGGER ADD -privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
/TRIGGER ADD -privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
/TRIGGER ADD -privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
/TRIGGER ADD -privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62801Irssi/irssi-otr2009-02-21T20:21:33Z<p>Quantax: Some minor formatting</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Automatic loading & unloading=<br />
<br />
==Loading the module on startup==<br />
<br />
If you are tired of typing <tt>/LOAD otr</tt> you can put the following<br />
in your <tt>~/.irssi/startup</tt>:<br />
<br />
LOAD otr<br />
<br />
==Finishing conversations on /quit==<br />
<br />
If <tt>otr_finishonunload</tt> is set irssi-otr will finish all your OTR<br />
sessions when the module is unloaded. However when you <tt>/QUIT</tt>,<br />
Irssi disconnects from the IRC networks first and unloads its modules<br />
afterwards. Of course this will prevent your OTR sessions form being<br />
finished correctly. To circumvent this you can define the following<br />
alias:<br />
<br />
/ALIAS quit unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you use irssi-otr with [[Bitlbee | BitlBee]] you will notice that<br />
some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your <tt>~/.irssi/startup</tt> look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that trigger.pl is not in <tt>~/.irssi/scripts/autorun</tt><br />
since the files from this directory are loaded after<br />
<tt>~/.irssi/startup</tt>.<br />
<br />
We will take a somewhat conservative approach. We will only strip HTML<br />
tags we explicitly specified from PRIVMSGS from the BitlBee network,<br />
where we assume you added you server.<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
Finally convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia nowrap spell spelllang=en<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62800Irssi/irssi-otr2009-02-21T20:06:37Z<p>Quantax: Extended article slightly.</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
See the<br />
[http://git.tuxfamily.org/irssiotr/irssiotr.git?p=gitroot/irssiotr/irssiotr.git;a=blob_plain;f=README;hb=HEAD README].<br />
<br />
=Automatic loading & unloading=<br />
<br />
==Loading the module on startup==<br />
<br />
If you are tired of typing /load otr you can put the following in your ~/.irssi/startup:<br />
<br />
LOAD otr<br />
<br />
==Finishing conversations on /quit==<br />
<br />
If otr_finishonunload is set irssi-otr will finish all your OTR sessions<br />
when the module is unloaded. However when you /quit, Irssi disconnects<br />
from the IRC networks first and unloads its modules afterwards. Of course<br />
this will prevent your OTR sessions form being finished correctly.<br />
To circumvent this you can define the following alias:<br />
<br />
/alias QUIT unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you use irssi-otr with [[Bitlbee | BitlBee]] you will notice that<br />
some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module. You can either do this<br />
manually or again make your ~/.irssi/startup look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
Also make sure that trigger.pl is not in ~/.irssi/scripts/autorun since<br />
the files from this directory are loaded after ~/.irssi/startup.<br />
<br />
We will take a somewhat conservative approach. We will only strip HTML<br />
tags we explicitly specified from PRIVMSGS from the BitlBee network,<br />
where we assume you added you server.<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
Finally convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
<!--<br />
vim: filetype=Wikipedia spell<br />
--></div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62797Irssi/irssi-otr2009-02-21T19:32:49Z<p>Quantax: Some content</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=About=<br />
<br />
The [http://irssi-otr.tuxfamily.org/ irssi-otr] module brings<br />
[http://www.cypherpunks.ca/otr/ Off-the-Record Messaging] to your<br />
[http://irssi.org/ favorite IRC client].<br />
<br />
=Installing=<br />
<br />
You can install the Irssi OTR module from the<br />
[http://aur.archlinux.org/packages.php?ID=19488 AUR].<br />
If you like to test bleeding edge software, there is also a<br />
[http://aur.archlinux.org/packages.php?ID=23366 Git version].<br />
<br />
=Usage=<br />
<br />
An example session ;)<br />
<br />
/load otr<br />
/query someone ?OTR?<br />
Encypted message!<br />
/otr finish<br />
/unload otr<br />
<br />
=Automatic loading & unloading=<br />
<br />
==Loading the module on startup==<br />
<br />
LOAD otr<br />
<br />
==Finishing conversations on /quit==<br />
<br />
/alias QUIT unload otr; quit<br />
<br />
=Stripping HTML=<br />
<br />
If you use irssi-otr with [[Bitlbee | BitlBee]] you will notice that<br />
some clients send you HTML formatted messages. Normally BitlBee<br />
automatically strips the HTML formatting, but since the messages are<br />
encrypted this doesn't work anymore. Nevertheless you can achieve<br />
the same by stripping the HTML with regular expressions using the<br />
[http://wouter.coekaerts.be/site/irssi/trigger Trigger script]. Just make<br />
sure you load the script before the otr module either manually or make<br />
your ~/.irssi/startup look like this:<br />
<br />
SCRIPT LOAD trigger.pl<br />
LOAD otr<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '</?(a|b|body|div|em|font|i|s|u)( +\w+=".*?")*>' -replace '' <br />
<br />
Finally convert some escaped HTML characters:<br />
<br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;amp;' -replace '&' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;gt;' -replace '>' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;lt;' -replace '<' <br />
-privmsgs -nocase -tags 'BitlBee' -regexp '&amp;quot;' -replace '"' <br />
<br />
blafoo</div>Quantaxhttps://wiki.archlinux.org/index.php?title=Irssi/irssi-otr&diff=62791Irssi/irssi-otr2009-02-21T18:40:33Z<p>Quantax: Initial article skeleton</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
<br />
=About OTR=<br />
=Installing=<br />
=Automatic loading & unloading=<br />
=Stripping HTML=</div>Quantaxhttps://wiki.archlinux.org/index.php?title=Bitlbee&diff=27913Bitlbee2007-08-19T15:35:02Z<p>Quantax: /* cleanup */</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
= About =<br />
<br />
Bitlbee is a "console-based IRC to IM chatting gateway, including ICQ/MSN/Jabber". Basically, it allows the user to interact with popular chat networks (ICQ, MSN, Jabber, AIM, YIM) within their IRC client.<br />
<br />
The users' buddies appear as normal IRC users in a channel and conversations use the private message facility of IRC.<br />
<br />
<br />
= Setup =<br />
<br />
First, download and install the package using pacman:<br />
<br />
# pacman -S bitlbee<br />
<br />
<br />
Bitlbee currently does not run on a daemon of its own; rather, it uses xinetd. The installation created a file: <code>/etc/xinetd.d/bitlbee</code><br />
<br />
We need to edit this because at the moment xinetd doesn't know you want to use bitlbee. Open <code>/etc/xinetd.d/bitlbee</code> in your preferred text editor and tell it not disable bitlbee:<br />
<br />
disable = no<br />
<br />
<br />
Finally, you need to allow the loopback interface in <code>/etc/hosts.allow</code>, add this line:<br />
<br />
bitlbee: 127.0.0.1<br />
<br />
= Start Up =<br />
<br />
To get things up and running we must start xinetd. As root, run:<br />
# /etc/rc.d/xinetd start<br />
(replacing 'start' with 'restart' if xinetd was already running, you'd know if it was)<br />
<br />
This will need to be started every time you boot your machine. You can either do this manually (by running the above command after each boot) or have it started automatically by adding 'xinetd' to the DAEMONS array in <code>/etc/rc.conf</code>:<br />
DAEMONS=(syslog-ng network alsa esd '''xinetd''')<br />
<br />
<br />
= Configuration =<br />
Now that xinetd is running your computer is acting as a bitlbee server. You are now able to connect to this in an IRC client. To connect, just connect to your machine in an IRC client:<br />
/connect 127.0.0.1<br />
<br />
Hopefully this will connect and you should immediately join a channel called '&bitlbee'. When you join this channel it will tell to type 'Help' if you're new... type 'Help' ;)<br />
<br />
I won't bother repeating what the help section of bitlbee says. There are some great guides online too:<br />
<br />
http://quark.humbug.org.au/publications/internet/bitlbee.pdf<br />
<br />
http://princessleia.com/bitlbee.php<br />
<br />
<br />
= How to connect to Jabber using your Gmail account =<br />
In your control channel do the following:<br />
account add jabber username@gmail.com mypasswd talk.google.com:5223:ssl<br />
<br />
After root responds with "Account successfully added" you can check your accounts with "account list".<br />
<br />
<@user> account list <br />
<@root> 0. JABBER, username@gmail.com (connected) <br />
<@root> End of account list<br />
<br />
After you have added the account, type "account on 0" and it should log in:<br />
<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting <br />
<@root> JABBER(username@gmail.com) - Logging in: Connected <br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating <br />
<@root> JABBER(username@gmail.com) - Logged in<br />
<br />
If you get errors like the following:<br />
<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting<br />
<@root> JABBER(username@gmail.com) - Logging in: Connected<br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating<br />
<@root> JABBER(username@gmail.com) - Login error: Error 403: Unknown error<br />
<@root> JABBER(username@gmail.com) - Signing off...<br />
<br />
Switching the domain from "gmail.com" to "googlemail.com" may help.<br />
This seems to be the case for some European countries, especially Germany where Google doesn't own the trademark for the name ''Gmail'' [http://www.theregister.co.uk/2007/01/31/google_looses_trademark_battle/].<br />
<br />
The easiest way to change your account settings is to simply delete the account you created and add it again.<br />
account del 0<br />
account add jabber username@googlemail.com mypasswd talk.google.com:5223:ssl<br />
<br />
If you are still unable to connect, try switching the port to 5222. For some reason some people must connect on 5223 while others have to connect on 5222. There appears to be no way to know which one to use other than trial and error.</div>Quantaxhttps://wiki.archlinux.org/index.php?title=Bitlbee&diff=27912Bitlbee2007-08-19T15:32:10Z<p>Quantax: /* I'm sure I clicked on "Show preview" not on "Save page" :( */</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
= About =<br />
<br />
Bitlbee is a "console-based IRC to IM chatting gateway, including ICQ/MSN/Jabber". Basically, it allows the user to interact with popular chat networks (ICQ, MSN, Jabber, AIM, YIM) within their IRC client.<br />
<br />
The users' buddies appear as normal IRC users in a channel and conversations use the private message facility of IRC.<br />
<br />
<br />
= Setup =<br />
<br />
First, download and install the package using pacman:<br />
<br />
# pacman -S bitlbee<br />
<br />
<br />
Bitlbee currently does not run on a daemon of its own; rather, it uses xinetd. The installation created a file: <code>/etc/xinetd.d/bitlbee</code><br />
<br />
We need to edit this because at the moment xinetd doesn't know you want to use bitlbee. Open <code>/etc/xinetd.d/bitlbee</code> in your preferred text editor and tell it not disable bitlbee:<br />
<br />
disable = no<br />
<br />
<br />
Finally, you need to allow the loopback interface in <code>/etc/hosts.allow</code>, add this line:<br />
<br />
bitlbee: 127.0.0.1<br />
<br />
= Start Up =<br />
<br />
To get things up and running we must start xinetd. As root, run:<br />
# /etc/rc.d/xinetd start<br />
(replacing 'start' with 'restart' if xinetd was already running, you'd know if it was)<br />
<br />
This will need to be started every time you boot your machine. You can either do this manually (by running the above command after each boot) or have it started automatically by adding 'xinetd' to the DAEMONS array in <code>/etc/rc.conf</code>:<br />
DAEMONS=(syslog-ng network alsa esd '''xinetd''')<br />
<br />
<br />
= Configuration =<br />
Now that xinetd is running your computer is acting as a bitlbee server. You are now able to connect to this in an IRC client. To connect, just connect to your machine in an IRC client:<br />
/connect 127.0.0.1<br />
<br />
Hopefully this will connect and you should immediately join a channel called '&bitlbee'. When you join this channel it will tell to type 'Help' if you're new... type 'Help' ;)<br />
<br />
I won't bother repeating what the help section of bitlbee says. There are some great guides online too:<br />
<br />
http://quark.humbug.org.au/publications/internet/bitlbee.pdf<br />
<br />
http://princessleia.com/bitlbee.php<br />
<br />
<br />
= How to connect to Jabber using your Gmail account =<br />
In your control channel do the following:<br />
account add jabber username@gmail.com mypasswd talk.google.com:5223:ssl<br />
<br />
After root responds with "Account successfully added" you can check your accounts with "account list".<br />
<br />
<@user> account list <br />
<@root> 0. JABBER, username@gmail.com (connected) <br />
<@root> End of account list<br />
<br />
After you have added the account, type "account on 0" and it should log in:<br />
<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting <br />
<@root> JABBER(username@gmail.com) - Logging in: Connected <br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating <br />
<@root> JABBER(username@gmail.com) - Logged in<br />
<br />
If you get errors like the following:<br />
<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting<br />
<@root> JABBER(username@gmail.com) - Logging in: Connected<br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating<br />
<@root> JABBER(username@gmail.com) - Login error: Error 403: Unknown error<br />
<@root> JABBER(username@gmail.com) - Signing off...<br />
<br />
Switching the domain from "gmail.com" to "googlemail.com" may help.<br />
This seems to be the case for some European countries, especially Germany where Google doesn't own the trademark for the name ''Gmail'' [http://www.theregister.co.uk/2007/01/31/google_looses_trademark_battle/].<br />
<br />
The easiest way to change your account settings is to simply delete the account you created and add it again.<br />
account del 0<br />
account add jabber username@googlemail.com mypasswd talk.google.com:5223:ssl<br />
<br />
If you are still unable to connect, try switching the port to 5222. For some reason some people must connect on 5223 while others have to connect on 5222. There appears to be no way to know which one to use other than trial and error. Change your port settings as described above (using "account del" and "account add").</div>Quantaxhttps://wiki.archlinux.org/index.php?title=Bitlbee&diff=27911Bitlbee2007-08-19T15:18:23Z<p>Quantax: /* How to connect to jabber using your gmail account */</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
= About =<br />
<br />
Bitlbee is a "console-based IRC to IM chatting gateway, including ICQ/MSN/Jabber". Basically, it allows the user to interact with popular chat networks (ICQ, MSN, Jabber, AIM, YIM) within their IRC client.<br />
<br />
The users' buddies appear as normal IRC users in a channel and conversations use the private message facility of IRC.<br />
<br />
<br />
= Setup =<br />
<br />
First, download and install the package using pacman:<br />
<br />
# pacman -S bitlbee<br />
<br />
<br />
Bitlbee currently does not run on a daemon of its own; rather, it uses xinetd. The installation created a file: <code>/etc/xinetd.d/bitlbee</code><br />
<br />
We need to edit this because at the moment xinetd doesn't know you want to use bitlbee. Open <code>/etc/xinetd.d/bitlbee</code> in your preferred text editor and tell it not disable bitlbee:<br />
<br />
disable = no<br />
<br />
<br />
Finally, you need to allow the loopback interface in <code>/etc/hosts.allow</code>, add this line:<br />
<br />
bitlbee: 127.0.0.1<br />
<br />
= Start Up =<br />
<br />
To get things up and running we must start xinetd. As root, run:<br />
# /etc/rc.d/xinetd start<br />
(replacing 'start' with 'restart' if xinetd was already running, you'd know if it was)<br />
<br />
This will need to be started every time you boot your machine. You can either do this manually (by running the above command after each boot) or have it started automatically by adding 'xinetd' to the DAEMONS array in <code>/etc/rc.conf</code>:<br />
DAEMONS=(syslog-ng network alsa esd '''xinetd''')<br />
<br />
<br />
= Configuration =<br />
Now that xinetd is running your computer is acting as a bitlbee server. You are now able to connect to this in an IRC client. To connect, just connect to your machine in an IRC client:<br />
/connect 127.0.0.1<br />
<br />
Hopefully this will connect and you should immediately join a channel called '&bitlbee'. When you join this channel it will tell to type 'Help' if you're new... type 'Help' ;)<br />
<br />
I won't bother repeating what the help section of bitlbee says. There are some great guides online too:<br />
<br />
http://quark.humbug.org.au/publications/internet/bitlbee.pdf<br />
<br />
http://princessleia.com/bitlbee.php<br />
<br />
<br />
= How to connect to jabber using your gmail account =<br />
In your control channel do the following:<br />
<@user> account add jabber username@gmail.com mypasswd talk.google.com:5223:ssl<br />
<br />
After root responds with “Account successfully added,” you can check your accounts with ‘account list’.<br />
<br />
<@user> account list <br />
<@root> 0. JABBER, username@gmail.com (connected) <br />
<@root> End of account list<br />
<br />
After you have added the account, type ‘account 0 on’ and it should log in:<br />
<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting <br />
<@root> JABBER(username@gmail.com) - Logging in: Connected <br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating <br />
<@root> JABBER(username@gmail.com) - Logged in<br />
<br />
If you get errors like the following:<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting<br />
<@root> JABBER(username@gmail.com) - Logging in: Connected<br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating<br />
<@root> JABBER(username@gmail.com) - Login error: Error 403: Unknown error<br />
<@root> JABBER(username@gmail.com) - Signing off..<br />
Switching the domain from "gmail.com" to "googlemail.com" may help.<br />
This seems to be the case for some European countries, especially Germany where Google doesn't own the trademark for the name ''Gmail'' [http://www.theregister.co.uk/2007/01/31/google_looses_trademark_battle/].<br />
<br />
So, use the this command instead:<br />
account add jabber username@googlemail.com mypasswd talk.google.com:5223:ssl<br />
<br />
If you are still unable to connect, try switching the port to 5222. For some reason some people must connect on 5223 and others must connect on 5222. There appears to be no way to know which one to use other than trial and error. The easiest way to change the port number is to simply delete the account you created (’account del 0′) and add it again.</div>Quantaxhttps://wiki.archlinux.org/index.php?title=Bitlbee&diff=27910Bitlbee2007-08-19T15:00:57Z<p>Quantax: /* added some info for european googlemail users */</p>
<hr />
<div>[[Category:Internet and Email (English)]]<br />
[[Category:HOWTOs (English)]]<br />
= About =<br />
<br />
Bitlbee is a "console-based IRC to IM chatting gateway, including ICQ/MSN/Jabber". Basically, it allows the user to interact with popular chat networks (ICQ, MSN, Jabber, AIM, YIM) within their IRC client.<br />
<br />
The users' buddies appear as normal IRC users in a channel and conversations use the private message facility of IRC.<br />
<br />
<br />
= Setup =<br />
<br />
First, download and install the package using pacman:<br />
<br />
# pacman -S bitlbee<br />
<br />
<br />
Bitlbee currently does not run on a daemon of its own; rather, it uses xinetd. The installation created a file: <code>/etc/xinetd.d/bitlbee</code><br />
<br />
We need to edit this because at the moment xinetd doesn't know you want to use bitlbee. Open <code>/etc/xinetd.d/bitlbee</code> in your preferred text editor and tell it not disable bitlbee:<br />
<br />
disable = no<br />
<br />
<br />
Finally, you need to allow the loopback interface in <code>/etc/hosts.allow</code>, add this line:<br />
<br />
bitlbee: 127.0.0.1<br />
<br />
= Start Up =<br />
<br />
To get things up and running we must start xinetd. As root, run:<br />
# /etc/rc.d/xinetd start<br />
(replacing 'start' with 'restart' if xinetd was already running, you'd know if it was)<br />
<br />
This will need to be started every time you boot your machine. You can either do this manually (by running the above command after each boot) or have it started automatically by adding 'xinetd' to the DAEMONS array in <code>/etc/rc.conf</code>:<br />
DAEMONS=(syslog-ng network alsa esd '''xinetd''')<br />
<br />
<br />
= Configuration =<br />
Now that xinetd is running your computer is acting as a bitlbee server. You are now able to connect to this in an IRC client. To connect, just connect to your machine in an IRC client:<br />
/connect 127.0.0.1<br />
<br />
Hopefully this will connect and you should immediately join a channel called '&bitlbee'. When you join this channel it will tell to type 'Help' if you're new... type 'Help' ;)<br />
<br />
I won't bother repeating what the help section of bitlbee says. There are some great guides online too:<br />
<br />
http://quark.humbug.org.au/publications/internet/bitlbee.pdf<br />
<br />
http://princessleia.com/bitlbee.php<br />
<br />
<br />
= How to connect to jabber using your gmail account =<br />
In your control channel do the following:<br />
<@user> account add jabber username@gmail.com mypasswd talk.google.com:5223:ssl<br />
<br />
After root responds with “Account successfully added,” you can check your accounts with ‘account list’.<br />
<br />
<@user> account list <br />
<@root> 0. JABBER, username@gmail.com (connected) <br />
<@root> End of account list<br />
<br />
After you have added the account, type ‘account 0 on’ and it should log in:<br />
<br />
<@user> account on 0 <br />
<@root> JABBER - Logging in: Connecting <br />
<@root> JABBER - Logging in: Connected <br />
<@root> JABBER - Logging in: Requesting Authentication Method<br />
<@root> JABBER - Logging in: Authenticating <br />
<@root> JABBER - Logged in<br />
<br />
If you are unable to connect, try switching the port to 5222. For some reason some people must connect on 5223 and others must connect on 5222. There appears to be no way to know which one to use other than trial and error. The easiest way to change the port number is to simply delete the account you created (’account del 0′) and add it again.<br />
<br />
<br />
If you get errors like the following:<br />
<@user> account on 0 <br />
<@root> JABBER(username@gmail.com) - Logging in: Connecting<br />
<@root> JABBER(username@gmail.com) - Logging in: Connected<br />
<@root> JABBER(username@gmail.com) - Logging in: Requesting Authentication Method<br />
<@root> JABBER(username@gmail.com) - Logging in: Authenticating<br />
<@root> JABBER(username@gmail.com) - Login error: Error 403: Unknown error<br />
<@root> JABBER(username@gmail.com) - Signing off..<br />
Switching from username@gmail.com to username@googlemail.com may help.<br />
This seems to work for some European Google Talk users.</div>Quantax