<commit_before>---
layout: post
title: Getting Started with IRSSI
categories:
- Linux
tags:
- irc
---

Often open source projects or organizations use an IRC channel on FreeNode to
provide support to users and/or developers. I'm trying to retain familiarity
with the command line, rather than become completely dependent on GUI
applications, so I've decided to use [IRSSI](https://irssi.org/) instead of 
[Pidgin](https://www.pidgin.im/) or [Adium](https://adium.im/) (Mac OS X).

## Installation

Installing IRSSI is easy on Ubuntu, simply use:

```
apt-get install irssi
```

You can also install it using Homebrew on Mac OSX:

```
brew install irssi
```

After it's done installing, simply run the program

```
irssi
```

## Windows

IRSSI support separate "windows" for the different channels you are connected
to, or for the different people you are chatting with. If for some reason you
do not see information on the screen for a command you've run, it may be
displayed in another window.

By default you can use the ALT key combined with a number key (e.g. ALT+1,
ALT+2, ALT+3, etc) to switch between the different displays in IRSSI.

If your terminal program doesn't support this, or uses these key combinations
to switch between it's own tabs (like Ubuntu terminal does), then you should
use the `/window` command instead.

```
/WINDOW NEW                    - Create new split window
/WINDOW NEW HIDE               - Create new hidden window
/WINDOW CLOSE                  - Close split or hidden window

/WINDOW HIDE [<number>|<name>] - Make the split window hidden window
/WINDOW SHOW <number>|<name>   - Make the hidden window a split window

/WINDOW SHRINK [<lines>]       - Shrink the split window
/WINDOW GROW [<lines>]         - Grow the split window
/WINDOW BALANCE                - Balance the sizes of all split windows
```

## Commands

For those that are new to IRC, it's a good idea to become familiar with
the [common commands](http://www.ircbeginner.com/ircinfo/ircc-commands.html) 
that IRC programs support. Here are a few:

* `/join #channel_name` - Joins a channel
* `/me <action>` - Announces some action such as `/me waves hello`
* `/msg <nickname> <message>` - Send a direct message to another user
* `/ignore <nickname>` - Block someone that is harassing you
* `/quit` or `/exit` - Quits IRC program

There are other commands that are supported only by IRSSI that can be found in
the [IRSSI Documentation](https://irssi.org/documentation/)

It's recommended that you use the `/help` command to get the list of other
supported commands. You can get more information on each command by following
the `/help` command with the name of the command. For instance you can get more<commit_msg>Adds two additional commands to IRSSI post<commit_after>---
layout: post
title: Getting Started with IRSSI
categories:
- Linux
tags:
- irc
---

Often open source projects or organizations use an IRC channel on FreeNode to
provide support to users and/or developers. I'm trying to retain familiarity
with the command line, rather than become completely dependent on GUI
applications, so I've decided to use [IRSSI](https://irssi.org/) instead of 
[Pidgin](https://www.pidgin.im/) or [Adium](https://adium.im/) (Mac OS X).

## Installation

Installing IRSSI is easy on Ubuntu, simply use:

```
apt-get install irssi
```

You can also install it using Homebrew on Mac OSX:

```
brew install irssi
```

After it's done installing, simply run the program

```
irssi
```

## Windows

IRSSI support separate "windows" for the different channels you are connected
to, or for the different people you are chatting with. If for some reason you
do not see information on the screen for a command you've run, it may be
displayed in another window.

By default you can use the ALT key combined with a number key (e.g. ALT+1,
ALT+2, ALT+3, etc) to switch between the different displays in IRSSI.

If your terminal program doesn't support this, or uses these key combinations
to switch between it's own tabs (like Ubuntu terminal does), then you should
use the `/window` command instead.

```
/WINDOW NEW                    - Create new split window
/WINDOW NEW HIDE               - Create new hidden window
/WINDOW CLOSE                  - Close split or hidden window

/WINDOW HIDE [<number>|<name>] - Make the split window hidden window
/WINDOW SHOW <number>|<name>   - Make the hidden window a split window

/WINDOW SHRINK [<lines>]       - Shrink the split window
/WINDOW GROW [<lines>]         - Grow the split window
/WINDOW BALANCE                - Balance the sizes of all split windows
```

## Commands

For those that are new to IRC, it's a good idea to become familiar with
the [common commands](http://www.ircbeginner.com/ircinfo/ircc-commands.html) 
that IRC programs support. Here are a few:

* `/join #channel_name` - Joins a channel
* `/names` - Lists names of users in the current channel
* `/who <nickname>` - Get info on user (shown in window 1)
* `/me <action>` - Announces some action such as `/me waves hello`
* `/msg <nickname> <message>` - Send a direct message to another user
* `/ignore <nickname>` - Block someone that is harassing you
* `/quit` or `/exit` - Quits IRC program

There are other commands that are supported only by IRSSI that can be found in
the [IRSSI Documentation](https://irssi.org/documentation/)

It's recommended that you use the `/help` command to get the list of other
supported commands. You can get more information on each command by following
the `/help` command with the name of the command. For instance you can get more
{'fraction_non_alphanumeric': 0.08421429851281133, 'fraction_numerical': 0.001254255509765275, 'mean_word_length': 3.545602605863192, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 24, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3623422', 'n_tokens_mistral': 1669, 'n_tokens_neox': 1547, 'n_words': 794}