Difference between revisions of "Irssi"

From ArchWiki
Jump to: navigation, search
Line 8: Line 8:
 
==Configuration==
 
==Configuration==
 
* Configuration is done by editing the config file located at ~/.irssi/config. If you wish you could start irssi with an alternate config file like this:
 
* Configuration is done by editing the config file located at ~/.irssi/config. If you wish you could start irssi with an alternate config file like this:
  # irssi --config=FILE
+
  $ irssi --config=FILE
  
 
==Installing a Script==
 
==Installing a Script==
Line 14: Line 14:
 
* In a terminal
 
* In a terminal
 
  # pacman -Sy ispell
 
  # pacman -Sy ispell
  # mkdir -p ~/.irssi/scripts/autorun
+
  $ mkdir -p ~/.irssi/scripts/autorun
  # cd ~/.irssi/scripts
+
  $ cd ~/.irssi/scripts
  # wget http://scripts.irssi.org/scripts/spell.pl .
+
  $ wget http://scripts.irssi.org/scripts/spell.pl .
 
  # perl -MCPAN -e 'install Lingua::Ispell'
 
  # perl -MCPAN -e 'install Lingua::Ispell'
  # irssi
+
  $ irssi
 
*In irssi
 
*In irssi
  # /script load spell.pl
+
  /script load spell.pl
 
* If it worked, it should look like this:
 
* If it worked, it should look like this:
  # Irssi: Loaded script spell
+
  - - Irssi: Loaded script spell
  
 
If you want to autorun the script when you start irssi, just link the script into the autorun folder.
 
If you want to autorun the script when you start irssi, just link the script into the autorun folder.
 
  # cd ~/.irssi/scripts/autorun
 
  # cd ~/.irssi/scripts/autorun
 
  # ln -s ../spell.pl spell.pl
 
  # ln -s ../spell.pl spell.pl

Revision as of 14:26, 25 March 2009

Introduction

irssi is a modular, text based (ncurses) IRC client.

Installation

  • Simply run as root:
# pacman -S irssi

Configuration

  • Configuration is done by editing the config file located at ~/.irssi/config. If you wish you could start irssi with an alternate config file like this:
$ irssi --config=FILE

Installing a Script

  • Let's install the spell checking script
  • In a terminal
# pacman -Sy ispell
$ mkdir -p ~/.irssi/scripts/autorun
$ cd ~/.irssi/scripts
$ wget http://scripts.irssi.org/scripts/spell.pl .
# perl -MCPAN -e 'install Lingua::Ispell'
$ irssi
  • In irssi
/script load spell.pl
  • If it worked, it should look like this:
- - Irssi: Loaded script spell

If you want to autorun the script when you start irssi, just link the script into the autorun folder.

# cd ~/.irssi/scripts/autorun
# ln -s ../spell.pl spell.pl