Difference between revisions of "Irssi"

From ArchWiki
Jump to: navigation, search
Line 18: Line 18:
 
  $ 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
 
* If you don't want to use CPAN; http://search.cpan.org/~jdporter/Lingua-Ispell-0.07/lib/Lingua/Ispell.pm  
 
* If you don't want to use CPAN; http://search.cpan.org/~jdporter/Lingua-Ispell-0.07/lib/Lingua/Ispell.pm  
$ irssi
 
 
*In irssi
 
*In irssi
 
  /script load spell.pl
 
  /script load spell.pl

Revision as of 14:30, 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
/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 .