GQ-07: How to Connect to IRC
Setting up
We'll be using X-Chat2, with all it's anti-aliased, clean looking goodness as the GUI client we use to connect. If you have X-Chat 1.x you can choose to upgrade or just figure it out. It shouldn't be that hard. Otherwise to get it just type in
CODE
urpmi xchat
at the console while logged in as root.- When you start up xchat 2 for the first time you'll be greeted with a window that has a list of names.
- Since most open source projects are located on Freenode, scroll down, locate it on the list, then highlight/click on/select it.

- add channels which you frequently visit so that xchat connects to them on startup.
- add commands which you want to run on startup always, such as nickserv identification, if/once you register a nickname.
- choose a nickname, secondary nickname (in case someone has your's already) and real name (should you choose to divulge this info).

- also choose whether or not you want to see the box at startup. If no, when you start xchat you'll connect to the last server you were connected to before closing.
N.B. Server does not = chat room. You'll only join chatrooms in the autostart list, you will not join the rooms you were in last upon reconnecting. It would be a nice feature though.
For those who want to use CLI app for IRC irssi seems to be the app of choice around here. To get it type in
CODE
urpmi irssi
as root in a console. Once you've got irssi installed log out of root and in your console type CODE
irssi
to start it up for the first time.the command
CODE
/server add -auto freenode irc.freenode.net:6667
will add and automatically connect to freenode.Chatting in IRC
Now you need to do a couple of IRC commands to join a channel (chat room) and start talking. I'll give you a couple to get you started but for a comprehensive list try here or search on Google for IRC commands.
- Once connected to freenode (or any other server) type /list in the text input box to get a list of all the available channels.
- Once you see one you like type /join #name_of_channel to join. e.g. to join our chatroom on IRC you'd typeCODE/join #musb
To join #musb while in irssi you can either use the join command above or you can doCODE/channel add -auto #musb freenode
Also you can doCODE/saveto save your settings for each time irssi is opened. This will ensure that you are automatically connected to freenode and #musb whenever you start irssi.
Once you're ready to leave the channel type /part #name_of_channel to leave just that channel. You don't have to be in that actual channel to leave. As long as you are in a channel that is one the same server (e.g. freenode) as the one you're trying to leave it will work.
If you want to quit both channel and server at the same time just use /quit and that'll do the job.
Miscellaneous IRC commands
Once you're connected to IRC there are other commands at your disposal
CODE
/who #musb
gives you information on everyone in #musb.
the /me command makes it seem as if you're speaking in the third person or as if you thoughts are transmagically being transmitted to everyone in the channel.
CODE
/me is crazy
will like something like *illogic-al is crazyA little known IRC fact fact newbies is that the @ before the names of some people means that they are channel ops. That means that they possess powers of cyber life and death. Don't mess with these people. ;-p
CODE
/whois Tomm
You get some info about Tomm or whatever nickname you entered.
CODE
/whois yournick
This is some info others see about you.
CODE
/nick newnick
Changes your nick to "newnick"
CODE
/msg Tomm hi there.
Only Tomm sees your message (you don't need to be on the same channel for this to work).
CODE
/ping #musb
Gives information on the delay (round-trip) between you and everybody on #musb.
CODE
/ping Tomm
Gives information on the delay (round-trip) between you and just Tomm.
CODE
/dcc chat MaryN
This sends MaryN a request for a dcc chat session. MaryN types /dcc chat yournick to complete the connection. DCC chat is faster (lag free) and more secure than /msg.
CODE
/msg =MaryN Hi there!
Once a DCC connection has been established, use the /msg =nick message format to exchange messages (note the = sign). DCC does not go through servers, so it are unaffected by server lag, net splits, etc.
CODE
/quit good night!
You quit IRC completely, with the parting comment so that others see "*** Signoff: yournick (good night!)".
This is a basic list, but will help in the begining and always try /help to see what's available in your client. 8)
[Credits]
Additional information pointed out by Liquidzoo and provided by cybrjackle. Info on how to connect using irssi from LiquidZoo.
[References]
http://www.mandrakeusers.org/index.php?showtopic=8704
http://irchelp.org/