Linux.com

Feature

A beginner's guide to IRC

By Joe 'Zonker' Brockmeier on April 20, 2007 (8:00:00 AM)

Share    Print    Comments   

If you have questions about Linux or open source projects, real-time help is often just a keyboard away -- if you know where to look online. Forums, mailing lists, and Googling are all useful when you have questions, but if you really want answers fast, Internet Relay Chat (IRC) is the place to look. If you've never ventured into IRC, here's all you need to get started.

No doubt you're already familiar with instant messaging and have used AIM, MSN Messenger, Google Talk, or other IM services. The main difference between IRC and IM services is that IRC is designed for multi-user chat rather than one-on-one conversations, and that there are many IRC networks that users can participate on -- whereas most IM services restrict you to the network operated by the IM service owner, such as AOL or Microsoft. Because IRC is designed for multi-user chats, it's ideal for FOSS communities that want to offer a forum where users can get support in real time.

Choosing an IRC client

Once you decide to take the IRC plunge, you'll need to choose an IRC client. It's impossible to recommend a one-size-fits-all application because each client has strengths and weaknesses that will appeal to some users and turn others off. However, I'll mention some of the most popular clients here.

If you use instant messaging on Linux, you're probably familiar with Gaim. You might already be using it to chat via AIM, MSN, Yahoo! Messenger, Jabber, or one of the other protocols that it supports. In addition to all those IM protocols, Gaim supports IRC too. If you're using Gaim already, you might as well set it up to handle IRC for you as well.

KDE users might prefer Konversation, which is an IRC-only client, but full-featured and well worth looking at. It runs under any Linux desktop, of course, but integrates particularly well with the KDE desktop and KDE apps such as Konqueror.

GNOME users, on the other hand, might want to start with XChat-GNOME, which is a GNOMEized frontend for XChat, an IRC app for Linux and Windows, with a separate Mac port as well.

Another option, which we'll use for the rest of this article, is a Firefox extension called ChatZilla that adds IRC client functionality to Firefox. (It's also available as part of the Mozilla SeaMonkey suite, and for the Netscape branded browser, but those are much less common these days.)

Because ChatZilla is a Firefox extension, it has the benefit of being cross-platform -- which is nice if you use Linux at home and Windows at work, or vice versa. You can not only use the same client across multiple computers, but you can also sync profiles between them if you use Google Browser Sync (or a similar tool) to keep profiles synchronized between computers.

Getting started with IRC

To get ChatZilla, go to the Firefox Add-ons site and click "Install Now" while in Firefox. You'll be prompted to restart Firefox, and then you'll be able to start ChatZilla by going to Tools -> ChatZilla.

The first time you start ChatZilla it will load an information screen with links to some popular IRC networks, as well as links to the ChatZilla FAQ and IRC Help Web site. You'll also see a link to the ChatZilla Support Channel, which would take you to the moznet IRC network and the #chatzilla channel.

Now it's time to join a chat. Let's say you want to get some help with Kubuntu. Ubuntu's documentation note that Ubuntu's channels are on the Freenode network, and the help channel for Kubuntu is #kubuntu. (Channel names are always preceded by a "#" character.)

To connect to Freenode, enter /server irc.freenode.net in the text field, or enter irc://irc.freenode.net/kubuntu in Firefox's address bar. ChatZilla will connect to the Freenode server, and you should see a bunch of messages scrolling by in a tab labeled irc.freenode.net. You'll also see a message about your nickname, which is the unique name that you'll be using while in IRC.

If you're just popping into IRC to ask a quick question, then there's not much need to worry about your nickname. However, if you plan to participate in discussions on IRC a lot, you'll probably want to register your nick so that other users can't claim it when you're not logged in.

Pick a nickname that you like, and then enter /nick nickname in ChatZilla's text field. This will set your nickname. If the nickname you want is already taken, you'll see a message saying, "This nickname is owned by someone else." You may have to try a few different nicks before you find one that's free on a busy network like Freenode.

Once you've found an unclaimed nick, run /msg nickserv register password to protect your choice. After the password is set, you'll be prompted to identify yourself by entering it whenever you log into IRC. Note that nicknames don't carry across networks; if you register a nick on Freenode, it doesn't mean you'll own the same nick on another IRC network.

IRC etiquette

IRC has its own etiquette, and there are some definite dos and don'ts that you'll want to keep in mind before joining in the conversation.

Naturally, being nice goes a long way. Ubuntu Community Manager Jono Bacon says users should "be helpful," and deal with the fact that "some people are gonna ask some stupid things.... We all start somewhere, and no one learns by being shown up or humiliated. If you don't have a constructive, helpful answer, just don't answer."

