tag:computers.tutsplus.com,2005:/categories/ircEnvato Tuts+ Computer Skills - IRC2012-10-12T13:00:57Ztag:computers.tutsplus.com,2005:PostPresenter/mac-31673IRC on a Mac: A Primer<p>Long before the days of text messaging, IM services, and other instantaneous communication protocols we’re now familiar with, the Internet was home to the birthplace of it all — IRC. Standing for Internet Relay Chat, this incredible chat protocol was so robust that it’s still in use today. In this article, we’ll discover how IRC works and why you should make use of it.</p>
<p><!--more--></p>
<hr>
<h2>The First Instant Messaging System</h2>
<p>In 1988, a Finnish man by the name of Jarkko Oikarinen invented IRC to replace an aging system of relay chatting that was running on the phoneline-accesed bulletin board systems (BBS) popular before the 1990s. </p>
<p>He wanted a system that was built on the then-fresh “Internet”, and his solution leveraged the TCP, or Transmission Control Protocol, one of the core architectures of the global network we know today.</p>
<blockquote>
<p>IRC helped popularize the notion of the Internet as a platform of communication.</p>
</blockquote>
<p>His achievement is important for two key reasons. Firstly, it helped popularize the notion of the Internet as a platform of communication. Secondly, he laid the groundwork and provided a proof-of-concept for generations of instant messaging protocols, services, and systems that would evolve from it.</p>
<p>Jarkko now works for Google.</p>
<hr>
<h2>The Structure of IRC</h2>
<div class="tutorial_image">
<img data-src="https://cdn.tutsplus.com/mac/authors/legacy/Josh%20Johnson/2012/09/20/ircstructure.jpg" data-original-url="http://tuts-authors.s3.amazonaws.com/mac.tutsplus.com/Josh%20Johnson/2012/09/20/ircstructure.jpg" alt="The IRC Network"><br>The Structure of IRC</div>
<p>Though it has evolved tremendously since its invention, the modern face of IRC is straightforward and the structure has remained fairly consistent throughout its long life. It is, at its heart, a system for creating chat rooms.</p>
<p>The hierarchy works like this: <strong>IRC Networks</strong> &gt; <strong>IRC Servers</strong> &gt; <strong>Channels</strong>. The networks are large clusters of individual servers, and while there are relatively few of them, it’s worth noting that EFnet — the original — is still operational and among the “Big Four” IRC networks (along with QuakeNet, Undernet, and IRCnet).</p>
<p>IRC servers provide the actual environments and processing for chatting, and each one is able to host a number of individual channels. Those channels are where we — as <strong>users</strong> — come into the picture.</p>
<hr>
<h2>Clients: Meet Colloquy</h2>
<p>The first step on the road to IRC mastery is connecting to a server and finding a channel to chat on. This is achieved through client software, and there are a tremendous number of options available for nearly every computing operating system in history.</p>
<p>On the Mac side of things, the primary options are Adium and Colloquy. <a href="http://adium.im">Adium</a> is the omni-chat supertool, so for the purposes of clarity, we’re going to be using Colloquy instead to illustrate everything in this tutorial. Available as a free download <a href="http://colloquy.info/">from their website</a>, Colloquy is a robust IRC-focused client that will make it very simple to understand what’s going on.</p>
<p>Once you download and run Colloquy, you’ll be greeted by its basic interface. Now let’s get chatting!</p>
<div class="tutorial_image">
<img data-src="https://cdn.tutsplus.com/mac/authors/legacy/Marius%20Masalar/2012/09/10/1%20main%20interface.png" data-original-url="http://tuts-authors.s3.amazonaws.com/mac.tutsplus.com/Marius%20Masalar/2012/09/10/1%20main%20interface.png" alt="Colloquy's Main Interface"><br>Colloquy is a clean, simple, and powerful IRC client.</div>
<hr>
<h2>Connecting to a Server</h2>
<p>First things first: we need to find ourselves a server to chat on. From Colloquy’s main window, simply hit the “New” button in the top left to get started.</p>
<p>When you chat on IRC, you assign yourself a <strong>nickname</strong> so that you can be identified on the channel. This can be anything you like, though it’s a good idea to choose something fairly anonymous and avoid generic names that might get confusing in a crowded channel.</p>
<blockquote>
<p>It’s a good idea to choose a fairly anonymous nickname, avoiding generic names that might get confusing in a crowded channel.</p>
</blockquote>
<p>Next, you’re asked to select a server to connect to (ignore the server protocol dropdown since we’re using IRC here). It’s very likely that, in your Internet travels, you’ve come across invitations to join a site’s owners on IRC, and there’s either been a link to a web client, or they will have given a simple server address.</p>
<p>Let’s say we’re huge StarCraft fans. One day, while browsing the StarCraft subreddit on Reddit.com, we notice that they have an IRC channel. The listing directs us to “#starcraft on esper.net”.</p>
<div class="tutorial_image">
<img data-src="https://cdn.tutsplus.com/mac/authors/legacy/Marius%20Masalar/2012/09/10/2%20server%20connect.png" data-original-url="http://tuts-authors.s3.amazonaws.com/mac.tutsplus.com/Marius%20Masalar/2012/09/10/2%20server%20connect.png" alt="Connecting to a Server"><br>Connecting to a server is easy. The Details menu allows you to adjust more complex connection settings.</div>
<p>This address tells us that we should look for a channel called “#starcraft” on the server “esper.net”. To access this channel, we simply look for esper.net in the chat server field, and then hit connect.</p>
<hr>
<h2>Finding the Channel</h2>
<p>With the server connection established, you’ll notice that there doesn’t seem to be an option to connect to a channel. This is because Colloquy uses the term <strong>Rooms</strong> to refer to channels, likely because it’s easier to understand things if you picture IRC channels as chat rooms — which is essentially what they are.</p>
<blockquote><p>It’s easier to understand things if you picture IRC channels as chat rooms — which is essentially what they are.</p></blockquote>
<p>Now that we understand Colloquy’s terminology, we can use the “Join Room” button to find the StarCraft channel. Clicking the button brings up a small window prompting you to enter the channel name. In our case, we know it’s “#starcraft”, but assuming we weren’t sure, we could hit the downward arrow beside the entry field to expand the window and display the full list of open channels on the esper.net server. As you can see, there are many of them.</p>
<p>The one we’re looking for is actually an unlisted channel, meaning it won’t show up publicly in that list, but when you type “#starcraft” into the “Chat Room” field and hit Join, it will bring you into the room.</p>
<hr>
<h2>Chatting and Understanding IRC Users</h2>
<p>Right off the bat, you can begin chatting in a room by entering a message and sending it off — same as any chat system you’ve used before.</p>
<div class="tutorial_image">
<img data-src="https://cdn.tutsplus.com/mac/authors/legacy/Marius%20Masalar/2012/09/10/3%20user%20list.png" data-original-url="http://tuts-authors.s3.amazonaws.com/mac.tutsplus.com/Marius%20Masalar/2012/09/10/3%20user%20list.png" alt="Chatting Interface"><br>The chatting interface shows you the rooms you're connected to and their members on the left, with the topic along the top.</div>
<p>To the left, you can see the list of everyone in the room. Along the top, the channel’s <strong>topic</strong> is displayed. This topic is a fantastic way to direct discussion and can be changed only by the IRC <strong>Channel Operator</strong>. This user is the chat room’s manager, and s/he will have the ability to kick a user off the channel, mute users, ban users, and otherwise change settings pertaining to the channel. The “#starcraft” Operator has decided to make it a private channel, for instance.</p>
<p>You’ll notice that, by default, Colloquy puts a red backdrop on the icon of users designated as Channel Operators. There may be multiple red users, because the Channel Operator powers can be bestowed on users freely by other Operators. Likewise, you might see blue backgrounds on certain users. In a channel where discussion is moderated, only blue colored members may speak freely. There are other colors, but those are the ones you’re most likely to encounter.</p>
<hr>
<h2>Channel Commands</h2>
<p>Unlike a normal chat system, IRC has a few interesting commands that you can make use of to perform actions in the chat room.</p>
<p>There are actually tens of different commands you can perform, but most follow the syntax of having a forward slash, followed by the command itself, and then whatever parameters it requires.</p>
<div class="tutorial_image">
<img data-src="https://cdn.tutsplus.com/mac/authors/legacy/Marius%20Masalar/2012/09/10/4%20chat%20commands.1.png" data-original-url="http://tuts-authors.s3.amazonaws.com/mac.tutsplus.com/Marius%20Masalar/2012/09/10/4%20chat%20commands.1.png" alt="IRC Commands"><br>The /me command is one of the most commonly encountered on IRC.</div>
<p>An easy example is the “/me” command. Typing “/me eats breakfast” will show up in the channel as “[username] eats breakfast”. It’s called an action message and IRC is famous for them.</p>
<p>Another simple command is “/nick”, which allows you to change your nickname to whatever you want — “/nick BreakfastBeast” for example.</p>
<blockquote>
<p>IRC features many different commands for performing unique actions in the chat beyond basic chatting.</p>
</blockquote>
<p>Since IRC also allows private messaging between users, a common and useful command is the “/msg” command. This one must be followed first by the nickname of the member you wish to chat privately with, and then the message itself. In Colloquy, double-clicking on any user’s name in the member list will open a separate private chat with them for more involved discussions.</p>
<hr>
<h2>IRC on the Modern Internet</h2>
<p>Since you now know the basics of IRC and how to use it, you may have come to wonder why you might want to. In fact, it might even be tempting to argue that the only reason IRC still enjoys so much popularity is because it has a strong legacy.</p>
<p>In fact, IRC has not yet been made obsolete by today’s chat technology any more than forums have. Forums and IRC channels have a fair amount in common, in fact, with the difference being that a forum is a slower moving, structured system that leaves a permanent record, whereas an IRC channel is an instantaneous, fast paced discussion environment for a topic.</p>
<p>Modern day IRC use is frequently encountered in the gaming world, where gamers will host gigantic channels for sharing tips, lore, and idle discussion about their favourite titles. Likewise, many software projects, especially open-source ones, make use of IRC’s power to host massive realtime discussions on the ongoing work. This gives project leaders the ability to actively involve their participants in a direct manner, streamlining communication among large teams.</p>
<p>On a practical level, one of IRC’s biggest advantages remains its ubiquity. The fact that client software is available for almost any device, including smartphones, makes it an ideal choice for chatting with a group of people from diverse situations. Likewise, the extensive management options available via commands and the Channel Operator’s moderation powers allow IRC to be flexibly adapted to many possible discussion types, including structured debates.</p>
<hr>
<h2>Go Forth and Chat!</h2>
<p>Hopefully, we’ve managed to demystify IRC for you. Many people are aware of it only as a strange and archaic form of communication; some sort of Internet smoke signal system. But IRC remains as powerful today as it was decades ago, with many dedicated users, vast amounts of help, and an architecture designed to be adaptable.</p>
<p>In future articles, we’ll look a running your own IRC channel, securing it against attacks, and broadening your vocabulary of chat commands. For now, hop into the comments and tell us about your IRC experiences — do you use it? Do you think it’s obsolete? Have some great alternatives to share? We want to hear all about it!</p>
2012-10-12T13:00:57.000Z2012-10-12T13:00:57.000ZMarius Masalar