Irssi: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
Irssi is a terminal based [[IRC]] client for UNIX systems which also happens to be Redbrick's default IRC client.
In the [[IRC|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 ==


== Using irssi on Redbrick ==
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.


To use irssi on redbrick type 'chat' at the prompt and hit return. You could also use:
Windows can be moved either left/right by typing
irssi -c irc.redbrick.dcu.ie


Th -c option allows you to choose the IRC server you connect to, so if you'd like to join Quakenet or somewhere else from Redbrick, just put "irc.quakenet.org" there instead.
/window move left
/window move right


Once connected, you can join whatever channel (chat room) you like by using the join command. If you've started irssi by typing 'chat' at the prompt, then you'll automatically be in #lobby, the default channel. If you wished to join lobby, the main chat room, use this command:
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


  /join #lobby, for general cases /join #channel_name.
  /window move 3


This will bring up a new screen with your window to that channel. Each new channel is in a new window. To move between the different windows press alt and the number of the window you want to go to. If the window number is 10, use alt + 0. If it's greater than 10, use /win number or alt plus the letter keys starting at Q.


== Irssi Scripts ==


== Useful Commands ==
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.


If you want to see who's logged into the current channel, use /names or /n. This will list the users in your current window. Using /who will bring up a list of users with more detail in the status window (1).
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 [[Transferring_Files|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 [http://www.irssi.org/scripts/ irssi homepage]


A very handy feature is private messaging. You are able to send another user a message which nobody else can see. Type /msg username message or /query username message. You will see your message come up in a new window. You can then resume your normal chatting and if a person replies to your private message, you will see the window number pop up in pink along the bottom scrollbar. When you are finished messaging someone, use /wc to close down the window. So long as a user is on the same server as you, you can message them without being in a channel.


There's a help option offered by irssi. /help will give you a list of the different topics. Then use /help topic to get more information on that particular topic. All this information will come up in window 1.


By typing /set you can see all the settings which are mostly preset for you. If you wish to alter any of them, use the set command again. Just say you wished to change your realname: /set real_name newName . The changes you make are saved in a file called ~/.irssi/config.


Each user has a nickname. This is what will come up as your name in the channel. By default, this will be your Redbrick username, but you can set this to anything once another user is not already using that name. Your nick must be no more than nine letters long. You can use the /w command to see what nick names are being used. To change your nick name, type /nick new_name.


The tab button will try to automatically complete usernames. So by typing ke and pressing tab, keloe will more than likely pop up. If another name comes up, keep hitting tab till the name you are looking for is there.
Down the bottom of the screen is a scroll bar with most of the information you need at a glance. The information, in order, is the time, your nickname, your current window and sometimes there are brackets [] containing window numbers. If the window number is white , then normal chat is happening in that window. If the number is blue, then someone has logged on/off or a mode has been changed. If the number is pink, then a message has been addressed to you in that window.
== Quitting irssi ==
/part or /leave will exit a channel without actually leaving irssi or disconnecting from the server.
Exiting irssi completely requires either /quit or /exit. These will disconnect you, exit irssi and leave you back at a command prompt.


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

Revision as of 03:15, 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




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