Also, remember that many people don't monitor IRC conversations closely at all times. Most users check their IRC client's window occasionally as they do other work, so they may not see your question right away. There's no need to repeat a question or comment just because you haven't gotten an immediate response. That's a good way to annoy users who have read the question and who simply don't have a response.

If you notice that someone is trying to get your attention, let them know that you've seen them. Bacon says to let people know if you're busy, but "if someone gets in touch with you, try to respond where you can."

Don't be a nuisance in the channel. For instance, many users have their IRC client set to beep or give some indication when users join or leave a channel. Some also have their computer set to go to sleep after 10 or 15 minutes of inactivity -- thereby causing them to quit -- along with autoconnect -- causing them to rejoin IRC. Many users will find it annoying if you're leaving and rejoining a channel every 20 minutes because your computer goes to sleep and wakes up frequently, particularly if you're just lurking in the channel rather than actively participating.

Finally, make sure you're on-topic. Before dive-bombing a project's #project-devel channel with questions about using the software, you might want to check the project's Web site and see where the project wants you to go for questions. A project's -devel channels (or whatever they may be called) are almost always for development questions and discussions only. Going to -devel for a question on a project's usage is like calling 911 to report a parking violation. If you're lucky, you'll be gently redirected to the project's -user channel; if not, you might get a less friendly response.

For more on setting up a nickname, see the Freenode FAQ.

To join the #kubuntu channel, type /join #kubuntu. You should see something similar to Figure 1. On the left side of the ChatZilla window, you should see all of the users who are in the channel. Discussion between users will be displayed in the right pane.

Common IRC commands

In ChatZilla, or any IRC client, you can issue commands by preceding a word with a slash (/).

The first command you want to be familiar with is /help. This will display information about commands that you can use in ChatZilla. (This will also work in other IRC clients.) Just typing /help will display the generic help message. To learn how to use a command, type /help commandname .

How do you know what commands are available? Run /commands, and your client will display a full list of commands that you can use. This will differ from client to client. ChatZilla is one of the more full-featured clients, so you may not have as many commands available if you use a different client.

If you want to have a private conversation with a user over IRC, you can initiate a conversation using /query username message . Note that some users may not be receptive to private chats, so tread lightly if you don't know the user in question. You can also send messages without opening a conversation window by running /msg username message.

Want to know when certain users log into IRC? You can tell ChatZilla to give you a heads-up by running /notify username . When the user logs on or off, ChatZilla will give you a notice.

If you're not sure who a user is, you can run the /whois username command to get information about the user, such as their real name (if they've supplied it) and what server they're connecting from. If they've left IRC before you could run whois, ChatZilla also supports a whowas command -- if you run /whowas maskedman, the server will give you the same information you'd get from a whois command.

There's a lot more to IRC, but this should get you far enough to get started.

Share    Print    Comments   

Comments

on A beginner's guide to IRC

Note: Comments are owned by the poster. We are not responsible for their content.

Re:why is this garbage posted?

Posted by: roblimo on April 21, 2007 05:16 AM
Yup. <a href="http://linux.omnipotent.net/article.php?article_id=12527" title="omnipotent.net">This one</a omnipotent.net>. Similar but far from identical. And two, five and probably 10 years from now others will write other, similar articles for whole new crops of new users, focusing on the IRC (or whatever replaces it by then) clients that are popular at the time.

- Robin


   

#

Opera 9.2

Posted by: Anonymous Coward on April 20, 2007 04:33 PM
I think the Opera.com webbrowser with builtin irc client does a pretty good job too. Your favorite irc channel in a tab, makes it very convenient<nobr> <wbr></nobr>:)

#

Re:Opera 9.2

Posted by: Anonymous Coward on April 20, 2007 07:33 PM
It's simply that I prefer free software.
Thanks

#

Re:Opera 9.2

Posted by: Anonymous Coward on April 20, 2007 07:45 PM
Then you must be ok with opera, because opera is free but not OpenSource.

#

Re:Opera 9.2

Posted by: Anonymous Coward on April 20, 2007 09:19 PM
I bet he meant free as in libre, liberty, "as in speach", freedom software..

But I gather you knew that already and just wanted to be a dink.

#

Re:Opera 9.2

Posted by: Anonymous Coward on April 20, 2007 09:38 PM
And I meant free as in beer<nobr> <wbr></nobr>... you might have known.

#

Great Article.

Posted by: Anonymous Coward on April 20, 2007 09:00 PM
Wow! That was a really good article. Simple accurate, well written, unpretentious...

#

IRC? Isn't this guide about fifteen years late?

