Difference between revisions of "Irssi"

From Redbrick Wiki
Jump to navigation Jump to search
m
m
Line 22: Line 22:
 
   /load script <script-name>
 
   /load script <script-name>
 
from irssi to start it. If you want to search for your own cool scripts there's loads at the [http://www.irssi.org/scripts/ irssi homepage]
 
from irssi to start it. If you want to search for your own cool scripts there's loads at the [http://www.irssi.org/scripts/ irssi homepage]
 +
 +
 +
== Irssi Themes ==
 +
 +
Just as scripts can add functionality to irssi themes can be added that change the look of it. Adding themes is just like addming scripts, just copy them into the ~/.irssi folder. To use your new theme type
 +
/set theme <theme-name>
 +
 +
There are some themes on the [http://www.irssi.org/themes irssi homepage], some better than others. The themes are written in plain text, so if you find a well written example they're pretty easy to change around slightly.
 +
 +
 +
== Configuration Options ==
 +
 +
Irssi comes with loads of options, so i've just included the ones I think are useful
 +
 +
/set window_history off
 +
Irssi remembers the last few lines of text you've typed into it, just press up to view them. With this you have a seprate buffer of commands for each window, so you cant accidentally send the last line of a private message into #lobby for all to read
 +
 +
/set autolog on
 +
/set autolog_path ~/irclogs/$tag/$0.log
 +
This turns on irssi logging, and setting the paths like this with the variables means that the irssi will save all the logs for a certain channel/pm in a different file each day.
 +
 +
/set autoclose_query 86400
 +
This sets a time in seconds after which idle windows will be closed automatically, so your private message windows will be closed if you don't use them for a whole day (86400 seconds)
 +
 +
/set show_quit_once on
 +
Say you and undone are in three of the same channels, with this set on if he quits for the night his quit message will only appear to you in one of your open windows, not all of them.
 +
 +
/set quit_message <my personal quit message>
 +
Change the default quit message to your own personal one.
 +
 +
/last receive 10
 +
Say i've just come back from a lecture, and i want to see was anyone talking about me while i was gone this shows me the last 10 lines in the current channel that contain my username.
 +
 +
/set real_name Andrew
 +
This sets my real name to Andrew, so people know who i am if they use the /whois command on me.
 +
 +
  
  

Revision as of 03:49, 11 February 2007

In the chat tutorial we went through all the basics of using chat on Redbrick. This tutorial goes through some of the more advanced features specific to the default chat client irssi.

Moving windows

When you start chat you'll have two windows, #lobby and the status window, but of course you're going to want to open more windows. The more windows you have open the harder it is to keep track of them so most people like to keep their different channels & private messages in the same place all the time.

Windows can be moved either left/right by typing

/window move left
/window move right

Or, you can move a window straight to a certain number. For example, if you join the #gamessoc channel and want it in window 3 next to #lobby you can use the command

/window move 3


Irssi Scripts

Scripts allow you to add functionality to irssi that wasnt originally part of the program, like extensions in firefox. Some members have scripts that allow you to set yourself to set yourself away automatically after you have been idle for a set period of time, and others to list the current windows you have open.

So, undone has given you a cool autoaway script, but how do you use it. The first thing you have to do is move it to the proper scripts directory which is ~/.irssi/scripts. You can do this using winscp. Once you've done that you need to load it, just type

 /load script <script-name>

from irssi to start it. If you want to search for your own cool scripts there's loads at the irssi homepage


Irssi Themes

Just as scripts can add functionality to irssi themes can be added that change the look of it. Adding themes is just like addming scripts, just copy them into the ~/.irssi folder. To use your new theme type

/set theme <theme-name>

There are some themes on the irssi homepage, some better than others. The themes are written in plain text, so if you find a well written example they're pretty easy to change around slightly.


Configuration Options

Irssi comes with loads of options, so i've just included the ones I think are useful

/set window_history off

Irssi remembers the last few lines of text you've typed into it, just press up to view them. With this you have a seprate buffer of commands for each window, so you cant accidentally send the last line of a private message into #lobby for all to read

/set autolog on
/set autolog_path ~/irclogs/$tag/$0.log

This turns on irssi logging, and setting the paths like this with the variables means that the irssi will save all the logs for a certain channel/pm in a different file each day.

/set autoclose_query 86400

This sets a time in seconds after which idle windows will be closed automatically, so your private message windows will be closed if you don't use them for a whole day (86400 seconds)

/set show_quit_once on

Say you and undone are in three of the same channels, with this set on if he quits for the night his quit message will only appear to you in one of your open windows, not all of them.

/set quit_message <my personal quit message>

Change the default quit message to your own personal one.

/last receive 10

Say i've just come back from a lecture, and i want to see was anyone talking about me while i was gone this shows me the last 10 lines in the current channel that contain my username.

/set real_name Andrew

This sets my real name to Andrew, so people know who i am if they use the /whois command on me.





If you need any more help with irssi, please feel free to hey a helpdesk member or mail at helpdesk@redbrick.dcu.ie