mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
s/ircnet/network/ - patch by Joost Vunderink
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3270 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d9cc888daa
commit
ab3ba54ab4
15 changed files with 114 additions and 93 deletions
|
|
@ -6,7 +6,7 @@ IRC networks. It can also automatically send the password when
|
|||
manually joining to channel without specifying the password.
|
||||
|
||||
/CHANNEL ADD [-auto | -noauto] [-bots <masks>] [-botcmd <command>]
|
||||
<channel> <ircnet> [<password>]
|
||||
<channel> <network> [<password>]
|
||||
|
||||
With -bots and -botcmd arguments you can automatically send
|
||||
commands to someone in channel. This is useful for automatically
|
||||
|
|
@ -23,7 +23,7 @@ for example bots, just give the -bots "" parameters to it. Password
|
|||
can be removed by setting it to - (or actually, "" works too).
|
||||
|
||||
You can remove the channels with
|
||||
/CHANNEL REMOVE <channel> <ircnet>
|
||||
/CHANNEL REMOVE <channel> <network>
|
||||
|
||||
/CHANNEL LIST displays list of channels with settings.
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
-ssl_verify: Verify servers SSL certificate
|
||||
-ssl_cafile: File with list of CA certificates (implies -ssl_verify)
|
||||
-ssl_capath: Directory with CA certificates (implies -ssl_verify)
|
||||
-ircnet: the IRCNet
|
||||
-network: the network this connection belongs to
|
||||
-ircnet: Same as -network. Deprecated. Do not use.
|
||||
-host: the host
|
||||
-!: don't autojoin channels
|
||||
-rawlog: immediately open rawlog after connected
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
from Finland, but also anyone sending message
|
||||
"tofinnishnick: blahblah".
|
||||
-except: *DON'T* ignore - overrides an existing ignore.
|
||||
-ircnet: Ignore only on this ircnet.
|
||||
-network: Ignore only on this network.
|
||||
-ircnet: Same as -network. Deprecated. Do not use.
|
||||
-channels: Ignore only in channels
|
||||
<mask>: Either a nick mask or list of channels
|
||||
<levels>: List of levels to ignore. You can use -<level> to remove levels
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
-ssl_capath: Directory with CA certificates (implies -ssl_verify)
|
||||
-auto: Automatically connect to server at startup (default)
|
||||
-noauto: Don't connect to server at startup
|
||||
-ircnet: Specify what IRC network this server belongs to
|
||||
-network: Specify what IRC network this server belongs to
|
||||
-ircnet: Same as -network. Deprecated. Do not use
|
||||
-host: Specify what host name to use, if you have multiple
|
||||
-!: don't autojoin channels
|
||||
-cmdspeed: Same as /SET cmd_queue_speed, see section 3.1
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@
|
|||
|
||||
Servers are referenced by a "server tag". If the server is known
|
||||
to belong to some IRC network, the tag is the IRC network's name,
|
||||
like "ircnet". If the IRC network is unknown, the tag is created
|
||||
like "IRCnet". If the IRC network is unknown, the tag is created
|
||||
from the server's name, like irc.funet.fi -> funet. If the tag
|
||||
already exists, a number is added to the end of it and raised until
|
||||
unused tag is found.
|
||||
|
|
@ -384,17 +384,17 @@
|
|||
-autosendcmd: Command to send after connecting to a server
|
||||
|
||||
With -autosendcmd argument you can automatically run any commands
|
||||
after connecting to ircnet. This is useful for automatically
|
||||
after connecting to the network. This is useful for automatically
|
||||
identifying yourself to NickServ, for example
|
||||
|
||||
/IRCNET ADD -autosendcmd "/msg NickServ identify secret" freenode
|
||||
/NETWORK ADD -autosendcmd "/msg NickServ identify secret" freenode
|
||||
|
||||
/IRCNET REMOVE <name>
|
||||
/NETWORK REMOVE <name>
|
||||
|
||||
5.3 Manually connecting and disconnecting
|
||||
|
||||
To connect to a new server, use:
|
||||
/CONNECT [-ircnet <ircnet>] [-host <hostname>] <address>|<ircnet>
|
||||
/CONNECT [-network <network>] [-host <hostname>] <address>|<network>
|
||||
[<port> [<password> [<nick>]]]
|
||||
|
||||
If there's no password, set it to -. You can directly connect to
|
||||
|
|
@ -432,13 +432,14 @@
|
|||
|
||||
5.4 Server settings
|
||||
|
||||
/SERVER ADD [-auto | -noauto] [-ircnet <ircnet>] [-host <hostname>]
|
||||
/SERVER ADD [-auto | -noauto] [-network <network>] [-host <hostname>]
|
||||
[-cmdspeed <ms>] [-cmdmax <count>] [-port <port>]
|
||||
<address> [<port> [<password>]]
|
||||
|
||||
-auto: Automatically connect to server at startup
|
||||
-noauto: Don't connect to server at startup (default)
|
||||
-ircnet: Specify what IRC network this server belongs to
|
||||
-network: Specify what IRC network this server belongs to
|
||||
-ircnet: Same as -network. Deprecated. Do not use.
|
||||
-host: Specify what host name to use, if you have multiple
|
||||
-cmdspeed: Same as /SET cmd_queue_speed, see section 3.1
|
||||
-cmdmax: Same as /SET cmd_max_at_once, see section 3.1
|
||||
|
|
@ -634,7 +635,7 @@
|
|||
manually joining to channel without specifying the password.
|
||||
|
||||
/CHANNEL ADD [-auto | -noauto] [-bots <masks>] [-botcmd <command>]
|
||||
<channel> <ircnet> [<password>]
|
||||
<channel> <network> [<password>]
|
||||
|
||||
With -bots and -botcmd arguments you can automatically send
|
||||
commands to someone in channel. This is useful for automatically
|
||||
|
|
@ -651,7 +652,7 @@
|
|||
can be removed by setting it to - (or actually, "" works too).
|
||||
|
||||
You can remove the channels with
|
||||
/CHANNEL REMOVE <channel> <ircnet>
|
||||
/CHANNEL REMOVE <channel> <network>
|
||||
|
||||
/CHANNEL LIST displays list of channels with settings.
|
||||
/CHANNEL without any arguments displays list of channels you have
|
||||
|
|
@ -844,7 +845,7 @@
|
|||
are in IRC all the time. So I made a bit more featureful notify
|
||||
list:
|
||||
|
||||
/NOTIFY [-list] [-away] [-idle [minutes]] <mask> [ircnet [ircnet...]]
|
||||
/NOTIFY [-list] [-away] [-idle [minutes]] <mask> [network [network...]]
|
||||
|
||||
-away: Notifies about away-status changes
|
||||
-idle: Notifies if idle time is first larger than <minutes>
|
||||
|
|
|
|||
|
|
@ -111,24 +111,24 @@ management (send me a note if you can think of more):</p>
|
|||
joining channels)</p>
|
||||
|
||||
<pre>
|
||||
/IRCNET ADD -autosendcmd "/^msg nickserv ident pass;wait -freenode 2000" freenode
|
||||
/NETWORK ADD -autosendcmd "/^msg nickserv ident pass;wait -freenode 2000" freenode
|
||||
</pre>
|
||||
|
||||
<p>Then add some servers to different networks (ircnet is already set up
|
||||
<p>Then add some servers to different networks (network is already set up
|
||||
for them), irc.kpnqwest.fi is used by default for IRCNet but if it fails,
|
||||
irc.funet.fi is tried next:</p>
|
||||
|
||||
<pre>
|
||||
/SERVER ADD -auto -ircnet ircnet irc.kpnqwest.fi 6667
|
||||
/SERVER ADD -ircnet ircnet irc.funet.fi 6667
|
||||
/SERVER ADD -auto -ircnet efnet efnet.cs.hut.fi 6667
|
||||
/SERVER ADD -auto -network IRCnet irc.kpnqwest.fi 6667
|
||||
/SERVER ADD -network IRCnet irc.funet.fi 6667
|
||||
/SERVER ADD -auto -network efnet efnet.cs.hut.fi 6667
|
||||
</pre>
|
||||
|
||||
<p>Automatically join to channels after connected to server, send op request
|
||||
to bot after joined to efnet/#irssi:</p>
|
||||
|
||||
<pre>
|
||||
/CHANNEL ADD -auto #irssi ircnet
|
||||
/CHANNEL ADD -auto #irssi IRCnet
|
||||
/CHANNEL ADD -auto -bots *!*bot@host.org -botcmd "/^msg $0 op pass" #irssi efnet
|
||||
</pre>
|
||||
|
||||
|
|
@ -216,7 +216,7 @@ window layout:</p>
|
|||
|
||||
<pre>
|
||||
Split window 1: win#1 - Status window, win#2 - Messages window
|
||||
Split window 2: win#3 - ircnet/#channel1, win#4 - ircnet/#channel2
|
||||
Split window 2: win#3 - IRCnet/#channel1, win#4 - IRCnet/#channel2
|
||||
Split window 3: win#5 - efnet/#channel1, win#6 - efnet/#channel2
|
||||
</pre>
|
||||
|
||||
|
|
@ -265,22 +265,22 @@ helps with reconnecting if your primary server breaks and is probably
|
|||
useful in some other ways too :) For information how to actually use
|
||||
irssi correctly with multiple servers see the chapter 6.</p>
|
||||
|
||||
<p>First you need to have your IRC network set, use <code>/IRCNET</code>
|
||||
command to see if it's already there. If it isn't, use <code>/IRCNET ADD
|
||||
yourircnet</code>. If you want to execute some commands automatically when
|
||||
<p>First you need to have your IRC network set, use <code>/NETWORK</code>
|
||||
command to see if it's already there. If it isn't, use <code>/NETWORK ADD
|
||||
yournetwork</code>. If you want to execute some commands automatically when
|
||||
you're connected to some network, use <code>-autosendcmd</code> option.
|
||||
Here's some examples:</p>
|
||||
|
||||
<pre>
|
||||
/IRCNET ADD -autosendcmd '^msg bot invite' ircnet
|
||||
/IRCNET ADD -autosendcmd "/^msg nickserv ident pass;wait -freenode 2000" freenode
|
||||
/NETWORK ADD -autosendcmd '^msg bot invite' IRCnet
|
||||
/NETWORK ADD -autosendcmd "/^msg nickserv ident pass;wait -freenode 2000" freenode
|
||||
</pre>
|
||||
|
||||
<p>After that you need to add your servers. For example:</p>
|
||||
|
||||
<pre>
|
||||
/SERVER ADD -auto -ircnet ircnet irc.kpnqwest.fi 6667
|
||||
/SERVER ADD -auto -ircnet worknet irc.mycompany.com 6667 password
|
||||
/SERVER ADD -auto -network IRCnet irc.kpnqwest.fi 6667
|
||||
/SERVER ADD -auto -network worknet irc.mycompany.com 6667 password
|
||||
</pre>
|
||||
|
||||
<p>The <code>-auto</code> option specifies that this server is
|
||||
|
|
@ -293,7 +293,7 @@ fails.</p>
|
|||
|
||||
<pre>
|
||||
/CHANNEL ADD -auto -bots *!*bot@host.org -botcmd "/^msg $0 op pass" #irssi efnet
|
||||
/CHANNEL ADD -auto #secret ircnet password
|
||||
/CHANNEL ADD -auto #secret IRCnet password
|
||||
</pre>
|
||||
|
||||
<p><code>-bots</code> and <code>-botcmd</code> should be the only ones
|
||||
|
|
@ -412,7 +412,7 @@ The IRCNet at the beginning is called the "server tag" while the
|
|||
tag to refer to the server, usually it's the same as the IRC network.
|
||||
When the IRC network isn't known it's some part of the server name.
|
||||
When there's multiple connections to same IRC network or server, irssi
|
||||
adds a number after the tag so there could be ircnet, ircnet2, ircnet3
|
||||
adds a number after the tag so there could be network, network2, network3
|
||||
etc.</p>
|
||||
|
||||
<p>Server tags beginning with <code>RECON-</code> mean server
|
||||
|
|
@ -423,7 +423,7 @@ successful and irssi will try to connect it again in 3 minutes.</p>
|
|||
reconnecting, use</p>
|
||||
|
||||
<pre>
|
||||
/DISCONNECT ircnet - disconnect server with tag "ircnet"
|
||||
/DISCONNECT network - disconnect server with tag "network"
|
||||
/DISCONNECT recon-1 - stop trying to reconnect to RECON-1 server
|
||||
/RMRECONNS - stop all server reconnections
|
||||
|
||||
|
|
@ -476,12 +476,12 @@ for each server. Here's how to do them (repeat for each server)</p>
|
|||
/WINDOW NEW HIDE
|
||||
/WINDOW NAME (status)
|
||||
/WINDOW LEVEL ALL -MSGS
|
||||
/WINDOW SERVER -sticky ircnet
|
||||
/WINDOW SERVER -sticky network
|
||||
|
||||
/WINDOW NEW HIDE
|
||||
/WINDOW NAME (msgs)
|
||||
/WINDOW LEVEL MSGS
|
||||
/WINDOW SERVER -sticky ircnet
|
||||
/WINDOW SERVER -sticky network
|
||||
</pre>
|
||||
|
||||
<h3><a id="c7">7. /LASTLOG and jumping around in scrollback</a></h3>
|
||||
|
|
@ -620,8 +620,8 @@ exactly as if you'd want to connect directly to them. Nothing special
|
|||
about them:</p>
|
||||
|
||||
<pre>
|
||||
/SERVER ADD -auto -ircnet dalnet irc.dal.net
|
||||
/SERVER ADD -auto -ircnet efnet irc.efnet.org
|
||||
/SERVER ADD -auto -network dalnet irc.dal.net
|
||||
/SERVER ADD -auto -network efnet irc.efnet.org
|
||||
</pre>
|
||||
|
||||
<p>With the proxy <code>/SET</code>s however, irssi now connects to those
|
||||
|
|
@ -662,7 +662,7 @@ you can just forget that your bouncer even exists.</p>
|
|||
<p><strong>dircproxy</strong></p>
|
||||
|
||||
<p>dircproxy separates the server connections by passwords. So, if you
|
||||
for example have ircnet connection with password ircpass and
|
||||
for example have network connection with password ircpass and
|
||||
freenode connection with freenodepass, you would do something like
|
||||
this:</p>
|
||||
|
||||
|
|
@ -670,8 +670,8 @@ this:</p>
|
|||
/SET -clear proxy_password
|
||||
/SET -clear proxy_string
|
||||
|
||||
/SERVER ADD -auto -ircnet ircnet fake.ircnet 6667 ircpass
|
||||
/SERVER ADD -auto -ircnet freenode fake.freenode 6667 freenodepass
|
||||
/SERVER ADD -auto -network IRCnet fake.network 6667 ircpass
|
||||
/SERVER ADD -auto -network freenode fake.freenode 6667 freenodepass
|
||||
</pre>
|
||||
|
||||
<p>The server name and port you give isn't used anywhere, so you can
|
||||
|
|
@ -688,13 +688,13 @@ as with dircproxy, by creating fake connections:</p>
|
|||
/SET -clear proxy_password
|
||||
/SET -clear proxy_string
|
||||
|
||||
/IRCNET ADD -user ircnetuser ircnet
|
||||
/SERVER ADD -auto -ircnet ircnet fake.ircnet 6667 ircpass
|
||||
/IRCNET ADD -user freenodeuser freenode
|
||||
/SERVER ADD -auto -ircnet freenode fake.freenode 6667 freenodepass
|
||||
/NETWORK ADD -user networkuser IRCnet
|
||||
/SERVER ADD -auto -network IRCnet fake.network 6667 ircpass
|
||||
/NETWORK ADD -user freenodeuser freenode
|
||||
/SERVER ADD -auto -network freenode fake.freenode 6667 freenodepass
|
||||
</pre>
|
||||
|
||||
<p>So, you'll specify the usernames with <code>/IRCNET ADD</code> command,
|
||||
<p>So, you'll specify the usernames with <code>/NETWORK ADD</code> command,
|
||||
and the user's password with <code>/SERVER ADD</code>.</p>
|
||||
|
||||
<p><strong>Irssi proxy</strong></p>
|
||||
|
|
@ -712,19 +712,19 @@ anyone figure out even more easier ways to say this, so I wouldn't need to
|
|||
try to explain this thing for minutes every time? :)</p>
|
||||
|
||||
<p>Irssi proxy supports sharing multiple server connections in different
|
||||
ports, like you can share ircnet in port 2777 and efnet in port 2778.</p>
|
||||
ports, like you can share network in port 2777 and efnet in port 2778.</p>
|
||||
|
||||
<p>Usage in proxy side:</p>
|
||||
|
||||
<pre>
|
||||
/LOAD proxy
|
||||
/SET irssiproxy_password <password>
|
||||
/SET irssiproxy_ports <ircnet>=<port> ... (eg. ircnet=2777 efnet=2778)
|
||||
/SET irssiproxy_ports <network>=<port> ... (eg. IRCnet=2777 efnet=2778)
|
||||
</pre>
|
||||
|
||||
<p><strong>NOTE</strong>: you <strong>MUST</strong> add all the servers you
|
||||
are using to server and ircnet lists with <code>/SERVER ADD</code> and
|
||||
<code>/IRCNET ADD</code>. ..Except if you really don't want to for some
|
||||
are using to server and network lists with <code>/SERVER ADD</code> and
|
||||
<code>/NETWORK ADD</code>. ..Except if you really don't want to for some
|
||||
reason, and you only use one server connection, you may simply set:</p>
|
||||
|
||||
<pre>
|
||||
|
|
@ -737,8 +737,8 @@ reason, and you only use one server connection, you may simply set:</p>
|
|||
specified in <code>/SET irssiproxy_password</code>. For example:</p>
|
||||
|
||||
<pre>
|
||||
/SERVER ADD -ircnet ircnet my.irssi-proxy.org 2777 secret
|
||||
/SERVER ADD -ircnet efnet my.irssi-proxy.org 2778 secret
|
||||
/SERVER ADD -network IRCnet my.irssi-proxy.org 2777 secret
|
||||
/SERVER ADD -network efnet my.irssi-proxy.org 2778 secret
|
||||
</pre>
|
||||
|
||||
<p>Irssi proxy works fine with other IRC clients as well.</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue