56 lines
2.2 KiB
HTML
56 lines
2.2 KiB
HTML
<!-- SDF Tutorial Template
|
|
======================================================================
|
|
Use of this code is entirely optional. It is provided as a sample of
|
|
coding style, and a quick way to start a new tutorial for users who
|
|
may be beginners with HTML. -->
|
|
|
|
<style type="text/css">
|
|
@import url('http://sdf.org/tutorials/tutorials.css');
|
|
</style>
|
|
|
|
<!-- The title of the tutorial should be the only level-1 header
|
|
(<h1>) in the document. -->
|
|
<h1>IRC Channel Auto-Connection with Irssi</h1>
|
|
|
|
<p>This tutorial explains how to configure the
|
|
<a href="http://irssi.org/">Irssi ("the client of the future")</a>
|
|
IRC client to automatically connect to one or more channels when run.</p>
|
|
|
|
<ol>
|
|
<li>Invoke Irssi from the shell:
|
|
<pre><samp>$ irssi</samp></pre></li>
|
|
<li>After Irssi starts, enter the following commands:
|
|
<pre><samp>
|
|
/network add sdf
|
|
/server add -auto -network sdf irc.sdf.org
|
|
/channel add -auto #sdf sdf
|
|
</samp></pre>
|
|
(You may add other channels<a href="#fn1"><sup>1</sup></a>. Channel <code>#helpdesk</code> is added automatically.)</li>
|
|
<li>Quit Irssi:
|
|
<pre><samp>/quit</samp></pre></li>
|
|
<li>Invoke Irssi again:
|
|
<pre><samp>$ irssi</samp></pre>
|
|
(Irssi runs and automatically connects to the channels you defined in 2.)</li>
|
|
<li>Select the channel you want to see first when Irssi starts by cycling through the channel windows (<code>Ctrl-n</code>,
|
|
<code>Ctrl-p</code>).</li>
|
|
<li>Save the Irssi channel window configuration:</li>
|
|
<pre><samp>/layout save</samp></pre></li>
|
|
</ol>
|
|
|
|
<p>If you experience trouble, it may help to reset your Irssi configuration by deleting or renaming the
|
|
file <code>~/.irssi/config</code>.</p>
|
|
<h2 id="notes">Notes</h2>
|
|
|
|
<!-- We're using an ordered list (<ol>) so that the notes are
|
|
automatically numbered. A single reference is cited twice in the
|
|
tutorial. As you can see, you may use an abbreviated form of citation
|
|
for subsequent references to a single work. -->
|
|
<ol>
|
|
<li id="fn1">See <a href="http://sdf.org/?tutorials/irc-channels">IRC Channels on SDF</a>.</li>
|
|
|
|
</ol>
|
|
|
|
<!-- At the very end, here, is the RCS Id tag. Let it be, my friend. -->
|
|
$Id: irssi-auto.html,v 1.3 2015/04/11 18:27:05 papa Exp $
|
|
|