Posted by: Anonymous Coward on April 20, 2007 09:15 PM
keehehehe.. Had to be said. A well done article though. I like the IRC Etiquette bit particularily. No console based IRC clients though it seems? Where's BitchX and it's parent iirc?

To give you an idea of the last time I was on IRC; my first question was "But where is mIRC? Oh, right.. closed source software; never mind."

#

Include the wikilink comparing irc clients

Posted by: Anonymous Coward on April 21, 2007 03:32 AM
To prevent everyone chiming in with their favourite client, here's the link on wikipedia comparing them all:
<a href="http://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients" title="wikipedia.org">http://en.wikipedia.org/wiki/Comparison_of_Intern<nobr>e<wbr></nobr> t_Relay_Chat_clients</a wikipedia.org>

#

Stuff Your Wikipedia Spam!

Posted by: Anonymous Coward on April 21, 2007 03:57 AM
Tightly!

#

why is this garbage posted?

Posted by: Anonymous Coward on April 21, 2007 03:59 AM
seriously, "the enterprise linux resource"?....

#

Re:why is this garbage posted?

Posted by: Anonymous Coward on April 21, 2007 05:07 AM
I could swear over 4 years ago a user named Linuxwolf wrote a article pretty much identical to this one.

#

Re:why is this garbage posted?

Posted by: Anonymous Coward on April 27, 2007 09:38 PM
First, I have to disagree that it is garbage. So I will answer "Why is this posted?"

Because some of us still use IRC. We have a private server running for my group at the office and I run one at home for my family.

IRC is mature and works very very well.

#

Etiquette

Posted by: Anonymous Coward on April 23, 2007 01:11 AM
This part should be stressed more. To someone who has never used IRC before, I would suggest that the first thing to do when you enter a channel is to say "Hello" or its equivalent. Don't make it apparent that the -only- reason you have entered their channel is to hunt for information. Also, wait a minute or two before asking a question. You might have entered in the midst of a conversation.

It is better to be friendly and engage the others, than to act like some righteously-indignant customer, and as if the channel denizens are your own corporate help desk. It is not only more polite to them when you show your people skills, it is also far more likely to get you the help that you need. Too often, people forget that they are dealing with a group of volunteers, not a paid staff of consultants. I do my best to remember this myself, since although I am a source of information on some topics, when it comes to other things, I am just a poor newb like everyone else.

ishmal

#

A beginner's guide to IRC

Posted by: Anonymous [ip: 88.236.182.6] on January 10, 2008 08:26 AM
Best regards.

<a href="http://www.feramon.com">feromon</a> -
<a href="http://www.zets.net">Directory</a> -
<a href="http://www.by1by.com">directory</a> -
<a href="http://www.shopseks.com/feromon.html">feromon</a> -
<a href="http://www.hepzinde.com/feromon.html">feromon</a> -
<a href="http://www.koz-metik.com/toplist-a11.html">Kozmetik</a> -
<a href="http://www.shopseks.com/toplist.html">Shopseks.com</a> -
<a href="http://www.hepzinde.com/toplist.html">Hepzinde.com</a> -
<a href="http://www.hepzinde.com/penis-buyutucu.html">penis büyütücü</a> -
<a href="http://www.hepzinde.com/penis-buyutucu/penis-buyutucu-1.html">penis büyütücü</a> -
<a href="http://www.hepzinde.com/virility-pills.html">virility pills</a> -
<a href="http://www.hepzinde.com/elektronik-sigara.html">elektronik sigara</a> -
<a href="http://www.shopseks.com/virility-pills.html">virility pills</a> -
<a href="http://www.shopseks.com/penis-buyutucu.html">penis büyütücü</a> -
<a href="http://www.koz-metik.com/buyutuculer-c29.html">penis büyütücüler</a> -
<a href="http://www.koz-metik.com/bayan-fantazi-ic-giyim-c36.html">bayan iç giyim</a> -
<a href="http://www.koz-metik.com/virility-pills-p14.html">virility pills</a> -
<a href="http://www.koz-metik.com/elektronik-sigara-c46.html">elektronik sigara</a>
<a href="http://www.koz-metik.com/feromon-c47.html">feromon</a> -
<a href="http://www.shopseks.com/bayan-fantazi-ic-giyim.html">bayan iç giyim</a> -
<a href="http://www.hepzinde.com/bayan-erotik-ic-giyim-1-2-3.html">bayan iç giyim</a>

#

A beginner's guide to IRC

Posted by: Anonymous [ip: 59.93.201.86] on January 14, 2008 11:49 AM
Its a good quality article and this article help me to understand what is irc. Its really a nice job :)

#

This story has been archived. Comments can no longer be posted.


 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya